-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher #14802
Comments
device error |
same issue here, testing in real device... huawei gx8 android 6 |
Same issue when debugging on real device (Motorola E2). |
i'm having this on the emulator; why is this issue closed ? |
I had the same issue with OkHttp, It's related to the connection being kept alive, as a workaround you could close the connection on each call using Example: |
same issue |
Still facing this issue in 0.52.2. Please reopen it |
FATAL EXCEPTION: OkHttp Dispatcher
Process: com.firstapp, PID: 16371
java.lang.IllegalStateException: closed
at okhttp3.internal.http.Http1xStream$FixedLengthSource.read(Http1xStream.java:374)
at okio.Buffer.writeAll(Buffer.java:993)
at okio.RealBufferedSource.readByteArray(RealBufferedSource.java:106)
at okhttp3.ResponseBody.bytes(ResponseBody.java:128)
at okhttp3.ResponseBody.string(ResponseBody.java:154)
at com.facebook.react.devsupport.DevServerHelper$8.onResponse(DevServerHelper.java:577)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:126)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:848)
When i init a react app throung: react-native init XXX and run it on CHANGHONG T11 device
(Other device run ok)
The text was updated successfully, but these errors were encountered: