DockerApiException - unauthorized: incorrect username or password

Al Mus 6 Reputation points

I have an app in Angular/Nest.js deployed on Azure. It has been working fine for the last few months but yesterday it suddenly started showing these errors:

On frontend it is showing CORS errors but on the backend I see this:

2022-06-06T06:06:39.208Z INFO - Starting multi-container app..
2022-06-06T06:06:39.556Z INFO - Pulling image:
2022-06-06T06:06:42.254Z INFO - latest Pulling from example_backend_uat_github
2022-06-06T06:06:42.255Z INFO - Digest: sha256:fbc2we4g67c865c345567098775ed5fec4aecd7285e4fce947223d3262c901de
2022-06-06T06:06:42.256Z INFO - Status: Image is up to date for
2022-06-06T06:06:42.258Z INFO - Pull Image successful, Time taken: 0 Minutes and 2 Seconds
2022-06-06T06:06:42.270Z INFO - Starting container for site
2022-06-06T06:06:42.271Z INFO - docker run -d -p 1496:3000 --name example-portal-backend-uat_backend_0_01449c14 -e WEBSITE_CORS_ALLOWED_ORIGINS= -e WEBSITE_CORS_SUPPORT_CREDENTIALS=True -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITES_PORT=3000 -e WEBSITE_SITE_NAME=example-portal-backend-uat -e WEBSITE_AUTH_ENABLED=False -e WEBSITE_ROLE_INSTANCE_ID=0 -e -e WEBSITE_INSTANCE_ID=some-random-id -e HTTP_LOGGING_ENABLED=1 -e WEBSITE_USE_DIAGNOSTIC_SERVER=False
2022-06-06T06:06:42.334Z INFO - Pulling image: redis
2022-06-06T06:06:44.051Z ERROR - DockerApiException: Docker API responded with status code=InternalServerError, response={"message":"Get unauthorized: incorrect username or password"}
2022-06-06T06:06:44.052Z ERROR - Pulling docker image redis failed:
2022-06-06T06:06:44.053Z WARN - Image pull failed. Defaulting to local copy if present.
2022-06-06T06:06:44.056Z ERROR - Image pull failed: Verify docker image configuration and credentials (if using private repository)
2022-06-06T06:06:44.057Z ERROR - multi-container unit was not started successfully
2022-06-06T06:06:44.059Z INFO - Container logs from example-portal-backend-uat_backend_0_01449c14 =
2022-06-06T06:06:44.088Z INFO - Container logs from example-portal-backend-uat_redis_0_01449c14 =
2022-06-06T06:06:44.337Z INFO - Stopping site example-portal-backend-uat because it failed during startup.

This was a fully functional app up to yesterday, we didn't make any changes, it just happened by itself.

I really don't know how to proceed and what to do now. Please help!

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
460 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
4,608 questions
Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
121 questions
1 vote