Deploying Django app with Channels on a Shared Linux Hosting

45 views
Skip to first unread message

Manjunath

unread,
Oct 3, 2018, 9:43:51 PM10/3/18
to Django users
Hi all,
I have developed a simple django application using channels & deployed it in a shared linux hosting service(mochahost.com - Webhosting: mocha package).
It serves django app with help of Passenger.

The wsgi is working without any issue but the ASGI layer seems to be non responsive.
When trying to connect, I am getting the following error message: Error during WebSocket handshake: Unexpected response code: 404

I don't know how to resolve this.
Is there any extra setup steps I need to follow or any other settings I need to do?
Any help would be very much appreciated.

Package versions used:
Python: 3.6.6
Django: 2.1.1
Channels: 2.1.3
Channels_redis: 2.3.0

Thanks & Regards,
Manjunath

Fatemeh Ahmadzadeh

unread,
Jul 15, 2019, 8:52:36 AM7/15/19
to Django users
Hi friend,
Are you slove this problem?
I have the same problem.
Thanks

DANIEL URBANO DE LA RUA

unread,
Jul 15, 2019, 9:11:02 AM7/15/19
to Django users
Yo have to use daphne to deploy asgi application is all not uwsgi
Reply all
Reply to author
Forward
0 new messages