-
Notifications
You must be signed in to change notification settings - Fork 289
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
Unable to reconnect #207
Comments
I faced the same task recently. AFAIK, ws4py does not provide a reconnect functionality. You have to implement it on your own by subclassing. However, simply calling |
Is this related at all to issue #150 where an abrupt disconnection will crash the server? |
AFAICS, your issue relates to problems on the server side. This issue, though, deals with a reconnection logic on the client side. |
Duplicate of #150 |
I run a chat service with CherryPy and ws4py. The client runs in a webbrowser and is very similar to the chat example from ws4py. When the client notices that the connection has been disconnected (this can happen easily, for example, due to an unstable Wifi connection), I try to re-establish the connection to the server. This somehow doesn't work. Am I trying to do something that is unsupported, or should it indeed be possible to reconnect a closed-down websocket? In the first case, I must find an alternative to ws4py, in the second case, I can prepare a minimal code example which demonstrates the behaviour.
The text was updated successfully, but these errors were encountered: