Closed trashCoder555 closed 7 years ago
Please use the template provided for any bug report. It is there for a reason to help me understand the problems.
All I'm doing is trying to connect wss. And first callback is called is onClose.
{GET / HTTP/1.1 Connection: Upgrade Host: socket.etherdelta.com:443 Sec-WebSocket-Key: WePxYcl8ybLXIBKYzBtd/A== Sec-WebSocket-Version: 13 Upgrade: websocket } Disconnected, reason = Invalid status code received: 520, exit code = 1002
If i'm trying to connect "ws://socket.etherdelta.com" instead of "wss://socket.etherdelta.com"
I got this:
javax.net.ssl.SSLHandshakeException: Handshake failed Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xdfd0f200: Failure in SSL library, usually a protocol error error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (external/openssl/ssl/s23_clnt.c:790 0xeb4580b4:0x00000000)
api was broken... with another link it works fine
Hello everyone. Im using android studio and trying to connect socket. After mWebSocketClient.connectBlocking(); i got "Invalid status code received: 520"
using ver. 1.3.5 (Tested with many others - same, not working)
My code: private void connectWebSocket() { URI uri; try { uri = new URI("wss://socket.etherdelta.com"); // uri = new URI("ws://echo.websocket.org"); } catch (URISyntaxException e) { e.printStackTrace(); return; }