Issue with Azure app service using acr

Charan Kumar Kharade Somoji Rao 0 Reputation points
2025-05-01T12:15:29.8133333+00:00

I have a Django application container hosted in Azure Container Registry that runs fine locally. However, when I deploy it via Azure App Service, the app fails to load and shows an application error. I have already run the self-diagnostics on the App Service, which reported no issues. Additionally, I verified that the container runs correctly in the terminal. Despite this, the deployment on App Service continues to encounter errors. Could you help me troubleshoot this issue?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,768 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhargavi Naragani 3,820 Reputation points Microsoft External Staff Moderator
    2025-05-02T05:36:56.49+00:00

    Hi @Charan Kumar Kharade Somoji Rao,

    It seems like your Django app isn’t loading properly on Azure App Service, consider the following steps to troubleshoot:

    • Go to the Deployment Center in the Azure portal and look at the logs to make sure the container image was pulled successfully and is running.
    • Sometimes, a simple restart can fix unexpected issues.
    • heck for any coding errors by navigating to your App Service in the Azure portal, then go to Diagnose and solve problems and look at the Application logs.
    • Make sure all necessary connection details, like those for your database are correctly set in the App Service's application settings.
    • Double-check that managed identity is turned on for the App Service and is being used properly in the Deployment Center.
    • Ensure a webhook is configured in the Azure Container Registry, so your App Service can automatically pull the latest container image.
    • If you're using Azure Container Apps, verify that ingress is configured to allow external traffic.

    By following these steps, you should be able to pinpoint what's going wrong and get your Django app up and running.

    References:
    Troubleshoot deployment
    Troubleshoot start failures in Azure Container Apps

    Hope this information is helpful, let me know if you have any further queries.

    0 comments No comments

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.