Internal error: 1 USP state: Sending. Received audio size: 0 bytes.

Ryan jiao 0 Reputation points

I'm using the Python example on the website(text-to-speech). My settings fully complied with the guidance on the document and ensured that my key and region are correct. But this error keeps popping out. How do I fix it?

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
X-ConnectionId: b3c59957bcd4429fbbc64a503690142a USP state: Sending. Received audio size: 0 bytes.
Did you set the speech resource key and region values?
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,194 questions
{count} votes