-
Notifications
You must be signed in to change notification settings - Fork 431
oauth2client/contrib/_metadata.py does not retry #581
Comments
I agree with this in spirit, but I'm apprehensive about doing this before #128 is done. Once we switch to urllib3, we'll get connection retries for free (yay!). |
Hi, |
@tcroiset I'm working on this now, and pending code reviews I hope to have 3.0.0 out by mid-october. |
Hi,
Do you think the change you're working on will handle that too or it's a different issue? |
Sorry, I thought that was a more centralized project for Google's wider oauth efforts. I've filed golang/oauth2#203. |
…n retries, with a total delay of 60 seconds. Fixes googleapis#581
Thank you for creating this issue, however, this project is deprecatedand we will only be addressing critical security issues. You can read moreabout this deprecation here. If you need support or help using this library, we recommend that you ask yourquestion on StackOverflow. If you still think this issue is relevant and should be addressed, pleasecomment and let us know! |
GCE metadata server not only is not 100% reliable, but even does not have an SLA!
This means users of oauth2client.contrib.gce.AppAssertionCredentials (for example) are affected by transient "connection refused" errors, such as this:
This code should do retries with exponential backoff.
The text was updated successfully, but these errors were encountered: