Hi there,
ideally I would like to run Daphne alongside Gunicorn and not Daphne alone:
- My chat with Daphne
- Rest of the website with Gunicorn
A user logs in - request via Gunicorn. Now when he connects with the chat I get an AnonymousUser using self.scope['user']. This is a problem because I would like to assign him to the right ChatRoom.
If I run all requests through Daphne everything works fine.
Also I am using Nginx, don't know if it matters, just gonna leave it here.
How could I fix this? What would be the workaround?
Let me know if you need any code/files.
Best Regards,
Dario