exception.cpp:125 About to throw Exception with an error code: 0x25 (SPXERR_UNEXPECTED_TTS_ENGINE_SITE_FAILURE)

AIDC-CCO 0 Reputation points
2025-01-11T03:05:00.55+00:00

java.lang.RuntimeException: Exception with an error code: 0x25 (SPXERR_UNEXPECTED_TTS_ENGINE_SITE_FAILURE)

at com.microsoft.cognitiveservices.speech.util.Contracts.throwIfFail(Unknown Source)

at com.microsoft.cognitiveservices.speech.SpeechSynthesizer$1$1.run(Unknown Source)

at com.microsoft.cognitiveservices.speech.SpeechSynthesizer.doAsyncSynthesisAction(Unknown Source)

at com.microsoft.cognitiveservices.speech.SpeechSynthesizer.access$200(Unknown Source)

at com.microsoft.cognitiveservices.speech.SpeechSynthesizer$1.call(Unknown Source)

at com.microsoft.cognitiveservices.speech.SpeechSynthesizer$1.call(Unknown Source)

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

1 answer

Sort by: Most helpful
  1. Vikram Singh 100 Reputation points Microsoft Employee
    2025-01-13T08:49:25.4366667+00:00

    Hi @AIDC-CCO ,

    Welcome to the Microsoft Q&A Forum, and thank you for your query!

    The error "SPXERR_UNEXPECTED_TTS_ENGINE_SITE_FAILURE" indicates an unexpected issue with the Text-to-Speech (TTS) engine in the Microsoft Cognitive Services Speech SDK. This can be caused by network problems, service availability, or configuration errors.

    To better assist you, we recommend enabling logging as detailed in this guide: Speech SDK logging - Speech service - Azure AI services | Microsoft Learn. Logs will help diagnose the issue more effectively.

    Additionally, for SDK exceptions or similar issues, we suggest posting your query on the Speech SDK GitHub repository.

    If the reply was helpful, please don't forget to upvote and/or accept as answer, thank you.

    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.