pusher / pusher-websocket-java

Pusher Channels client library for Java targeting general Java and Android
Other
309 stars 143 forks source link

NoSuchMethodError Pusher 2.2.4 with Android 6 #283

Closed Jeff11 closed 4 years ago

Jeff11 commented 4 years ago

What is the issue?

Version 2.2.4 produces lots of crashes with SSL on Android 6.0-6.0.1

Is it a crash report? Submit stack traces or anything that you think would help

Fatal Exception: java.lang.NoSuchMethodError: No virtual method setEndpointIdentificationAlgorithm(Ljava/lang/String;)V in class Ljavax/net/ssl/SSLParameters; or its super classes (declaration of 'javax.net.ssl.SSLParameters' appears in /system/framework/core-libart.jar)
       at org.java_websocket.client.WebSocketClient.onSetSSLParameters(WebSocketClient.java:528)
       at org.java_websocket.client.WebSocketClient.run(WebSocketClient.java:475)
       at java.lang.Thread.run(Thread.java:818)
Jeff11 commented 4 years ago

Android 5.1 is also affected. Same stack trace.

daniellevass commented 4 years ago

Hi,

Thanks for reporting.

I've determined what the cause of the issue is and am working on a fix asap.

Will keep this issue updated with progress.

Thank you,

Danielle.