Websockets not working on linux App Service

Anilson Monteiro 0 Reputation points
2023-05-17T10:47:48.9966667+00:00

Enabled websoket on azure cli for the app service but it still not acepting messages, the app is in a docker container and locally running the container its working as expected, but on the app service instance it only accept the connection but doesnt accept messages

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

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 17,886 Reputation points
    2023-05-22T05:22:49.43+00:00

    Hi @Anilson Monteiro

    can you share the azure cli command you used to enable Web Sockets? What errors are you getting?

    Web Sockets are supported on Linux apps. however the webSocketsEnabled ARM setting does not apply to Linux apps since Web Sockets are always enabled for Linux. Keep in mind that Azure support up to five web socket connections on Free App Service plans. Exceeding this limit results in an HTTP 429 (Too Many Requests) response.

    0 comments No comments

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.