Azure / Azure/static-web-apps

GitHub actions are failing with 429 Too Many Requests

Open
#1,758 3 comments 4 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.