getting [Errno 11001] getaddrinfo failed when sending queue message
Narasimha Dasari
0
Reputation points
I am using azure.storage.queue to add message into queue.
connect_str = self._config.GetValue(
'azureQueue', 'AZURE_STORAGE_CONNECTION_STRING')
q_name = self._config.GetValue(
'azureQueue', 'AZURE_QUEUE_NAME')
self.queue_client = QueueClient.from_connection_string(
connect_str, q_name)
self.queue_client.send_message(message)
I am getting below error while sending queue message
Exception: ServiceRequestError('<urllib3.connection.HTTPSConnection object at 0x000001F8B212222CBE0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed').
is there anything I am missing here?
Sign in to answer