java-android-websocket-client
java-android-websocket-client copied to clipboard
Reconnect after time out does not work
I added enableAutomaticReconnection(5000) but after i get this exception (System.err: tech.gusavila92.websocketclient.exceptions.InvalidServerHandshakeException: Invalid status code. Expected 101, received: 503) the web socket does not retry to connect after 5000ms
this client does not try to reconnect if the handshake fails, only after a succesful connection when the internet becomes unstable and the connection is dropped. This is left for a future enhancement