The docker in my staging slot is unresponsive after an internal acr error

Philipp Alker 0 Reputation points
2023-04-13T07:34:15.5433333+00:00

My staging slot had issues when loading a docker image (worked fine before):
User's image

when trying again with another image it simply isn't doing anything at all simply showing me this in my logs:
User's image

restarting instances/whole web app didn't work, neither changing the docker authentication from admin to system assigned vice versa

I'm a bit stuck here

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,006 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 15,351 Reputation points Microsoft Employee
    2023-04-17T02:16:40.22+00:00

    It seems like you are having trouble with your Docker container in your Azure Web App. The error message you provided indicates that there is an authentication issue with your Azure Container Registry (ACR). To troubleshoot this issue, you can try the following steps:

    1. Check if the ACR login credentials are correct You can use the az acr credential show command to retrieve the ACR username and password. Make sure that you are using the correct credentials in your Docker container.
    2. See if the ACR is accessible from your Azure Web App. You can try to access the ACR from your Azure Web App by running the az acr login command. If you are able to log in successfully, then the ACR is accessible.
    3. Is the Docker daemon is running in your Azure Web App? You can check the Docker daemon status by running the docker info command. If the Docker daemon is not running, you can try restarting the Docker daemon by running the sudo service docker restart command.
    4. Verify if the Docker image is valid. You can try pulling the Docker image from the ACR by running the docker pull command. If the Docker image is not valid, you can try rebuilding the Docker image and pushing it to the ACR. If none of these steps work, you can try running the az acr check-health command to diagnose any issues with your ACR. If you are still unable to resolve the issue, please provide more information about your setup and the steps you have taken so far, so that I can assist you better.
    0 comments No comments