Search code examples
node.jsazureazure-devopsbotframeworkazure-bot-service

Azure Test in Web Chat: HTTP status code NotFound


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


Solution

  • 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.

    enter image description here

    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.

    enter image description here

    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

    enter image description here

    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:

    enter image description here