-
Notifications
You must be signed in to change notification settings - Fork 388
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
Incorrect Metadata-Flavor header when calling universe_domain from a Storage/PubSub client #1946
Comments
Experiencing the same when using pubsub on AppEngine. Randomly started throwing |
Hi,
and
Updating Solution:
|
Same, on pub-sub, Error:
versions, package lock:
This is on GKE, and curl to metadata api from within the machine/pod resolves just fine, except i'm not sure what elements suppose to be expected for this response to be valid enough. |
Note that in our case it's a third party software that can't be updated easily. Also I would expect Compute Engine not to break functionality unexpectedly with recent versions of this library. The library expects the |
We're facing the same issue, with GAE, and only in the The bump of the |
Started running into this on GCE VMs using |
Please make sure you have searched for information in the following guides.
A screenshot that you have tested with "Try this API".
It's the GCE internal metadata service.
Link to the code that reproduces this issue. A link to a public Github Repository or gist with a minimal reproduction.
https://gist.github.com/ernestoalejo/4e998384aed6f075277569c687bdc6d8
A step-by-step description of how to reproduce the issue, based on the linked reproduction.
I started to receive an unexpected error when initializing a storage client. The client calls the metadata server to retrieve the application default credentials but one of the calls is to universe_domain which doesn't returns any Metadata-Flavor header at all.
The full stacktrace:
I can't update the library version, is a third party software application which is not under our control.
When I curl the endpoint manually from the machine it doesn't return the header. In fact it accepts any header in the request or even no header at all and never returns its value like other endpoints:
A clear and concise description of what the bug is, and what you expected to happen.
I know 9.7.0 is not the latest version of this library, but it's a third party software and I would totally expect the metadata server to keep working in GCE for existing software. Also it's not too old and I would expect a recent version of this library to keep working.
A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. **
The issue is with internal universe_domain call and the metadata service, there isn't public information to reference.
The text was updated successfully, but these errors were encountered: