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?

オープン
#688 コメント 6 件 リアクション 0 件 担当者 2 名 @tasherif-msft が担当を希望しています GitHub で見る
主要言語
Python
スター
343
フォーク
243
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。