Skip to content

I'm receiving Engine.IO connection drop if i'm trying to call an event from connect on server side #760

Discussion options

You must be logged in to vote

In general the connect event handler's function is to decide if the client is accepted or rejected. You can't do complex things in there, because the connection is not fully established when this handler is invoked.

You can try using the always_connect=True option (docs) and that may help, but my recommendation is that you move this call() to a real event instead of in connect.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RolandMiculas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants