question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WS_OPEN_ERROR_UNDERLYING_IO_ERROR error when testing speech to text sample code

See original GitHub issue

Describe 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:

  1. Download the sample code to your development PC.
  2. Start Microsoft Visual Studio 2022 with \quickstart\csharp\dotnet\from-microphone\helloworld.sln project
  3. Change “YourSubscriptionKey” and “YourServiceRegion” to correct ones
  4. 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:closed
  • Created 4 months ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
pankoponcommented, Jun 26, 2023

Closed as resolved, please open a new issue if more support is needed.

0reactions
altazar0456commented, Jun 7, 2023

After uninstalling Crypto-Pro application and rebooting I’m able to run Speech SDK sample

Read more comments on GitHub >

github_iconTop Results From Across the Web

WS_OPEN_ERROR_UNDERLYI...
I'm using speech to text guide and receive following error: CANCELED: Reason=Error ... error when testing speech to text sample code.
Read more >
WS_OPEN_ERROR_UNDERLYI...
I am trying to get text to speech sample code working in Visual Studio 2022 ... CANCELED: Reason=Error CANCELED: ErrorCode=ConnectionFailure ...
Read more >
Untitled
Bowers wilkins wood veneer red cherry 600, Unexpected error quitting windows ... Riverdale season 4 episode 14 watch online, Pasties walmart, Api ms...
Read more >
Untitled
#api Gavin fernandez nz, He hymn of death web drama download, ... E20 error code on electrolux front loader washing machuine, 30 60...
Read more >
Untitled
Ajax error routecollection methodnotallowed array 'post, Handle for mouth mirrors, ... Do taxpayers pay for royal wedding, C self host web api unity?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found