Open Closed

Issue running Abp application on an Azure App Service #3030


User avatar
0
balessi75 created

Abp Commercial 5.2.0 / Blazor Server / EF / Non-tiered

Hi, I was wondering if anyone had any insight or recommendations for an issue we are having after publishing our Abp solution to an Azure App Service.

Everything works perfectly when we run locally in VS, but when hitting the URL in Azure, we see the index start page right away, but when licking on 'login', after about 15 seconds, we receive a 502 error as shown below. We have monitored the application using Azure's Application Insights and we se no exceptions occurring and we see nothing in any of the Azure logs.

"502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server."

Any suggestions is greatly appreciated as this one really has us scratching our heads.


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Hi

    Azure has a document that you can refer to.

    https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-http-502-http-503

  • User Avatar
    1
    balessi75 created

    For anyone running into this issue.. We resolved the issue by turning off the 'Show local variables for your application when an exception is shown' setting in Azure Application Insights.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09