getting [Errno 11001] getaddrinfo failed when sending queue message

Narasimha Dasari 0 Reputation points
2023-09-29T05:02:42.08+00:00

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?
Azure Storage Explorer
Azure Storage Explorer
An Azure tool that is used to manage cloud storage resources on Windows, macOS, and Linux.
240 questions
Azure Queue Storage
Azure Queue Storage
An Azure service that provides messaging queues in the cloud.
99 questions
{count} votes