You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using wasync 2.3.1 in my current Project and everything worked fine till I tried my app on an API-Level < 25.
My app crashes when creating the socket from the client because of an java.lang.VerifyError for JDKAsyncHttpProvider.
I also tried many other Client implementations, but always with the same result.
I get following stacktrace:
java.lang.VerifyError: com/ning/http/client/providers/jdk/JDKAsyncHttpProvider at com.ning.http.client.AsyncHttpClient.loadDefaultProvider(AsyncHttpClient.java:591) at com.ning.http.client.AsyncHttpClient.<init>(AsyncHttpClient.java:187) at org.atmosphere.wasync.impl.ClientUtil.createDefaultAsyncHttpClient(ClientUtil.java:51) at org.atmosphere.wasync.impl.ClientUtil.createDefaultAsyncHttpClient(ClientUtil.java:38) at org.atmosphere.wasync.impl.ClientUtil.create(ClientUtil.java:76) at org.atmosphere.wasync.impl.AtmosphereClient.create(AtmosphereClient.java:41) at ...
After unsuccessfully reading several threads and wasting much time, I just downgraded wasync to 2.1.2 and the error was gone but other issues occured.
Furthermore I tried the official android-chat with the same result.
I also unsuccessfully tested this with other AHC Provider (Grizzly, Netty).
Here is a table with all the results for each wAsync Version and Android API Level I have tried:
wAsync Version
Android API Level
Result
2.1.3
25
yes
2.1.3
23
No virtual methos setEndpointIdentificationAlgorithm(Ljava/lang/String;) in class Ljavax/net/ssl/SSLParameters; ...
The text was updated successfully, but these errors were encountered:
phillippbertram
changed the title
java.lang.VerifyError for Android API Level < 21 with wasync Version 2.1.3
wasync not working for Android API Level < 25
Jan 13, 2017
We just used Version 1.4.3 because it was the most stable one for our API Level range.
We could handle the java.io.IOException: Remotely Closed Exception, because it was just thrown because of an self signed certificate on server side.
Hi there!
I am using wasync 2.3.1 in my current Project and everything worked fine till I tried my app on an API-Level < 25.
My app crashes when creating the socket from the client because of an
java.lang.VerifyError
forJDKAsyncHttpProvider
.Example Code:
I also tried many other
Client
implementations, but always with the same result.I get following stacktrace:
After unsuccessfully reading several threads and wasting much time, I just downgraded wasync to 2.1.2 and the error was gone but other issues occured.
Furthermore I tried the official android-chat with the same result.
I also unsuccessfully tested this with other AHC Provider (Grizzly, Netty).
Here is a table with all the results for each wAsync Version and Android API Level I have tried:
The text was updated successfully, but these errors were encountered: