-
Notifications
You must be signed in to change notification settings - Fork 620
Google Cloud Functions: Could not authenticate request #2158
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
Comments
Hi @leonardoam. Thanks for reporting. At the moment, I am just acking your issue. I am not sure what to do (but giving it some background thought while I hope someone else speaks up). |
Possibly related to #2139. |
@leonardoam is there a way to find out which version of |
Sorry @leonardoam, that was bad information. We didn't actually release the fix yet, but I am even more certain now that it will resolve this issue. This issue is another flavor of #1908, which reported this same error in Compute Engine environments. I'm going to close and try to remember to ping you when we release an update (hopefully the coming days), and we'll re-investigate if it turns out not to be the fix. Sorry for the trouble. |
@leonardoam Release party is happening now, so this should be good to go in a couple hours. |
Thanks guys. What version will this fix affect? |
@leonardoam Should be fixed in the newest version, which for storage is 1.0.0. |
What is the newest version? I'm seeing this error on "@google-cloud/[email protected]" inside of a Google Cloud Functions routine.
it's not happening for every queue item, it's sporadic. |
I too am confused. What modules need to be updated to what version to resolve this issue? |
@Chandler same issue, it's happen sometimes. did you find solution?? |
Uh oh!
There was an error while loading. Please reload this page.
I am using a node.js function on Google Cloud Functions to save Pub/Sub messages to GCS (Storage), but it randomly gives me the following error for some messages (most of the messages are succesfully written):
"Error: Could not authenticate request. Could not load the default credentials. Browse to https://developers.google.com/accounts/docs/application-default-credentials for more information."
It doesn't make sense, once running on GCE would use same service-account for all messages, which has the proper permissions, and all messages comes from the same source and goes to the same destination. Can someone enlighten me on what could I do?
I'm using google-cloud/storage version 0.8.0.
The text was updated successfully, but these errors were encountered: