HTTP 502 from one instance of an Azure Web App
T

1

11

We suddenly began experiencing HTTP 502 errors (The specified CGI application encountered an error and the server terminated the process) from one of the instances of our web app. I was able to determine this using Kudu's "Support" tab whereby you can drill down to metrics per instance.

After restarting w3wp for the instance everything continued successfully as normal. There were no problems with resource usage (CPU/RAM) and the odd thing is that the 502s were returning instantly. So, requests weren't timing out for the client.

What are the possible steps to investigate why this happened?

Our application logs wouldn't have anything and our web server logs only have the record of these 502 but with no further details.

Tetrafluoroethylene answered 11/5, 2017 at 10:5 Comment(3)
did you open a support ticket?Materialist
@astaykov: Yes, we have created one.Tetrafluoroethylene
Have you solved this one? if so, can you elaborate on how you overcame from that error?Melanson
T
2

In our case it seems to have come down to port exhaustion on the app service plan. Read here for more details on the limitations for each of the plans available.

Tetrafluoroethylene answered 3/6, 2017 at 10:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.