Azure Web App Deployment: Worker Process Failed to Start

Johanan Lee Mahendran 0 Reputation points
2024-11-19T03:47:57.01+00:00

Hi,

I have cloned https://github.com/microsoft/sample-app-aoai-chatGPT to create my own Azure Web App. I am using the Dev Environment provided.

However, whenever I try to deploy my app, it builds but unable to start the app. I have been trying to deploy it with the following script, but I get a worker process failed to start error.

az
 
--name
--startup-file

az
--resource-group
--name
--settings
WEBSITE_WEBDEPLOY_USE_SCM=
SCM_DO_BUILD_DURING_DEPLOYMENT=

# 4. Deploy your code
az
--runtime
--sku
--name
--resource-group
--plan
--location


A screenshot of the error:

IMG_0001

I would appreciate any help with regards to this as I have been stuck on it for a while now.

Thanks!

Johana

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

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 22,716 Reputation points Microsoft Employee
    2024-11-19T12:56:41.7066667+00:00

    @Johanan Lee Mahendran Thanks for sharing more information.

    Based on the app service resource names shared earlier, i see that this app service "ai-chatbot-cf-free" is on free tier but in the github repo tutorial it is suggested to use B1(Basic) tier. Can you try scale out the app service plan to higher tier and check.

    Could you share more details to understand the issue better.

    • Also were able to run the site in locally without any issues?
    • Does the deployment of your application to app service is successful? and are you facing this issue while request the URL of the website?
    • Can you review the container logs files (<WorkerName>_default_docker.log,<WorkerName>_docker.log) using the above shared href links to know more about why the application is failing.
    • Try troubleshooting the issue by using various detectors under Diagnose and Solve problems.

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.