Sorry sounds like you will need to configure somting in your webfaction
controll panel.

Here is another person with same issue, they said it fixed it for them.
https://github.com/django/channels/issues/445

On Tue, May 16, 2017 at 5:46 PM, djangorobert <[email protected]>
wrote:

> hi Dylan Im usingWebfaction Im kind of new to django channels
> my website is www.openchat.us
>
> do you mean redisserver ?
>
> or are you refering to the commands python mange.py runserver or
> runworkder? because with those commancds im kind of confused when ussing
> webfaction
> im using putty to enter the commands to my webfaction account
>
> On Tuesday, May 16, 2017 at 5:49:04 PM UTC-5, Dylan Reinhold wrote:
>>
>> How are you running the web server?
>> Looks like your web socket traffic is not being set to daphene. Probably
>> hitting the regular django listener and its returning a 404.
>>
>> Dylan
>>
>> On Tue, May 16, 2017 at 3:39 PM, djangorobert <[email protected]>
>> wrote:
>>
>>> working on the Django channels example : multi chat on Github
>>> but am getting this error
>>>
>>>
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> 2(index):173 Disconnected from chat socket
>>> 2websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> (index):1 WebSocket connection to 'ws://www.openchat.us/chat/stream/'
>>> failed: WebSocket is closed before the connection is established.
>>> 2(index):173 Disconnected from chat socket
>>> (index):1 WebSocket connection to 'ws://www.openchat.us/chat/stream/'
>>> failed: WebSocket is closed before the connection is established.
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> 2(index):173 Disconnected from chat socket
>>> 2websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> (index):1 WebSocket connection to 'ws://www.openchat.us/chat/stream/'
>>> failed: WebSocket is closed before the connection is established.
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>> websocketbridge.js:118 WebSocket connection to 'ws://
>>> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake:
>>> Unexpected response code: 404
>>> connect @ websocketbridge.js:118
>>> (index):173 Disconnected from chat socket
>>>
>>>
>>> not sure if anyone has used this example in a production enviorment?
>>> website: www.openchat.us
>>> in google browser when you click on tools it will provide this error
>>> thanks
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/django-users/11602fb3-87fc-452c-adbe-b151519e3acc%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/11602fb3-87fc-452c-adbe-b151519e3acc%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/f34f210a-a2a9-4354-bd41-8dac8f7380b2%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/f34f210a-a2a9-4354-bd41-8dac8f7380b2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHtg44BkYN3F%3Dnk0guYs_WCjpQwhitoFiH%3Dz6YSz5BkcRv0ngQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to