microsoft / azure-api-management-monetization

MIT License
54 stars 30 forks source link

App service failed to pull Docker image #19

Closed yukihonhk closed 2 years ago

yukihonhk commented 2 years ago

Thanks for this demo app.

However the Billing app can't be deployed on my App Service:

Got this from the Docker logs

2021-11-14T16:52:54.689Z INFO - Pulling image: ghcr.io/microsoft/azure-api-management-monetization/app:latest 2021-11-14T16:52:56.888Z ERROR - DockerApiException: Docker API responded with status code=InternalServerError, response={"message":"Get https://ghcr.io/v2/microsoft/azure-api-management-monetization/app/manifests/latest: unauthorized"} 2021-11-14T16:52:56.890Z ERROR - Pull image threw Exception: Input string was not in a correct format. 2021-11-14T16:52:56.892Z INFO - Pulling image from Docker hub: ghcr.io/microsoft/azure-api-management-monetization/app:latest 2021-11-14T16:52:57.608Z ERROR - DockerApiException: Docker API responded with status code=InternalServerError, response={"message":"Get https://ghcr.io/v2/microsoft/azure-api-management-monetization/app/manifests/latest: unauthorized"} 2021-11-14T16:52:57.614Z WARN - Image pull failed. Defaulting to local copy if present. 2021-11-14T16:52:57.617Z ERROR - Image pull failed: Verify docker image configuration and credentials (if using private repository) 2021-11-14T16:52:57.624Z INFO - Stopping site yukiapimpaymentproviderdemo because it failed during startup.

yukihonhk commented 2 years ago

@Smartitect Thank you so much. I can pull the image successfully with your latest code.

HowardvanRooijen commented 2 years ago

@Smartitect Thank you so much. I can pull the image successfully with your latest code.

Hi! I received a notification saying that you had an issue with "Invalid Credentials", but that's now gone from your reply - is that still the case or have you managed to rectify?

yukihonhk commented 2 years ago

@HowardvanRooijen Thank you so much for your support. I managed to rectify the problem and able to setup/show the end-to-end demo. Really appreciate your great work for this sample.

Smartitect commented 2 years ago

@yukihonhk glad to hear that you got the demo working!