tachiyomi icon indicating copy to clipboard operation
tachiyomi copied to clipboard

Cloudflare interceptor hangs all other network connections while its running

Open Saud-97 opened this issue 1 year ago • 0 comments

Steps to reproduce

I have noticed for a while facing cf errors the download speed of sources that are not affected by cf also get slowed down hard.

Whenever a connection happens and has a cloudflare issue, it will hang ALL other connections/downloads/searches until it finishes.

https://user-images.githubusercontent.com/39028181/179438937-02908996-ab7e-4077-ac71-c018f694b3ba.mp4

  • Notice how the download from first source only progress 1 page at a time between cf connection failures. Where they should be completely independent since they are completely different sources.

Expected behavior

The cf connection shouldn't block other connections from happening.

At least if there was a need for blocking then block connections headed to the same source that has these issues instead of affecting other sources.

Actual behavior

Cf connection hangs all other connections as seen in the video.

Crash logs

No response

Tachiyomi version

Tachiyomi Preview r4631

Android version

Android 9

Device

Emulator

Other details

No response

Acknowledgements

  • [X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • [X] I have written a short but informative title.
  • [X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
  • [X] I have tried the troubleshooting guide.
  • [X] I have updated the app to version 0.13.5.
  • [X] I have updated all installed extensions.
  • [X] I will fill out all of the requested information in this form.

Saud-97 avatar Jul 18 '22 03:07 Saud-97