Describe the bug
Hi! I’ve noticed that Bazarr is currently using several URLs pointing to https://raw.githubusercontent.com to fetch resources, for example:
Recently, GitHub updated their rate limits for unauthenticated requests to raw.githubusercontent.com (see announcement), and now I’m frequently hitting HTTP 429 errors (Too Many Requests) due to exceeding the anonymous request limit (which I believe is enforced per public IP).
In some other projects, I’ve worked around this by using jsDelivr as a CDN for GitHub files (e.g., https://cdn.jsdelivr.net/gh/morpheus65535/bazarr-binaries@master/announcements.json). However, I realize this might not be ideal for Bazarr, since these URLs often point to the latest branch and jsDelivr’s cache might not update immediately.
Maybe, possible solutions could be:
- Allowing users to configure a GitHub token for authenticated requests, which would raise the rate limit.
- Using an intermediate proxy or mirror that fetches and caches these files more frequently (e.g., every hour), to avoid hitting the GitHub anonymous rate limit (for example, hosted on https://www.bazarr.media/).
To Reproduce
Steps to reproduce the behavior:
- Go to 'Settings' -> 'Providers'
- Scroll down to 'Integrations'
- Enable/Add
AniDB integration
Expected behavior
Avoid rate-limit to GitHub.
Screenshots
Software (please complete the following information):
- Bazarr: v1.5.3
- Radarr version v5.28.0.10274
- Sonarr version v4.0.15.2941
- OS: Docker (host: Ubuntu Server)
Additional context
I suspect I’m hitting the rate limit more often because I have several tools that access GitHub in the same way.
Describe the bug
Hi! I’ve noticed that Bazarr is currently using several URLs pointing to
https://raw.githubusercontent.comto fetch resources, for example:Recently, GitHub updated their rate limits for unauthenticated requests to raw.githubusercontent.com (see announcement), and now I’m frequently hitting HTTP 429 errors (Too Many Requests) due to exceeding the anonymous request limit (which I believe is enforced per public IP).
In some other projects, I’ve worked around this by using jsDelivr as a CDN for GitHub files (e.g.,
https://cdn.jsdelivr.net/gh/morpheus65535/bazarr-binaries@master/announcements.json). However, I realize this might not be ideal for Bazarr, since these URLs often point to the latest branch and jsDelivr’s cache might not update immediately.Maybe, possible solutions could be:
To Reproduce
Steps to reproduce the behavior:
AniDBintegrationExpected behavior
Avoid rate-limit to GitHub.
Screenshots
Software (please complete the following information):
Additional context
I suspect I’m hitting the rate limit more often because I have several tools that access GitHub in the same way.