Django Channels error : et connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexpected response code: 404 connect @ websocketbridge.js:118 (index):174 Disconnected from chat socket

30 views
Skip to first unread message

djangorobert

unread,
May 18, 2017, 11:22:07 AM5/18/17
to Django users
not quite sure what im doing wrong with the django channels multichat example 

but seem to be getting this error:  connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexpected response code: 404
connect @ websocketbridge.js:118
(index):174 Disconnected from chat socket



the command i use is daphne -p 26358 myproject.asgi:channel_layer

one question i do have is once i enter this command do i have to do it again in the future what i mean is is this command like a python manage.py runserver command that needs to be done to run everytime or is it a command that is entered once. 
One more thing I am using a webfaction account. 
thanks
IF anyone else has been through this error or problem before please respond your feedback is appreciated. 
Message has been deleted

djangorobert

unread,
May 18, 2017, 2:57:32 PM5/18/17
to Django users

here is what i am seeing in the bash command line after entering the command: daphne -p 27411 myproject.asgi:channel_layer

and in the google tools i see this error: 
Reply all
Reply to author
Forward
0 new messages