502 - Web server received an invalid response while acting as a gateway or proxy server.
Smith
2890
Points
78
Posts
|
I have web-service hosted on Azure. And I'm tried to request an endpoint that has long running process. I'm getting following error after around 2 minutes:
Any one known what is happening here... https://dipoletechi.com/blog-post/502-web-server-received-an-invalid-response-while-acting-as-a-gateway-or-proxy-server-on-azure-web-app/ - Akansha yadav 08-May-2020 04:19
|
Rashmi
1068
Points
19
Posts
|
"502 bad gateway" and "503 service unavailable" are common errors in your app hosted in Azure App Service. This problem is often caused by application level issues, such as:
You need to trouble shoot on above mentioned points. Troubleshooting can be divided into three distinct tasks, in sequential order: Observe and monitor application behavior Please follow on https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-http-502-http-503 for more details how to trouble shoot.
Posted On:
30-Mar-2019 00:38
|
Priya
1194
Points
33
Posts
|
502 or 503 errors won't be visible in IIS logs on Azure because they are returned by the front end server which basically forwards the requests to the worker hosting your site and there will be many reasons why the front end can return 502 or 503 error. You can follow https://azure.microsoft.com/en-in/documentation/articles/app-service-web-troubleshoot-http-502-http-503/ to troubleshoot the issue and see if you can identify which one you are running into
Posted On:
04-Apr-2019 09:41
|
Akansha...
12
Points
0
Posts
|
One day suddenly on azure app I started to get the error 502 web server received an invalid response while acting as a gateway or proxy server on azure web app. I did too much research to solve this problem, than I contacted to the support and they given me following solution which works for me. “Scale up the application to Medium in order to change the instance where your application is running. Wait some minutes and check again your site The above change will change the worker instance.” I hope this will help to solve the problem
Regarding
Posted On:
30-Apr-2020 01:26
|