That's not the problem - if an incoming connection is a WebSocket it does not run through the URL resolver (as you are seeing there) but instead gets upgraded on the wire and dispatched differently.
A quick read up makes it seem like the Apache proxy module does not understand WebSocket (it's a binary protocol upgraded from HTTP mid-stream, so it requires some intelligence on the part of the proxy server), and so it's ending up as normal HTTP. I've not used Apache in many years so I'm afraid I don't know how to solve this easily - it looks like there might be a mod_proxy_wstunnel you can use, though. Andrew On Fri, Nov 11, 2016 at 7:45 AM, Adam Teale <adamte...@gmail.com> wrote: > I came across a post that suggested running Daphne like this: > > daphne multichat.asgi:channel_layer --port 8000 -v 2 > > > The updated error: > > > 2016-11-11 15:43:14,453 DEBUG HTTP GET request for > http.response!KwJtQDgmoifR > > 2016-11-11 15:43:14,478 DEBUG HTTP 404 response started for > http.response!KwJtQDgmoifR > > 2016-11-11 15:43:14,478 DEBUG HTTP close for http.response!KwJtQDgmoifR > > 2016-11-11 15:43:14,478 DEBUG HTTP response complete for > http.response!KwJtQDgmoifR > > 127.0.0.1:51749 - - [11/Nov/2016:15:43:14] "GET /chat/stream/" 404 2279 > > > It seems the error is coming from not being able to locate the route/path > "/chat/stream/" > > > -- > 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/527cb11e-d6f3-4c94-81ea-89d6038eb64c%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/527cb11e-d6f3-4c94-81ea-89d6038eb64c%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/CAFwN1uphVtUbw-2Q_CGVpuu%3Dvdj-mzmX9HixVZ92---XkBx%2BvA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.