How fix this error :Speech synthesis canceled: CancellationReason.Error Error details: Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED wss://westeurope.tts.

ahmed.rhiat 0 Reputation points
2024-07-25T20:44:07.1066667+00:00

I would like to use Azur Text to Speech on Raspberry Pi 4 with python but I doesn't work. I get the following Error : Speech synthesis canceled: CancellationReason.Error

Error details: Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED

wss://westeurope.tts.speech.microsoft.com/cognitiveservices/websocket/v1

X-ConnectionId: cc697a1f55014d8a98b0c021bbbdbcc2 USP state: Sending. Received audio size: 0 bytes.

The same Python example works on Windows 10 but not on Raspberry Pi 4. Thank U

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,777 questions
{count} votes

Your answer

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