Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassCastException for UnixSocketAddress #184

Closed
saeedmozaffari opened this issue Jun 11, 2019 · 1 comment
Closed

ClassCastException for UnixSocketAddress #184

saeedmozaffari opened this issue Jun 11, 2019 · 1 comment

Comments

@saeedmozaffari
Copy link

saeedmozaffari commented Jun 11, 2019

Hi,
unfortunately this error happened multiple time in my app.
about 10 thousand times for 5 thousand users.
and 99% of these errors happen for android version 8 and 96% are for samsung users.

Fatal Exception: java.lang.ClassCastExceptionandroid.system.UnixSocketAddress cannot be cast to java.net.InetSocketAddress Raw Text
--
  | libcore.io.IoBridge.getLocalInetSocketAddress (IoBridge.java:700)
  | com.android.org.conscrypt.OpenSSLSocketImpl.connect (OpenSSLSocketImpl.java:265)
  | com.neovisionaries.ws.client.SocketConnector.doConnect (SocketConnector.java:94)
  | com.neovisionaries.ws.client.SocketConnector.connect (SocketConnector.java:72)
  | com.neovisionaries.ws.client.WebSocket.connect (WebSocket.java:1938)
  | net.iGap.WebSocketClient$2.run (WebSocketClient.java:148)
  | java.lang.Thread.run (Thread.java:764)

Screen Shot 2019-06-12 at 12 21 01 PM

@saeedmozaffari
Copy link
Author

seems to fixed this issue with update OKHttp lib from 3.9.0 to 3.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant