django-eventstream
django-eventstream copied to clipboard
SSL Issue
When ssl was implemented on our platform, it stopped receiving events.
We've used channels and daphne daphne app4gives.asgi:application
to run our application
Weird. Are you using daphne to handle SSL? Or some proxy in front of daphne?
@jkarneges got this already solved thank you.
But we're currently facing new issue, we can't receive event messages coming from a celery worker
Ah, that's probably because the celery worker is a separate process. In order to send from multiple processes, you'll need to put Pushpin in front. See https://github.com/fanout/django-eventstream#multiple-instances-and-scaling.
Got it, thank you!
I'm actually having this issue on my application backend; locally the SSE events work fine, but when I deploy it with a NGINX proxy server (that handles SSL for me), the client won't connect to the /events/
route anymore (it gives a 404 error). @jkain88 how did you solve this issue? Are you handling SSL via Daphne?