Add http.client.RemoteDisconnected to list of retryable exceptions #1231
Labels
api: storage
Issues related to the googleapis/python-storage API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: question
Request for information or clarification. Not an issue.
Environment details
Python 3.11.4
pip 23.1.2 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)
google-cloud-storage
version:2.14.0
Steps to reproduce
Blob.upload_from_filename()
seems to sometimes raise aRemoteDisconnected
exceptionpython-storage/google/cloud/storage/retry.py
Lines 28 to 38 in ae9a53b
I think this is in the same vein as #414 and #426
Code example
https://github.com/google/osv.dev/blob/b705d0d0b7450ce94137624118a2b54a7f719147/docker/exporter/exporter.py#L57-L64
Stack trace
The text was updated successfully, but these errors were encountered: