When using the Websocket protocol, if the Host address is either invalid or can't be reached
I expect the connect method of the Kuzzle class to throw an Error.
Current Behavior
For now, when the connection has failed, nothing happens and the SDK is blocked indefinitely in whatever controller action there is after the connect, because the request cannot be resolved.
Expected Behavior
When using the Websocket protocol, if the Host address is either invalid or can't be reached I expect the connect method of the Kuzzle class to throw an Error.
Current Behavior
For now, when the connection has failed, nothing happens and the SDK is blocked indefinitely in whatever controller action there is after the connect, because the request cannot be resolved.
Context (Environment)
SDK JVM 1.2.0 Java 8 Tested on Android 11