azure app service for python App gives "ERROR - Container didn't respond to HTTP pings on port: 8000, failing site start. See container logs for debugging" while deploying.

Dhaval Vaghela 1 Reputation point
2022-05-09T12:30:51.563+00:00

I want to deploy python app on azure app service. but while deploying using VScode Deployment is gives,ERROR - Container dtest-python_0_b3863838 didn't respond to HTTP pings on port: 8000, failing site start. See container logs for debugging. When I am trying using different port it also not working with that port and gives same error.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,877 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 18,286 Reputation points
    2022-05-09T13:56:18.1+00:00

    Thanks for asking question! If the container couldn't start or exited, There is possibility that Application may be facing any error or exception.

    To narrow down the issue you can leverage diagnostic tool from the Azure Portal and select Application logs ; Container issues; container crash which helps in
    investigating potential reasons why your container failed to start, which could cause deployment and availability issues. You may examine both the deployment logs and the app logs for any error messages. These logs often identify specific issues that can prevent app deployment or app startup.

    Check this detailed tutorial on troubleshooting guides,

    200260-settings.png

    200303-performance-microsoft-azure.png

    Please let us know if further assistance required on this.

    0 comments No comments