django-socketio
django-socketio copied to clipboard
No loading app events silenced
"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.
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.