Cannot connect to text-to-speech service.

rex posadas 0 Reputation points
2025-01-29T06:57:46.12+00:00

I am following this text-to-speech guide: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/text-to-speech-avatar/real-time-synthesis-avatar

With a valid key and the correct region, I am getting the error below. Any ideas on why this is happening?

I also check that I was fetching the the ICE server values correctly. So, I don't think that's the issue.

My trial plan still has $199 and 28 days left. I was expecting the call to start the Avatar to be successful.

{

"privResultId": "8B695CE6D2E646159A6E2B716745497E",

"privReason": 1,

"privErrorDetails": "Internal server error. websocket error code: 1011",

"privProperties": {

    "privKeys": [

        "CancellationErrorCode"

    ],

    "privValues": [

        "ConnectionFailure"

    ]

}

}

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

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 28,146 Reputation points
    2025-01-29T09:00:16.6166667+00:00

    Have you checked if your Azure subscription has sufficient quotas for the Text-to-Speech Avatar service? Because even with remaining trial credits, there might be specific service limits that could affect functionality. I think you need at least the speech resource to be set to the "Standard S0" pricing tier.

    https://learn.microsoft.com/en-us/answers/questions/1663331/not-able-to-use-azure-ai-speech-avatar-on-reactjs

    https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-services-quotas-and-limits#real-time-text-to-speech-avatar

    User's image


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.