Some requests from our service to Azure Orchestration is getting "Connection reset by peer"

Salamy, Sami 0 Reputation points
2025-02-27T09:25:39.8833333+00:00

Hello,

Where using the libcloud package in Python in order to setup the driver for Azure of the type:

DriverType.COMPUTE.AZURE_ARM

The service is working fine for lots of years, while recently we're getting this error from some requests:

('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

We don't have much info other than this exception, so my questions are:

  1. How can I get more info regarding this error?
  2. What is the default timeout for the AZURE_ARM configured driver?
  3. Which params should we add in order to manually change the timeout, can I use timeout=GENERAL_TIMEOUT or ex_connection_kwargs={'timeout': (CONNNECTION_TIMEOUT, READ_TIMEOUT)}
  4. What other reasons might return such general error? Rate limit? Can we increase it?

Thank you

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,293 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.