Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bug: Native build server fails with Docker Hub rate limit (429) when pulling base images #2911

Copy link
Copy link
@isshaddad

Description

@isshaddad
Issue body actions

Provide environment information

n/a

Describe the bug

The native build server pulls base images from Docker Hub without authentication, causing builds to fail with 429 Too Many Requests when Docker Hub's rate limit is exceeded (100 pulls per 6 hours per IP for unauthenticated users).

Expected behavior:
The native build server should authenticate to Docker Hub when pulling base images, or use authenticated pulls to avoid rate limits.

Actual behavior:
Builds fail with:

ERROR: failed to copy: httpReadSeeker: failed open: unexpected status from GET request to https://registry-1.docker.io/v2/library/node/manifests/sha256:...: 429 Too Many Requests
toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit

Reproduction repo

n/a

To reproduce

1- Enable the native build server
2- Trigger multiple deployments until Docker Hub's unauthenticated rate limit is hit

Additional information

  • Workaround: Disable the native build server and use Depot-based builds (default). Depot handles Docker Hub authentication and avoids this issue.
  • Only affects the native build server
  • Occurs on Trigger.dev Cloud infrastructure (customers cannot configure Docker Hub credentials)
  • Docker Hub rate limit: 100 pulls per 6 hours per IP for unauthenticated users
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.