-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requests attempt fails when it is trying to verify a token with TransportError #167
Comments
I don't quite understand. Are you implying that you're using a too old version of requests? Admin SDK uses |
@hiranya911 you are right. Requests is the latest so I don't know why that is happening. If I understand well there shouldn't be any limitation on the number of requests for the verification of a token |
The above error has nothing to do with exceeding a quota. It's a low-level network error -- possibly a Firewall issue or something of the sorts. Is this something that happens all the time, or only occasionally? |
It doesn’t happen all the time but actually always if a user with a valid token has performed the same request repeatedly and the routine above checks if it is expired. The issue seems to be related with token verification imho. |
Try sending some GET requests to |
You should also try with the latest release of the SDK (2.10.0), which caches public key certificates thereby avoiding calling the above URL on each invocation of |
That's cool and likely one good reason to upgrade the SDK. Give a try and I'll let you know. Thanks @hiranya911 |
Upgrading to latest with cache looks good. Issue disappeared |
Does a quite old version of Requests library matter?
Describe your environment
Describe the problem
The problem is described here
Steps to reproduce:
Relevant Code:
The text was updated successfully, but these errors were encountered: