I managed to get it working, turns out I forgot to install and configure 
Redis. I now have a working web app with channels.

On Saturday, November 17, 2018 at 5:29:30 PM UTC-8, Robert Fox wrote:
>
> Thank you Andrew, I have now configured Nginx to route /ws/ to port 9000 
> where Daphne is configured. This has fixed my 404 handshake error and now I 
> have a handshake error 500. Any thoughts?
>
> On Friday, November 16, 2018 at 10:35:07 PM UTC-8, Andrew Godwin wrote:
>>
>> You cannot use gunicorn to run WebSockets or other async code - you need 
>> an ASGI server, like Daphne or uvicorn. Switch to one of those and it 
>> should start working.
>>
>> Andrew
>>
>>>
>>>

-- 
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/d76dce1e-601e-4713-b028-2c1d0e832a4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to