io.socket.SocketIOException: Error while handshaking


Solutions on the web

Solution icon of github
Error while handshaking

Solution icon of github
via GitHub by fangzehua
, 11 months ago
Error while handshaking

Solution icon of github
via GitHub by jjsainzc
, 1 year ago
Error while handshaking

Solution icon of github
via GitHub by fatshotty
, 1 year ago
Error while handshaking

Solution icon of github
Error while handshaking

Solution icon of github
via GitHub by frenchfries1990
, 3 months ago
Error while handshaking

Solution icon of github
Error while handshaking

Solution icon of github
Error while handshaking

Solution icon of github
Error while handshaking

Solution icon of github
via GitHub by ghost
, 1 year ago
Error while handshaking

Stack trace

io.socket.SocketIOException: Error while handshaking
	at io.socket.IOConnection.handshake(IOConnection.java:322)
	at io.socket.IOConnection.access$600(IOConnection.java:39)
	at io.socket.IOConnection$ConnectThread.run(IOConnection.java:199)
Caused by: java.net.SocketTimeoutException
	at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)
	at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:37)
	at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:237)
	at com.android.okio.Okio$2.read(Okio.java:113)
	at com.android.okio.RealBufferedSource.indexOf(RealBufferedSource.java:147)
	at com.android.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:94)
	at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:179)
	at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:101)
	at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:628)
	at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:388)
	at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:332)
	at com.android.okhttp.internal.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:199)
	at io.socket.IOConnection.handshake(IOConnection.java:313)
	... 2 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 1 year ago
2 times, 3 months ago
3 times, 1 year ago
4 times, 1 year ago
14 times, 1 year ago
23 more bugmates