-
Notifications
You must be signed in to change notification settings - Fork 81
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
[23.6.0] vault-agent - http2: invalid Upgrade request header: ["h2c"] #811
Comments
@gg718 Thank you for reporting this, our acceptance test run against Vault binary directly hence we didn't observe this issue. We have changed the underlying http library from vertx to standard Java. Can you provide further information in order for us to reproduce this issue:
|
@gg718 I tried to reproduce this issue using docker compose but unable to reproduce it. I setup non-tls mode i.e. w3s -> agent -> vault (all non-tls) with See https://github.com/usmansaleem/signers_docker_compose/tree/main/web3signer-hashicorp-agent. The vault agent configuration file is here. The error you are observing is most likely happening because of some configuration in vault agent (or vault) which is resulting in failure of We have few solutions that we can implement on w3s side (assuming that it can't be solved in vault or vault-agent configuration):
We are more inclined to implement the third option as a workaround. Let me know your thoughts. |
@usmansaleem Here are the relevant bits from the Vault Agent config file: vault {
address = "https://vault.example.com" // load balancer endpoint
}
listener "tcp" {
address = "0.0.0.0:8200"
tls_disable = true
}
cache {
use_auto_auth_token = "force"
} Note that I am using Vault Agent v1.13.4 as a proxy, not the new Vault Proxy feature released in Vault v1.14.0. And yes, I agree - I think the third option makes the most sense. 👍 Also, would it be possible to make |
@gg718 What kind of load balancer you are using? nginx or some other software? Is it possible that there is a misconfigure HTTP/2 on load balancer? |
Just upgraded to Web3Signer v23.6.0 and started seeing this error in my vault-agent proxy logs:
This error was not happening in v23.3.1 so seems to be a new bug.
Config example:
Where
localhost:8200
is the local port my Vault Agent is listening on.The text was updated successfully, but these errors were encountered: