Azure web-app - Multi-container unit was not started successfully for react app

Viral Patel 0 Reputation points
2024-06-21T19:47:47.4166667+00:00

I am using the Azure web app and running the react app using the docker-compose. It used to work but since I upgraded to

React 18.3.1 Nextjs 14.2.3

and it stopped working and gave me this error in the log Azure web app - Multi-container unit was not started successfully. But after 30 mins it starts working and stops occasionally.

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

1 answer

Sort by: Most helpful
  1. ajkuma 24,396 Reputation points Microsoft Employee
    2024-07-01T17:08:25.2933333+00:00

    Viral Patel, Apologies for the delayed response.

    To better assist you on this, could you please let us know what is the exact error message that you receive? What App Service Plan (ASP) are you using?

    I understand the issue you mentioned after 30 mins it starts working and stops occasionally.

    --Just to isolate the issue, Based on my understanding of your scenario, you may increase the time out by with the WEBSITES_CONTAINER_START_TIME_LIMIT app setting.) (up to a maximum of 1800)

    --If you haven't done, to isolate the issue, you may leverage App Service diagnostics from Azure Portal> Navigate to your App Service app in the Azure Portal.

    In the left navigation, click on Diagnose and solve problems - Review - “Configuration and Management and “Availability and Performance” (screenshot below)

    --Enable and review logs to fetch more details about the error: #enable-application-logging-linuxcontainer and Access log files

    Kindly let us know how it goes, I'll follow-up with you further.


     If the answer helped (pointed, you in the right direction) > please click Accept Answer - it will help users to find the answers quickly.