HTTP Error 502.5 - Process Failure - Not able to Publish Application on Azure

Viewed 137

I am trying to publish my .NET Core API application on Azure. I have a publish profile, i.e, a .publishsetting file. I am also getting the below message on publishing :

Below is the Output when I Publish the Application

Publish Succeeded. Web App was published successfully http://myapplication.azurewebsites.net/ ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== ========== Publish: 1 succeeded, 0 failed, 0 skipped ========== Installation of Web App Site extension Microsoft.AspNetCore.AzureAppServices.SiteExtension is in progress... Successfully installed Web App extension Microsoft.AspNetCore.AzureAppServices.SiteExtension Restarting the Web App... Successfully restarted the Web App.

But when I go to http://myapplication.azurewebsites.net/ this location, I am getting the below error :

"HTTP Error 502.5 - Process Failure".

enter image description here

How to solve this problem, do I need to configure my IIS for this?

2 Answers

There was an issue with vault key permissions. Steps to debug - Go to App Service in the Azure portal, where you have Url of your application. in this go-to application logs, in my application log, it was clearly mentioned that it requires permission to read vault keys. I have given permission to this and it started working.

Related