WS_OPEN_ERROR_UNDERLYING_IO_ERROR error when testing speech to text sample code
Oleg
10
Reputation points
I'm using speech to text guide and receive following error:
CANCELED: Reason=Error
CANCELED: ErrorCode=ConnectionFailure
CANCELED: ErrorDetails=Connection failed (no connection to the remote host). Internal error: 11. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_ERROR
wss://eastus.stt.speech.microsoft.com/speech/recognition/interactive/cognitiveservices/v1?language=en-US
X-ConnectionId: c9bf458e020644b0b4f831a09fdf77cd SessionId: c9bf458e020644b0b4f831a09fdf77cd
CANCELED: Did you set the speech resource key and region values?
I tested my key and region in power shell through this troubleshoot guide and it works okay.
How can I make speech to text guide work for me?
I'm using Visual Studio 2022, C#, Windows 11
Attached log file recordLog.txt
Sign in to answer