Web App returning Https Server Errors resulting in backend call failure

Jesse LaFlair 0 Reputation points
2026-04-22T11:43:34.9733333+00:00

Setup runbook to restart app service when a threshold for Http server errors is hit, but not always bringing service back up. Either returns a 500 error of "backend call failure". Ran through troubleshooter and it returned this:

"Errors routing request to container

The application container returned a Connection Refused error. This typically happens if some resource limit is being hit within the application container which is forcing the connections to be refused. Please check the application container code and underlying frameworks used to identify possible scenarios where the app could return 'Connection Refused' errors."

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.