I tried running a new code from Azure Pipelines into Azure Web App Bot, configured the application settings appropriately. Yet whenever I tried to test the service in the test chat web I got errors.
Node version: 10.14.1
botbuilder: 4.10.3
Azure Repos + Azure Pipelines deployment
Application Settings
Test in Web Chat
Error messages
There was an error sending this message to your bot. HTTP status code: not found
To troubleshooting this issue, you could check the following points:
1.Navigate to Settings tab, you need to make sure that the Messaging endpoint is Https instead of Http.
Note: It doesn't support the Http website.
2.Navigate to Channels tab, you could check if the Web Chat is in Running state without issues.
3.Navigate to Configuation, you need to make sure that the MicrosoftAppId and MicrosoftAppPassword do not change these after deploying the new code.
If it keeps getting errors, you can even consider creating a new web app bot to redeploy
On the other hand, this is the document I refer to to deploy azure web app bot.
I deploy the new code to Azure App service with the Azure App Service deploy task.
Result:
Related
I am trying to deploy my backend code to azure app services using the GITHUB actions, the code has been committed and in the action, yml file is also generated, and after clicking the build it fails with an error. Error: Process completed with exit code 1.
It depends which Action you used.
It is recommended to start with "Deploying Node.js to Azure App Service" and its prerequisites (creating an Azure App Service plan, creating a web app, configuring an Azure publish profile and create an AZURE_WEBAPP_PUBLISH_PROFILE secret.)
You can then create your workflow, following the example "deployments/azure-webapps-node.yml" as a possible template, for you to adapt.
I'm trying to update a express web app and trying to connect VSTS source control to the same but I am getting the following error.
{"Code":"BadRequest","Message":"Repository
'UpdateSiteSourceControl' operation failed with
Microsoft.Web.Hosting.WebHostingException: AADSTS700027: Client
assertion contains an invalid signature." }
I had an express web app setup with VSTS and it was successfully connected with source control. I haven't changed anything but I am not sure what this error means. I was able to use Azure pipelines but I wasn't able to use "App Service build service" to connect to VSTS. I am not sure what am I doing wrong here. Any help would be appreciated.
This issue was related with an Azure update. They fixed it and the continuous integration via Kudu is working again.
Deployed Node.js app on azure web app using VSTS, status showing successful but code files are not visible if checking through Kudu terminal.
In logs it showing succeeded status. Anyone faced such issue ? Looking for resolution.
Creating a new Web App Bot within the Azure Portal leads to an incomplete deployment with the following error message:
Type Microsoft.Web/sites/Extensions
NotFound
"No route registered for '/MSDeploy?api-version=2015-02-01'"
I used the Question and Answer (QnA Maker) node.js template.
As a result of the incomplete deployment, no code for the QnA Maker template has been deployed to the corresponding web service. I downloaded the deployment scripts from the Azure portal and tried to use a different API version without success. The failure is always the same.
I also tried it with a different bot template, but the deployment was also incomplete.
I currently have a .net and an angular app, both deployed to azure via appveyor. Now I want to add a node.js app, also in a github repo, also to be deployed via appveyor and into azure.
However I have no idea where to start.
What kind of azure app should I create? Just the standard web app service?
How do I deploy this to azure via appveyor?
What kind of azure app should I create? Just the standard web app
service?
At first, I could share Azure App Service plan and when we selected one of them with you. Please refer to this document(https://azure.microsoft.com/en-us/documentation/articles/azure-web-sites-web-hosting-plans-in-depth-overview/ ). Then, for selecting which one service plan, it depended on the site load and requirements. It is not relation to deployment channel.
How do I deploy this to azure via appveyor?
You can try to follow this guide Deploying using Web Deploy, mark Package Web Applications for Web Deploy check box in the settings=>build tab of your project in appveyor.
Then login Azure Management Portal and download publish profile.Specify the following deployment settings in AppVeyor:
Server: https://<publishUrl>/msdeploy.axd?site=<msdeploySite>
Website name: <msdeploySite>
Username: <userName>
Password: <userPWD>
NTLM: disabled
Replace <publishUrl>, <msdeploySite>, <userName> and <userPWD> with values from downloaded publishing profile XML file, in the deployment tab.