Skip to content

fix(zh.bakamh,zh.mycomic): retry requests on Cloudflare challenge - #822

Closed
dyphire wants to merge 1 commit into
Aidoku-Community:mainfrom
dyphire:baka
Closed

dyphire wants to merge 1 commit into
Aidoku-Community:mainfrom
dyphire:baka

Conversation

@dyphire

@dyphire dyphire commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Reader, search and listing requests now retry up to 4 times with a 3 s pause when the app hands back a Cloudflare challenge page instead of failing immediately. Manga updates error without retrying, and network errors are not retried.

Refer #775, Aidoku/Aidoku#1107

Reader, search and listing requests now retry up to 4 times with a
3 s pause when the app hands back a Cloudflare challenge page instead
of failing immediately. Manga updates error without retrying, and
network errors are not retried.

@kkantan kkantan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this fix is a little odd for sources to implement. isn't this an app bug? If a user cancels a cloudflare challege, the source will continue to re-request and show popups multiple times, which seems to be undesirable behavior.

separately, I think we should avoid print statements in production sources. returning an error is sufficient since it is logged.

@dyphire dyphire closed this Oct 19, 2026
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

Successfully merging this pull request may close these issues.

2 participants