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

Request cancelled randomly on interceptors #3848

Open
sarthakgandhidunzo opened this issue Feb 6, 2023 · 0 comments
Open

Request cancelled randomly on interceptors #3848

sarthakgandhidunzo opened this issue Feb 6, 2023 · 0 comments

Comments

@sarthakgandhidunzo
Copy link

Non-fatal Exception: java.io.IOException: Canceled at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:208) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:166) at com.chuckerteam.chucker.api.ChuckerInterceptor.intercept(ChuckerInterceptor.java:9) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:166) at com.pharmasentinel.medsii.retrofit.HeaderInterceptor.intercept(HeaderInterceptor.java:37) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:166) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.java:113) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.java:51) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) at java.lang.Thread.run(Thread.java:1012)

Getting this exception randomly without cancelling the request. I am using a suspend functions along with CoroutineCallAdapterFactory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant