WS_OPEN_ERROR_UNDERLYING_IO_ERROR error when testing speech to text sample code
See original GitHub issueDescribe the bug Can’t use Quickstart C# .NET for Windows, receive WS_OPEN_ERROR_UNDERLYING_IO_ERROR 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?
To Reproduce Steps to reproduce the behavior:
- Download the sample code to your development PC.
- Start Microsoft Visual Studio 2022 with \quickstart\csharp\dotnet\from-microphone\helloworld.sln project
- Change “YourSubscriptionKey” and “YourServiceRegion” to correct ones
- Run application and receive error
Expected behavior It’s expected to run without errors and to recognize text from my speech
Version of the Cognitive Services Speech SDK the latest one (1.28.0 from Nuget package)
Platform, Operating System, and Programming Language
- OS: Windows 11 with all updates
- Hardware - x64
- Programming language: C#, Also tested on Python
Additional context
- Error message with ConnectionFailure
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?
- full Speech SDK Log recordLog1.txt
- I tried it during several days, no success
- These steps works correctly
- Steps from this didn’t help me
Issue Analytics
- State:
- Created 4 months ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
Closed as resolved, please open a new issue if more support is needed.
After uninstalling Crypto-Pro application and rebooting I’m able to run Speech SDK sample