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

Quotient::NAM doesn't retry on errors #727

Open
KitsuneRal opened this issue Mar 14, 2024 · 0 comments
Open

Quotient::NAM doesn't retry on errors #727

KitsuneRal opened this issue Mar 14, 2024 · 0 comments
Assignees
Labels
bug/fix The library doesn't work as expected

Comments

@KitsuneRal
Copy link
Member

KitsuneRal commented Mar 14, 2024

CI status for libQuotient is downright useless because of one test sporadically failing, most likely due to 429 Too Many Requests "Internal server error" returned to Quotient::NAM that doesn't know how to handle it (BaseJob-backed requests would retry on it). This failure is not exactly bogus - it basically indicates that requests issued directly to NAM (e.g. those coming from QML directly, rather than via image providers) will sometimes equally fail in real usage.

To fix this, code that handles retries has to be moved from BaseJob and ConnectionData to NAM instead.

@KitsuneRal KitsuneRal added the bug/fix The library doesn't work as expected label Mar 14, 2024
@KitsuneRal KitsuneRal changed the title Quotient::NAM cannot handle 429's Quotient::NAM doesn't retry on errors Mar 15, 2024
@KitsuneRal KitsuneRal self-assigned this Mar 18, 2024
KitsuneRal added a commit that referenced this issue Apr 14, 2024
The commit adds very naive retries to quotest's DownloadRunner, while
the proper fix for #727 is in the works.
KitsuneRal added a commit that referenced this issue Apr 16, 2024
The commit adds very naive retries to quotest's DownloadRunner, while
the proper fix for #727 is in the works.
KitsuneRal added a commit that referenced this issue Apr 16, 2024
The commit adds very naive retries to quotest's DownloadRunner, while
the proper fix for #727 is in the works.
KitsuneRal added a commit that referenced this issue Apr 16, 2024
The commit adds very naive retries to quotest's DownloadRunner, while
the proper fix for #727 is in the works.
@KitsuneRal KitsuneRal moved this to 0.9 - To Do in libQuotient 1 May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/fix The library doesn't work as expected
Projects
Status: 0.9 - To Do
Development

No branches or pull requests

1 participant