How to Fix error code 503 and 504 in Azure hosted applications.

Prasant Kumar Das 25 Reputation points
2025-01-09T04:46:09.97+00:00

Frontend application is deployed in StreamLit which has backend as FLASK framework container in Azure Environment.
The Code is running perfectly fine in local, but not when deployed in Azure Environments.

When ever the code is is executed it is giving 503 service unavailable error or 504 DNS/Gateway timeout error.

For debugging, we have removed all the logic and kept simple one liner logic in the code but still give the same error code as above.

Could anyone help me figure out what could be the issue here and possible way to debug and fix them in a go..

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,143 questions
{count} vote

Your answer

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