For the last nine hours, my web app has been giving the below error whenever using a browser to load the web app. What is causing this behavior?
502 - Web server received an invalid response while acting as a gateway or proxy server.
For the last nine hours, my web app has been giving the below error whenever using a browser to load the web app. What is causing this behavior?
502 - Web server received an invalid response while acting as a gateway or proxy server.
While there are several issues that can cause 502 errors, due to the length of time that your web app has been down, it’s a good guess that your web app is stuck in an unhealthy state. For a quick resolution, you can try to scale up to a higher tier app service plan, wait 15 minutes, and then scale back down to your original app service plan. This might bring your app back to a healthy state by removing the unhealthy instance(s) from the pool of available resources. More information on scaling can be found here.
Just remember to scale back down to avoid an increase in costs.
10 people are following this question.