Connection to azure cognitive service failed with Firefox 124

Cédric ANUS 0 Reputation points
2024-04-11T07:58:33.67+00:00

The latest version of Firefox (124) has enabled the HTTP2 protocol by default for WebSocket connections. This change causes connections to Azure Cognitive Service API (for example, speech recognition) to fail with a 404 error. The servers are not capable of processing the request correctly. The connection fails to upgrade to a WebSocket connection.

We are using the Azure Speech SDK, and this issue can be reproduced in your Azure Speech Studio. Just ensure that the parameter "network.http.http2.websockets" is set to "true" in about:config; this is the new default value that causes the error.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,395 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 42,191 Reputation points Microsoft Employee
    2024-04-12T11:32:40.8533333+00:00

    @Cédric ANUS I have tried to use the studio on this version of firefox and it seems to work with the features I checked, like Personal voice previews. Although, on some pages like audio content creation I see this message.

    User's image

    Since you are seeing issue with the SDK too, could you try using a different machine and check if you see similar errors?

    I would also request to report the issue with SDK on the SDK github repo with details of the SDK version along with the platform on which you have tried the same.

    0 comments No comments