Konstantin Baidin

Results 3 comments of Konstantin Baidin

Do you run project in development mode? You should use separate uWSGI instance and gevent to handle many clients. http://django-websocket-redis.readthedocs.io/en/latest/running.html#django-with-websockets-for-redis-behind-nginx-using-uwsgi

Is your user logged in? Try session notification http://django-websocket-redis.readthedocs.io/en/latest/usage.html#subscribe-to-session-notification - does it work?

Try to debug authorization during socket connection. Place breakpoint to https://github.com/jrief/django-websocket-redis/blob/abcddaad2f579d71dbf375e5e34bc35eef795a81/ws4redis/wsgi_server.py#L63 and refresh page. Is `request.user` successfully assigned here?