An Azure service that provides a registry of Docker and Open Container Initiative images.
Hello @Jesse Silverstein ,
It seems like you're running into some frustrating issues with your Azure Container Registry (ACR) receiving 500 Internal Server Errors for push and pull requests. This error can be a bit tricky, but here are some potential steps to troubleshoot the problem:
Health Check: You mentioned that az acr health-check succeeds but with a warning regarding the notary. While the notary issue might be a red herring, it’s important to ensure that the ACR itself is healthy. You can run the command:
az acr check-health --name <yourRegistry> --ignore-errors --yes
Check if any errors related to this or others show up in the output.
Authentication Validation: Double-check the integrity of your authentication setup for ACR. Make sure that your credentials are valid and haven't expired. You can refer to the guide on troubleshooting login issues for more insights.
Repository Status: It's also crucial to check that none of your repositories or images are locked. You can do this by running:
az acr repository show --name <yourRegistry> --repository <yourRepository> --output jsonc
If the writeEnabled attribute is set to false, the repository is locked; you can unlock it with:
az acr repository update --name <yourRegistry> --repository <yourRepository> --write-enabled true
Storage Limits: Verify that your container registry hasn't reached its storage limit of 40 TiB. If it has, you won't be able to push additional data. You can look at your current storage usage to see if this could be a factor.
Network Connectivity: Since the issue arose without any clear changes being made, ensure that there aren't any underlying network connectivity issues. You can test your connection to the registry by running:
az acr check-health -n <yourRegistry>
If none of these suggestions work, you might want to gather additional information like logs or check if there are any ongoing service interruptions impacting ACR in your region.
I hope this helps you troubleshoot the problem effectively! If you need more assistance, feel free to ask.