-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
DefaultCredentialsError intermittently in google-cloud-storage running in Cloud Dataflow #4358
Comments
That's very interesting! Is it safe to assume you are setting credentials via the We should probably move this over to the https://github.com/GoogleCloudPlatform/google-auth-library-python/ issue tracker? |
Could be something in the auth library, could also be related to GCE. Interestingly, the problem doesn't happen when I run locally on my computer. Versions: |
@dmho418 I see. I'd bet that it's failing the request to the GCE metadata server (and all other methods for "auto-detecting" the credentials). |
Seems to be the case. I moved some things around and now I'm getting the following error on the 4th call:
Where should this bug go then? |
@dmho418 That error certainly looks more actionable! For now, let's put it in googleapis/google-auth-library-python#211 |
I'm having an issue similar to #2995
I'm calling the google-cloud-storage API, after a few thousand successful calls, it suddenly crashes with the following error:
Dataflow auto-retries the operation a few times, but it also fails all the retries.
The text was updated successfully, but these errors were encountered: