Closed caronc closed 7 years ago
Are you running inside of Docker?
Oh, wait, I've just seen you are using the inmemory
channel layer - this does not work between processes (and you've also got the wrong repo anyway). Switch to the IPC or Redis layers and you'll be able to talk between processes.
i feel stupid now :blush: ; asgi_ipc is working as expected. Thank you for such a fast reply and pointing out my mistake!
I'm experiencing a very similar problem to this one in my Django Development/Testing environment with the following configuration:
My Problem: A scheduled (Celery) task can not send a web socket request through channels. However, it works great in views and other locations. The symptoms are present both with the immediately=True setting and without it. There is no error or anything; the web socket request is just simply not passed along. However having a signal generated from within a model/view works awesome (so i know my setup is good - or so i think).
I'm launching a celery worker (before starting Django) like so:
Was just curious if there was something i was missing here? My package versions are:
Any help and/or advice would be most welcome!