Unable to login to Vault via CLI

Viewed 810

When I try to log in to Vault using the CLI:

vault login ${MY_SUPER_SECRET_TOKEN}

I get the error: Error authenticating: empty response from lookup-self

I am able to log in via the UI using a Token or OIDC.

vault read auth/token/lookup-self looks OK.

Setup is the same as other Vault setups that are CLI-working but I can't seem to pin down where the error is in this one.

1 Answers

The error was related to the Vault server being unreachable due to firewall.

Related