-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subscribe to User Notification does not work #267
Comments
Is your user logged in? |
Yes, the user is logged in. |
Try to debug authorization during socket connection.
request.user successfully assigned here?
|
No, the request.user is a AnonymousUser and I'm logged in... If I get the sessionid from the views.py's request and I put it in the var session_key of the line 65 of wsgi-server.py works perfectly, so... the problem is that the sessionid tokens are differents... how can I solve that? I reset the cookies and cache and now the cookie is always null in the wsgi_server.py because a error. The trace is: Traceback (most recent call last): |
Simply http://django-websocket-redis.readthedocs.io/en/latest/usage.html does not work. Copied and paste from the docs and only works the broadcast message.
https://stackoverflow.com/questions/50862982/django-websockets-with-redis
The text was updated successfully, but these errors were encountered: