-
Notifications
You must be signed in to change notification settings - Fork 258
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
"Lost connection to server" on every little connection error/timeout #738
Comments
Websockets are indeed more susceptible to connection problems. Technically it should be possible to restore the connection, but I fear that would involve substantial changes to the Flexx internals, because the session is very much tied to the websocket connection right now ... |
No problem, was just wondering if there was a simple workaround. |
Hey @almarklein , |
I'm not sure, but it could be worth a try ... |
Hey @almarklein I tried a bit of fiddling around, but now I'm getting the error Thanks |
That error originates here: Lines 601 to 612 in 7461524
An incoming connection asks the manager to find the corresponding session. In this case it fails, because it looks in the pending sessions, and it's not there. The session lifetime has a few stages: Line 70 in 7461524
I think we'd need to add another stage, maybe I hope this helps ... |
Hi @almarklein
I have an application that is running on a server that is accessed through a VPN, which works great.
But every little hiccup for even a split second in the connection gives the "
Lost connection to server
" error.Is there a way to mitigate this, maybe with inserting a retry somewhere?
Thanks
The text was updated successfully, but these errors were encountered: