Azure / Azure/azure-storage-python

What's the correct way to recover from an Azure Storage “connection reset” 10054 error, when called from Python SDK?

Abierto
#688 6 comentarios 0 reacciones 2 asignados Reclamado por @tasherif-msft Ver en GitHub
Lenguaje dominante
Python
Estrellas
343
Forks
243
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

We have a python app that uses Azure Storage, calling the BlockBlobService and AppendBlobService modules of the azure-storage-blob==2.1.0 package. When running a large number of simultaneous instances of our python app, we start seeing many occurrences of the following error:
`ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))`
What is the best practice for recovering from these types of errors? Our normal retry function just fails on all 25 of its retries when this error is encountered. Is there a way to request that the connection to Azure is reset within a retry function?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.