You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the InstanceMetadata authentication, the default hyper client only enforces https, and the call to the metadata server fails (returning the following error: Token retrieval failed with error: error trying to connect: Unsupported scheme http)
My current solution is to simply create a custom client as seen below:
We had a discussion about this some time ago, the argument in favor of the current state was that HTTPS should (obviously) be preferred and thus enforced. However, I definitely see the problem of this case.
When using the InstanceMetadata authentication, the default hyper client only enforces https, and the call to the metadata server fails (returning the following error:
Token retrieval failed with error: error trying to connect: Unsupported scheme http
)My current solution is to simply create a custom client as seen below:
The text was updated successfully, but these errors were encountered: