Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED on a specific device #1923

Closed
kykymber opened this issue Apr 18, 2023 · 1 comment
Closed

WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED on a specific device #1923

kykymber opened this issue Apr 18, 2023 · 1 comment

Comments

@kykymber
Copy link

kykymber commented Apr 18, 2023

An error WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED appears when using SpeakTextAsync method from CognitionServices SDK for Unity C#; speak_text_async method from Python sample; Speech CLI
The problem is the same for a speech recognition

Current behavior
API doesn't work. The error appears.
Error message:
"CANCELED:
Reason=[Error]
ErrorDetails=[Connection failed (no connection to the remote host). Internal error: 11. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_ERROR
wss://germanywestcentral.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: 68bd7d7cf8804b2098abd3f4de990cc7 USP state: 2. Received audio size: 0 bytes.]
Did you update the subscription info?"

Expected behavior
Method is working and return the synthesis data.

Version of the Cognitive Services Speech SDK
1.25 Unity C#; 1.27 python; 1.27 CLI

Platform, Operating System, and Programming Language

  • Windows 10, 11
  • ASUS ROG Strix G713QE x64
  • C# Unity SDK 1.25
  • Python 1.27
  • Speech CLI 1.27

Additional context

@kykymber
Copy link
Author

I finally found the reason and solution for this issue.

The issue was with a disrupted Windows update process, which prevented required updates from being installed on my PC.
When running the "spx synthesize --voices" command via CLI, I received a different error message which helped me find a solution. It stated, "The requested security package does not exist."

The reason for my Windows not receiving updates was due to the specific behavior of the Crypto-Pro program, which is used in Russia for interaction with government resources.

Found it on Reddit https://www.reddit.com/r/techsupport/comments/q2kb19/the_requested_security_package_does_not_exist/

I actually resolved this issue some time ago, thanks. The problem was in schannel.dll, so my Windows couldn’t have connected to any Microsoft service and some apps - to their servers.
One of the programs (CryptoPro) was overwriting it, so I went to the registry and blocked it from doing so. This is a local program from my country so I doubt you’ll have it.
Solution was in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\CProPatches\SCHANNEL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant