GitHub Python App Repo Deployed to WebApp, but just get Application Error

Gonzalez, Rey Alejandro 1 Reputation point
2022-04-05T15:16:46.797+00:00

Hello!

I have built a bot using the Azure Bot Framework, and I have deployed it to an Azure Web App from GitHub, but I keep getting Application Error and not sure what to do.

It fails right away, and so I figure there is an issue with the Docker container, but I do not know much about Docker to really understand.

  1. Is a Docker container necessary for Python Web Apps?
  2. Is this where my issue is coming from? I didn't set one up
  3. What's the best way to get a Bot Framework app working on Web App as a messaging endpoint service?

Thanks!


022-04-05T15:09:07 Welcome, you are now connected to log-streaming service.

Starting Log Tail -n 10 of existing logs ----

/home/LogFiles/__lastCheckTime.txt (https://xxx.scm.azurewebsites.net/api/vfs/LogFiles/\_\_lastCheckTime.txt)
04/05/2022 14:49:32

/home/LogFiles/kudu/deployment/0a44bab82097-78185507-8c4d-42df-947a-30a5fe232abf.txt (https://xxx.scm.azurewebsites.net/api/vfs/LogFiles/kudu/deployment/0a44bab82097-78185507-8c4d-42df-947a-30a5fe232abf.txt)
2022-04-03T01:30:47 An unknown error has occurred. Check the diagnostic log for details.

/home/LogFiles/kudu/deployment/9fa80cf5e255-ffbb4f6e-3c5f-499a-918e-81aa079361ae.txt (https://xxx.scm.azurewebsites.net/api/vfs/LogFiles/kudu/deployment/9fa80cf5e255-ffbb4f6e-3c5f-499a-918e-81aa079361ae.txt)
2022-04-03T00:47:37 An unknown error has occurred. Check the diagnostic log for details.
2022-04-03T00:47:37 An unknown error has occurred. Check the diagnostic log for details.
2022-04-03T00:47:37 An unknown error has occurred. Check the diagnostic log for details.
2022-04-03T00:47:38 An unknown error has occurred. Check the diagnostic log for details.

/home/LogFiles/kudu/trace/0a44bab82097-0dacb8d9-fe7c-4195-a65a-3ebf2f01fce8.txt (https://xxx.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace/0a44bab82097-0dacb8d9-fe7c-4195-a65a-3ebf2f01fce8.txt)
2022-04-03T01:14:35 Startup Request, url: /api/deployments/latest?deployer=GITHUB_ZIP_DEPLOY&time=2022-04-03_01-05-42Z, method: GET, type: request, pid: 69,1,5, ScmType: GitHubAction, SCM_DO_BUILD_DURING_DEPLOYMENT: 1

/home/LogFiles/kudu/trace/0a44bab82097-233b9b24-74ed-48c3-8314-0026026a3ce7.txt (https://xxx.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace/0a44bab82097-233b9b24-74ed-48c3-8314-0026026a3ce7.txt)
2022-04-03T02:43:43 Outgoing response, type: response, statusCode: 404, statusText: NotFound

/home/LogFiles/kudu/trace/0a44bab82097-3f6e6bea-d7bc-4bc5-be84-7887c63c389f.txt (https://xxx.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace/0a44bab82097-3f6e6bea-d7bc-4bc5-be84-7887c63c389f.txt)
2022-04-03T02:47:09 Outgoing response, type: response, statusCode: 404, statusText: NotFound

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

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 17,366 Reputation points
    2022-04-18T17:58:01.043+00:00

    Hi @Gonzalez, Rey Alejandro ,

    We are apologize for the delay in response. Are you still facing this problem?

    To your first question you don't need a Docker container to create a python application. Please see this doc: Quickstart: Deploy a Python (Django or Flask) web app to Azure App Service

    Based on the Application error(s) you posted your issue might be occurring for different reasons. Can you please share the documentation you were following and your current setup so we can investigate further?

    To your third question, you can use composer to deploy your bot framework. you can refer to this deck for the steps on how to do so: Publish a bot to Azure from Composer

    Best,
    Grace

    0 comments No comments