-
Notifications
You must be signed in to change notification settings - Fork 257
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
Gapic::UniverseDomainMismatch
errors after updating to googleauth 1.12.0
#508
Comments
Could be related to #504 |
Thanks. I'm looking at it now. |
@tartakynov Which call is raising the exception? (Which method are you calling in the bigtable client?) Can you post a full stack trace? |
@dazuma here's the partial stacktrace
The code that raises looks like this project = Google::Cloud::Bigtable.new(**options)
project.table(instance_id, table_name) |
@tartakynov Thanks! First, I suggest updating your If it doesn't resolve the problem, can you provide the following:
|
@dazuma Unfortunately we can't upgrade to gapic-common 0.23.0 yet because we're locked into grpc < 1.65 for now and gapic-common versions 0.23.0 and onwards depend on grpc >= 1.65 |
@tartakynov I see. Unfortunately I don't think we can loosen the grpc dependency, due to protobuf compatibility issues. Your workaround may continue to work for now, though it's still puzzling me a bit why this is happening, and I'd love to get to the bottom of it. Do you have answers to the three questions I posted above a few minutes ago?
(EDIT: nvm that last item; your stacktrace implies that it is indeed not set.) |
Just confirmed that updating gapic-common gem to 0.24.0 resolves the issue. But we can't do that in production due to the issue I mentioned earlier @dazuma here are the answers to your questions
Google Kubernetes Engine
We're not setting any credentials-related environment variables Thank you for looking into this 🙇 |
Thanks for your help on this! We have a fix (#509) that we will try to get reviewed and pushed out in the next few hours. |
@tartakynov Okay, googleauth 1.12.2 is released. Let me know if it fixes your issue. (Feel free to reopen if it doesn't.) |
@dazuma confirm that version 1.12.2 fixes the issue for us. Thank you for promptly resolving this! 🙇 |
After updating the googleauth gem from 1.11.2 to version 1.12.0, we're getting
Gapic::UniverseDomainMismatch
errors when trying to access BigTable.The only documented change in this version was the addition of an optional debug logger. It seemed strange that this minor change would cause the error, so I looked into the code for other differences. I discovered that the update stopped fetching the access token (see here).
I tested if eagerly fetching the access token would fix the issue
And indeed this seems to fix the issue - no more
Gapic::UniverseDomainMismatch
errors.Libraries used:
The text was updated successfully, but these errors were encountered: