django-socketio icon indicating copy to clipboard operation
django-socketio copied to clipboard

django_socketio.broadcast_channel can't find clients

Open bogdan2412 opened this issue 13 years ago • 2 comments

I'm trying to broadcast a message to all clients listening on a channel whenever a new db entry is created for a particular model. I've added a post save hook for the db model, but when trying to broadcast I get a NoSocket exception with the message:

There are no clients on the channel: ...

As far as I can tell this seems to be because the code runs on the normal server, not on the socketio server. Is there any way of dealing with this? The same error shows up when trying to use the system_message functionality in the example project.

bogdan2412 avatar Oct 10 '12 15:10 bogdan2412

Any update on this?

lukasklein avatar Apr 26 '13 01:04 lukasklein

Probably a duplicate of #14

stephenmcd avatar Apr 26 '13 01:04 stephenmcd