Skip to content

Domain raw.githubusercontent.com rate limits for unauthenticated requests (error: 429) #3057

Description

@adrianmusante

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:

  1. Go to 'Settings' -> 'Providers'
  2. Scroll down to 'Integrations'
  3. Enable/Add AniDB integration

Expected behavior
Avoid rate-limit to GitHub.

Screenshots

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions