yes I have installed channels and it is in django installed apps. Another 
thing I see is that in the logs it says connecting localhost..... HTTP/1.1 
with code 200 so it is not making a websocket at all?

неделя, 5 февруари 2017 г., 2:11:46 UTC+2, Andrew Godwin написа:
>
> If you ever see "Unexpected response code: 200" it means that something 
> between you and the server doesn't understand WebSockets. Given it's 
> localhost in this case, have you installed channels and make sure it's in 
> INSTALLED_APPS, then run `runserver`?
>
> Andrew
>
> On Sat, Feb 4, 2017 at 3:20 AM, Nikoleta Misheva <nith...@gmail.com 
> <javascript:>> wrote:
>
>> When I use django-channels with reconnecting websocket 
>> <https://github.com/joewalnes/reconnecting-websocket> without redis 
>> backend and try to connect to ws://localhost:8000/play it returns 
>> Error during WebSocket handshake: Unexpected response code: 200
>> But when I use the redis backend and even tho the workers are running and 
>> etc I can't connect to my site it just loads forever and doesn't even end 
>> up in connection timeout.
>> I would be glad if someone can help me. Here 
>> <https://gist.github.com/Nitheism/f1434ce35089cee37ebb658cbec6a09b> is 
>> the gist with my code because the files are too many and it would be hard 
>> to put them in here, sorry for the inconvenience.
>>
>> -- 
>> 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 django-users...@googlegroups.com <javascript:>.
>> To post to this group, send email to django...@googlegroups.com 
>> <javascript:>.
>> 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/454151ae-1631-45df-881c-0dfdaf8f180f%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/454151ae-1631-45df-881c-0dfdaf8f180f%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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/b31f273f-8e2a-41f2-b476-c88b8c410803%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to