kxxt / aspeak

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

Speech synthesis canceled: CancellationReason.Error WebSocket operation failed. Internal error: 3. Error details: WS_ERROR_UNDERLYING_IO_ERROR USP state: 4. Received audio size: 1998720 bytes. #30

Closed RouderSky closed 2 years ago

RouderSky commented 2 years ago

Speech synthesis canceled: CancellationReason.Error WebSocket operation failed. Internal error: 3. Error details: WS_ERROR_UNDERLYING_IO_ERROR USP state: 4. Received audio size: 1998720 bytes.

kxxt commented 2 years ago

Please read README.md carefully.

Important Notice

Microsoft made some breaking changes to how the trial page works, which breaks aspeak < 3.0.0.dev1.

For old users, to continue to use aspeak, you need to upgrade to v3.0 by executing:

pip install "aspeak>=3.0"

If you get the following error, please shorten your input and do not submit issues about it.

Error: Speech synthesis canceled: CancellationReason.Error
WebSocket operation failed. Internal error: 3. Error details: WS_ERROR_UNDERLYING_IO_ERROR USP state: 4. Received audio size: 13965696 bytes.