nv-websocket-client
nv-websocket-client copied to clipboard
Failed to connect to '<address>': null
Library version: 2.9 OS: Android 7.1.2
Sometimes, I've got the following error when try to connect:
Failed to connect to '<address>': null
I have no idea what's going on. Here is my code:
webSocket = WebSocketFactory()
.setConnectionTimeout(5000)
.createSocket(uri)
.addListener(WebSocketCallbacks())
.connect()
Maybe, it would be nice to write more information if there is null
in the exception message (SocketConnector:124
).
Facing the same issue