Bot Framework Composer v2.1.2 has consistently encountered failures from Azure trying to publish new bots targeting Linux plans. This can be replicated in Bot Framework Composer v2.1.2 by creating a new bot using C# and the "Core Bot with Language" template, then going to create a new publish preset, publishing as a web app on Linux in US West with LUIS on US West.
After choosing to create new resources and a new resource group using only the minimally required components, the profile is created and the resources are created on Azure. However, actually publishing causes 45-90 minutes of wait time after the zip uploads, followed by a JSON-based failure message indicating 403 status code (presumably unauthenticated).
Publishing bots to Windows app service plans work following the exact same workflow, but costs significantly more.
Create a new bot using C# and the "Core Bot with Language" template in Bot Framework Composer specifying Azure Web App as the runtime type
Click on Publish on the sidebar
Click on Publishing profile on the tab strip
Click on add new
Name it "ThisWillFail" or whatever
Select publishing target of Publish Bot to Azure
Specify Create new resources and click Next
Login as needed
Select your subscription
Choose to create a new resource group and name it something distinct, e.g. this-will-fail
Specify Linux as the operating system
Specify ThisWillFail or similar as the resource name
Specify West US as the region. This will also set LUIS region to West US
Click Next
Uncheck all optional resources
Click Next
Click Create
Wait for the resources to be provisioned and the profile to appear
Note: you can also set up Language Understanding for the bot in the sidebar at this point, it doesn't matter if you do or don't
Click on the Publish tab
Check your bot and specify the publish target
Click Publish Selected Bots
Click OK
Observe long wait time after upload of Zip file in the "waiting for zip upload processing" step. This takes ~45 minutes or so.
Observe DEPLOY_ZIP_ERROR failure message with 403 status code.
Note that these steps do not reproduce the error when targeting Windows.
Expected behavior
Working app deployed to Azure on a Linux app service and ready to be interacted with.
Screenshots
Uploading Process:
Failure Message (after significant delay):
Additional context
I am an individual running chatbots for fun and to teach others about Azure. I want the cheapest available "always on" resource to embed in my low traffic personal website and blog and Windows would run me $50 / month ($600 yearly) whereas Linux would be roughly $150 yearly,
Describe the bug
Bot Framework Composer v2.1.2 has consistently encountered failures from Azure trying to publish new bots targeting Linux plans. This can be replicated in Bot Framework Composer v2.1.2 by creating a new bot using C# and the "Core Bot with Language" template, then going to create a new publish preset, publishing as a web app on Linux in US West with LUIS on US West.
After choosing to create new resources and a new resource group using only the minimally required components, the profile is created and the resources are created on Azure. However, actually publishing causes 45-90 minutes of wait time after the zip uploads, followed by a JSON-based failure message indicating 403 status code (presumably unauthenticated).
Publishing bots to Windows app service plans work following the exact same workflow, but costs significantly more.
Version
Version: 2.1.2 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0
Browser
OS
To Reproduce
Steps to reproduce the behavior:
Note that these steps do not reproduce the error when targeting Windows.
Expected behavior
Working app deployed to Azure on a Linux app service and ready to be interacted with.
Screenshots
Uploading Process:
Failure Message (after significant delay):
Additional context
I am an individual running chatbots for fun and to teach others about Azure. I want the cheapest available "always on" resource to embed in my low traffic personal website and blog and Windows would run me $50 / month ($600 yearly) whereas Linux would be roughly $150 yearly,