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

Android 11 also has socket timeouts #6541

Closed
zomanubhav87 opened this issue Feb 3, 2021 · 1 comment
Closed

Android 11 also has socket timeouts #6541

zomanubhav87 opened this issue Feb 3, 2021 · 1 comment
Labels
bug Bug in existing code

Comments

@zomanubhav87
Copy link

zomanubhav87 commented Feb 3, 2021

okhttpversion - 3.14.9

Reffering the almost same issue.
But this issue still hasn't been resolved and it is also occurring on android 11.

Non-fatal Exception: java.net.SocketTimeoutException
timeout
okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException (Http2Stream.java:678)
okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut (Http2Stream.java:686)
okhttp3.internal.http2.Http2Stream.takeHeaders (Http2Stream.java:154)
okhttp3.internal.http2.Http2ExchangeCodec.readResponseHeaders (Http2ExchangeCodec.java:136)
okhttp3.internal.connection.Exchange.readResponseHeaders (Exchange.java:115)
okhttp3.internal.http.CallServerInterceptor.intercept (CallServerInterceptor.java:94)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:142)
okhttp3.internal.connection.ConnectInterceptor.intercept (ConnectInterceptor.java:43)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:142)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:117)
okhttp3.internal.cache.CacheInterceptor.intercept (CacheInterceptor.java:94)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:142)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:117)
okhttp3.internal.http.BridgeInterceptor.intercept (BridgeInterceptor.java:93)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:142)
okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept (RetryAndFollowUpInterceptor.java:88)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:142)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:117)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:142)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:117)
okhttp3.RealCall.getResponseWithInterceptorChain (RealCall.java:229)
okhttp3.RealCall.execute (RealCall.java:81)
com.google.firebase.perf.network.FirebasePerfOkHttpClient.execute (FirebasePerfOkHttpClient.java:5)
retrofit2.OkHttpCall.execute (OkHttpCall.java:190)
retrofit2.DefaultCallAdapterFactory$ExecutorCallbackCall.execute (DefaultCallAdapterFactory.java:98)
android.os.Handler.handleCallback (Handler.java:883)

Screenshot 2021-02-04 at 1 43 18 AM

This is happening when we are making a network call from background when app is opened by work manager.

@zomanubhav87 zomanubhav87 added the bug Bug in existing code label Feb 3, 2021
@swankjesse
Copy link
Collaborator

Duplicate of #3974

@swankjesse swankjesse marked this as a duplicate of #3974 Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug in existing code
Projects
None yet
Development

No branches or pull requests

2 participants