Web Bot does not work: Upgrade to WebSocket is required.

Szöke, Lajos 6 Reputation points
2021-04-23T19:28:26.653+00:00

When I want to run Core Bot with Messaging Endpoint, I get the next message: Upgrade to WebSocket is required. It does not work in window of "Test in Web Chat" as well.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
824 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,654 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Ramr-msft 17,736 Reputation points
    2021-04-26T07:40:22.057+00:00

    @Szöke, Lajos Thanks for the question, Can you please add more details about the use case that you are trying. you have not enabled Web Sockets in the App Service configuration. If you haven't already, review the BotFramework docs that detail all the necessary steps to take in ABS in order to stand up Direct Line Speech. In particular, these steps.

    0 comments No comments

  2. Szöke, Lajos 6 Reputation points
    2021-04-26T08:02:02.17+00:00

    Thank you for your answer but I think the root of the problem is different. Please help me!

    Short summary:
    Bot type: Basic bot (Corebot) generated by https://portal.azure.com
    LUIS: generated by https://portal.azure.com, connected to same Resource group
    Setting:
    91224-capture.jpg

    Development IDE: Visual Studio, C#

    If I test URL from Messaging Endpoint in any browser, I got the next message: Upgrade to WebSocket is required
    The Firefox Developer/Web Console shows the next message:
    The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature.

    What can I made wrong?


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.