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

No loading app events silenced #60

Open
zodman opened this issue Dec 1, 2013 · 1 comment
Open

No loading app events silenced #60

zodman opened this issue Dec 1, 2013 · 1 comment

Comments

@zodman
Copy link

zodman commented Dec 1, 2013

"Errors should never pass silently"

https://github.com/stephenmcd/django-socketio/blob/master/django_socketio/urls.py#L11

Plz put after

SocketIOServer running on 0.0.0.0:8080
Events loaded from apps: ,

Because i seen the socket recived but no the response, I pass a day searching why not send the data.

And i seen the reason of the import error was silenced.

@valeriansaliou
Copy link

Hey, I am running into the same issue.

Basically, the "no response" reason is because the views.py always return HttpResponse(""), even if the except code block is executed, which was my case.

Try to comment this except thing, and you'll then get a request.environ['socketio'] key missing. Now I need to figure out how to inject this missing key, though I have absolutely no idea how to do so, considering the complexity of the gevent-socketio handler stack.

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

2 participants