Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django_socketio.broadcast_channel can't find clients #37

Open
bogdan2412 opened this issue Oct 10, 2012 · 2 comments
Open

django_socketio.broadcast_channel can't find clients #37

bogdan2412 opened this issue Oct 10, 2012 · 2 comments

Comments

@bogdan2412
Copy link

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.

@lukasklein
Copy link

Any update on this?

@stephenmcd
Copy link
Owner

Probably a duplicate of #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants