alexrainman / ModernHttpClient

ModernHttpClient
MIT License
126 stars 27 forks source link

Android Network related exceptions on latest devices #54

Closed cybvitthal closed 3 years ago

cybvitthal commented 4 years ago

Many times, We are facing 3 network related issues mostly in Android 9(Samsung galaxy).

  1. NativeMessageHandler+<SendAsync>d__22.MoveNext (), “Socket closed” exception.
  2. android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
  3. isConnected failed: ECONNABORTED (Software caused connection abort)

It was working previously till Android 8.

Can you help on this?

cybDevendra commented 4 years ago

@alexrainman, what will be the quick fix or any workaround for this issue? Thanks in Advance :)

alexrainman commented 4 years ago

I will need to run some tests on Android 9.

Kingamattack commented 4 years ago

I mostly have the NativeMessageHandler+d__22.MoveNext (), “Socket closed” exception. And yes it's very difficult to track as it's totally random...

As @cybDevendra said, it happens mostly on Android 9

alexrainman commented 4 years ago

Including support for Http2 in the next release. That may fix this issue.

alexrainman commented 4 years ago

Is this issue resolved?