kxxt / aspeak

A simple text-to-speech client for Azure TTS API.
MIT License
494 stars 57 forks source link

After upgrading to 3.1.0, the error still occurs WebSocket upgrade failed. #36

Closed carllx closed 1 year ago

carllx commented 1 year ago

[91mError: Speech synthesis canceled: CancellationReason.Error WebSocket upgrade failed: Unspecified connection error (200). USP state: 2. Received audio size: 0 bytes.

kxxt commented 1 year ago

I guess it's just a internet connectivity issue. Just try again.

aspeak still works.

flt6 commented 1 year ago

It may because the websocket connection failed, which is different in place. It seems this is a bug of azure.cognitiveservices.speech.

I have always met that or some other exceptions in my code, and that's why I rebuild it....(https://github.com/kxxt/aspeak/pull/37, rebuild)

bikmanwei commented 1 year ago

Same here. aspeak 3.1.0>> Error: Speech synthesis canceled: CancellationReason.Error Error decoding audio stream, error code: -50

kxxt commented 1 year ago

aspeak v4 has already been released. Feel free to open another issue if this error still occurs with aspeak v4.