@Stefan Elsen Hi Stefan, I'm sorry to hear that you're encountering 502 errors and for the difficulty with opening a technical support ticket.
You are right that troubleshooting error codes on the forum can be difficult but while you wait to hear back from your support engineer for your support case, I will try to self-empower you to learn more about the error and you might be able to share this with the support case owner to aid them in their investigation.
With that being said, you have access to a lot of the same tools that a support engineer has, such as the diagnose problems blade.
- Navigate to your web app at portal.azure.com
- Open the "diagnose and solve problems" blade
- Navigate to the section that best represents the issue you are having (http errors)
- The tool will analyze your error code history and might be able to provide further insights for the errors. Make sure to select a timeframe where you know the error occurred.
- Let us know what you are able to find by replying back here.
The next item is to understand what type of HTTP 502 error you are received by locating the http_substatus code. There are many causes and types of 502 errors so understanding the sub-status code can narrow down the cause.
you can collect data to help diagnose the issue. You can enable diagnostic logs for your App Service and review the logs to see if there are any errors or warnings that could be related to the 502 errors. For more information, see Enable diagnostics logging for web apps in Azure App Service. Try to reproduce the error after enabling logging. Wait 15 minutes or so for the logs to update and reflect the error. You should see a column in the logs called http_sub_status code. Reply back to this message with that code so we can understand if this is a 502.21 or 502.53 error. We can then lookup the meaning and share it with you here.