Skip to content

Client reconnects but fails to register with a namespace #1475

Answered by miguelgrinberg
a-gertner asked this question in Q&A
Discussion options

You must be logged in to vote

Right, and what I'm saying is that if the server gets blocked long enough that clients start to drop then all bets are off pretty much. This isn't a condition that is expected to happen during normal use.

I can't say for sure that there is no bug in the reconnection logic, maybe there is. But if the only way for this bug to appear is to block the server for more than 25 seconds (using default timeouts) then really the problem is the blocking of the server, which should never be allowed to happen. The whole point of using an asynchronous server is that everything is non-blocking.

I would recommend that you address the blocking problem in your server first. Then if the reconnection issues p…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@miguelgrinberg
Comment options

Comment options

You must be logged in to vote
1 reply
@miguelgrinberg
Comment options

Comment options

You must be logged in to vote
1 reply
@miguelgrinberg
Comment options

Answer selected by a-gertner
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