python-swiftclient should use requests/urllib3-native retry mechanisms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
New
|
Undecided
|
Unassigned |
Bug Description
Having our own retry logic leads to confusing error messages. See https:/
Error downloading object '...': HTTPSConnection
One reasonable reaction to such a message is to pass an increased --retries option -- but that doesn't actually do anything! The message about retries is coming up out of urllib3, and we stick with the default max_retries from requests -- 0!
By using a more requests-native approach, our --retries would eventually get plumbed into urllib3 such that if users see that error, increasing --retries could actually help.