Skip to content

TaskRunner stuck #8741

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

Open
AlexandrSalin opened this issue Apr 17, 2025 · 1 comment
Open

TaskRunner stuck #8741

AlexandrSalin opened this issue Apr 17, 2025 · 1 comment
Labels
bug Bug in existing code

Comments

@AlexandrSalin
Copy link

AlexandrSalin commented Apr 17, 2025

Hi

I’m currently using version 4.9.0 of OkHttp on Android. The application sends requests to the server every 5 seconds, and initially, everything works fine. However, we’ve noticed that after a couple of hours, OkHttp stops executing requests.

Here’s a screenshot for reference:

Image

From the logs, it seems like the issue might be related to the request queue or the TaskRunner.

I wanted to check if this is a known issue that has already been addressed in a newer version or if there are any recommended workarounds. Could you please help me figure this out?

Thank you in advance for your assistance!

@AlexandrSalin AlexandrSalin added the bug Bug in existing code label Apr 17, 2025
@swankjesse
Copy link
Collaborator

Try the latest, 5.0.0-alpha.14 ? From our changelog,

Although this release is labeled alpha, the only unstable thing in it is our new APIs. This release has many critical bug fixes and is safe to run in production. We're eager to stabilize our new APIs so we can get out of alpha.

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