Skip to content

GitHub actions are failing with 429 Too Many Requests #1758

@kbarnes3

Description

@kbarnes3

Describe the bug
Azure Static Web app pipelines are failing with a rate limiting error when the Azure/static-web-apps-deploy image internally tries to pull mcr.microsoft.com/appsvc/staticappsclient:stable.

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Trigger a build from a GitHub repo that uses Static Web Apps.
  2. Example run: https://github.com/kbarnes3/base-angular-app/actions/runs/27579135390/job/81538013548
  #2 [internal] load metadata for mcr.microsoft.com/appsvc/staticappsclient:stable
  #2 ERROR: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://mcrprod.azurecr.io/oauth2/token?scope=repository%3Aappsvc%2Fstaticappsclient%3Apull&service=mcrprod.azurecr.io: 429 Too Many Requests
  ------
   > [internal] load metadata for mcr.microsoft.com/appsvc/staticappsclient:stable:
  ------
  Dockerfile:1
  --------------------
     1 | >>> FROM mcr.microsoft.com/appsvc/staticappsclient:stable
     2 |     COPY entrypoint.sh /entrypoint.sh
     3 |     ENTRYPOINT ["sh", "/entrypoint.sh"]
  --------------------
  ERROR: failed to build: failed to solve: mcr.microsoft.com/appsvc/staticappsclient:stable: failed to resolve source metadata for mcr.microsoft.com/appsvc/staticappsclient:stable: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://mcrprod.azurecr.io/oauth2/token?scope=repository%3Aappsvc%2Fstaticappsclient%3Apull&service=mcrprod.azurecr.io: 429 Too Many Requests

Expected behavior
Actions run and publish a web app if there are no errors

Screenshots
N/A

Device info (if applicable):
N/A

Additional context
The same repo was producing new versions of the static web app yesterday evening

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