-
Notifications
You must be signed in to change notification settings - Fork 1.7k
DefaultCredentialsError intermittently in google-cloud-storage running in Cloud Dataflow #4358
Copy link
Copy link
Closed
Labels
authstatus: investigatingThe issue is under investigation, which is determined to be non-trivial.The issue is under investigation, which is determined to be non-trivial.
Description
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:
File "/usr/local/lib/python2.7/dist-packages/google/cloud/datastore/client.py", line 204, in __init__
project=project, credentials=credentials, _http=_http)
File "/usr/local/lib/python2.7/dist-packages/google/cloud/client.py", line 212, in __init__
Client.__init__(self, credentials=credentials, _http=_http)
File "/usr/local/lib/python2.7/dist-packages/google/cloud/client.py", line 125, in __init__
credentials, _ = google.auth.default()
File "/usr/local/lib/python2.7/dist-packages/google/auth/_default.py", line 286, in default
raise exceptions.DefaultCredentialsError(_HELP_MESSAGE)
DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or
explicitly create credential and re-run the application. For more
information, please see
https://developers.google.com/accounts/docs/application-default-credentials.Dataflow auto-retries the operation a few times, but it also fails all the retries.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
authstatus: investigatingThe issue is under investigation, which is determined to be non-trivial.The issue is under investigation, which is determined to be non-trivial.