acr icon indicating copy to clipboard operation
acr copied to clipboard

UNAUTHORIZED error mid upload to ACR

Open alex8bitw opened this issue 5 months ago • 3 comments
trafficstars

Describe the bug We authorize to an ACR successfully, then sometimes, completely randomly we'll get an UNAUTHORIZED error breaking the upload. {"errors":[{"code":"UNAUTHORIZED","message":"authentication required, visit https://aka.ms/acr/authorization for more information.","detail":[{"Type":"repository","Name":"billing","Action":"pull"}]}]} To Reproduce Initiate workflow to deploy to ACR.

Expected behavior No errors. We authorized successfully using az acr login within the Github workflow.

Additional context Example of error: https://github.com/bitwarden/server/actions/runs/15405353099/job/43346960469 Sample of error: https://bitwardenprod.azurecr.io/v2/billing/blobs/uploads/ee33af14-3db6-4eea-8427-072bcf0ecb81?_nouploadcache=false&_state=o50d5VdLNn7XXcsNYEFDgUwlCCKRQxqwnW213pOgSoJ7Ik5hbWUiOiJiaWxsaW5nIiwiVVVJRCI6ImVlMzNhZjE0LTNkYjYtNGVlYS04NDI3LTA3MmJjZjBlY2I4MSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNS0wNi0wM1QwMDoxNzo0OS41NjY1NzUyNjRaIn0%3D&digest=sha256%3Af6122094e3744e1eafcce8d4b5857d6856e801fcc7e276dc3e9ad2f66a680023:

Image

If any information is a concern to post here, you can create a support ticket or send an email to [email protected].

alex8bitw avatar Jun 03 '25 03:06 alex8bitw

This may be related to https://github.com/Azure/acr/issues/103 Cc @sivagms

alex8bitw avatar Jun 03 '25 03:06 alex8bitw

The sample error you've provided shows 400 Bad Request error instead of 401 UNAUTHORIZED.

shizhMSFT avatar Jun 18 '25 09:06 shizhMSFT

Please open an support ticket so that we can provide you more server-side information.

shizhMSFT avatar Jun 18 '25 09:06 shizhMSFT

Hi @alex8bitw, has this been resolved yet? Unsure if you have opened a support ticket

terencet-dev avatar Jul 21 '25 16:07 terencet-dev

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Aug 28 '25 02:08 github-actions[bot]