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 <[email protected]> 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 [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/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 [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/CAFwN1uoQ72yj5JPfPKW2YUSY_Qf6fPM7vz-%2BEp-7J%3D2TCnvEUg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to