Django Channles: Websocket connection failed

I am using Daphne + Gunicorn + Nginx for my django deployment. Following this tut., Everything worked fine on Localhost but once I publish to Ubuntu server, Connection to websocket failed.


How can i log errors/warning/issues causing websocket connection failure. It will be easy to debug application or server.

Package and versions:

django==3.2.4, channels==3.0.5, channels-redis==3.4.1, daphne==3.0.2

Back to Top