"Internal error: 1. Error details: Code: 9999." returned by SpeechRecogizer (Azure Cognitive Service Speech)

KM 1 Reputation point
2021-06-09T04:55:46.627+00:00

Thank you for checking my question.

I am trying to make use of azure.cognitiveservices.speech.SpeechRecognizer to convert speech files into text on WSL (Windows Subsystem for Linux, Ubuntu 20.04.2 LTS) or on Windows Powershell, but it failed.

It returns the following result with no text.
SpeechRecognitionResult(result_id=[*I manually masked here*], text="", reason=ResultReason.Canceled)

And as I analyzed ResultReason.Canceled, it have found that
Error details: Connection failed (no connection to the remote host). Internal error: 1. Error details: Code: 9999. SessionId: [*I manually masked here*] .

What I want to know is about Error details: Code: 9999, which there are no clues about via bing/google search.

It may also have to be said that a coworker successfully got recognized text with the same api key of mine.

Any advices may save my life, and I'd like to apologize for my English skills.
Thank you.

Azure Speech in Foundry Tools
Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform


1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.