0
votes

I'm new to Microsoft Azure. I've created a service which is running in the Azure Portal. See the attached image. I have created a pipeline in Azure and created a release but I keep getting service unavailable see the error below.

> 2020-12-29T12:02:14.3749416Z ##[error]Failed to deploy web package to App Service.
2020-12-29T12:02:14.3769585Z ##[error]Error: Error: Failed to deploy web package to App Service. Site Unavailable (CODE: 503

On the Azure Portal when I click on the URL of my service I also get a service unavailable message. I know it's a free trial I'm running but I checked the status and the credits are still available to use.

1

1 Answers

0
votes

Thanks for asking question! The simplest way is to restart your app. On the Azure Portal, on your app’s blade, you have the options to stop or restart your app.

Also, App Service provides an intelligent and interactive experience to help you troubleshoot your app with no configuration required. Access App Service diagnostics, for this navigate to your App Service app. In the left navigation, click on Diagnose and solve problems.

Scaling might be helpful: For more information on scaling, see Scale an app in Azure App Service.

Refer to Troubleshoot HTTP errors of "502 bad gateway" and "503 service unavailable" in Azure App Service