ConnectionError: HTTPSConnectionPool(host='none.customvoice.api.speech.microsoft.com', port=443): Max retries exceeded with url: /api/texttospeech/3.1-preview1/batchsynthesis/talkingavatar (Caused by NameResolutionError("<urllib3.connection.HTTPSConnectio

Nishigandha Lad 60 Reputation points
2023-11-27T06:47:20.4733333+00:00

Our organization is using Azure text-to-speech services and running the algorithm in google colab local system. The following error appears when the API is called.

The content of the error is as follows:

gaierror: [Errno -2] Name or service not known. The above exception was the direct cause of the following exception: NameResolutionError Traceback (most recent call last) NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7c42b2a75750>: Failed to resolve 'none.customvoice.api.speech.microsoft.com' ([Errno -2] Name or service not known)

The error indicates that google colab cannot connect to the azure server and port 443. I have also tried to execute the code in VSCode and Pycharm but similar error occurs.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
941 questions
Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
2,061 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,598 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.