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

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/cb2a7475-69dd-4a09-ba32-ea89950d5fc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to