-
Notifications
You must be signed in to change notification settings - Fork 211
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
Error 401 after some time running #473
Comments
@gfaramaz BigQuery does use Couple of followup questions
@JustinBeckwith any chance you've been seeing similar errors anywhere else? |
@callmehiphop We used version 2.0.6, and tried to update to 4.1.0, the error is still the same. Here is a log of the error for the lasts 7 days: June 3rd 2019, 04:17:04.047 |
👋 We haven't seen widespread reports of this, no. May I ask - which runtime environment is this in? Cloud Functions? Kubernetes Engine? App Engine? |
@JustinBeckwith We are running 3 pods of this particular code in kubernetes. Here is the last details I have:
|
@gfaramaz are you still experiencing this issue? Looks like the auth library has since made a patch and I'm wondering if it resolved this. |
Hello @callmehiphop , unfortunately I couldn't say, in order to solve this problem I have wrapped my BigQuery client objet into a singleton with a few hours expiration time, works fine. |
I also experience (presumably) the same issue. |
Greetings folks! I am 84% sure we fixed this one :) There was a problem in previous versions of If you are still experiencing this - please let me know! We would be happy to re-open the bug if it's still a problem. |
Hello,
I use the same BigQuery object to execute my queries and about once in a day i get this error
Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
The problem has already been reported here googleapis/google-cloud-node#2139 and then has been transferred and fixed as a
google-auth-library-nodejs
issue (googleapis/google-auth-library-nodejs#133).I am sure that the problem has been fixed in
google-auth-library-nodejs
but@google-cloud/bigquery
does not rely on this package and still have the issue.Environment details
@google-cloud/bigquery
version: 4.1.0Steps to reproduce
new BigQuery({ credentials: { client_email: 'foo@bar.com', private_key: 'xyz' } })
The text was updated successfully, but these errors were encountered: