-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Vault +v1.9 - no_proxy is ignored #15021
Comments
Hi anthosz, thanks for logging this issue, I'm going to take a look and see if I can help out. Would it be possible for you to help me figure out a robust way to easily reproduce this? I see you have some steps in the initial report, thanks for that, but I was wondering if maybe we would be able to come up with a set of steps that allowed us to reproduce it with Vault running in dev server mode? What set up would we need and what would trigger the error you're seeing? With regards to the environment variables You are setting:
You are not setting:
The reason I ask about not setting The last thing I wanted to check was:
So just to double check, when you run Vault setting
Thanks again for reporting this and for your help. |
Hi @peteski22, I just try few matrix with the last version of Vault (issue started on v1.9.0) and at the end it works: For the example, let's use: Matrix:
So for me, the issue is "fixed" but it didn't works as expected or maybe the doc need to be updated (as far as I see, it was supposed to be transparent for existing env)? Thank you! |
Thanks for getting back @anthosz. Hmmn. Whilst I am glad it seems to be fixed for you, let's see if we can figure out what would make things more clear in the docs? I'm still curious about the environment variables set in each of the three items in your matrix, could you provide an example like this?
My understanding of the default behaviour ( If the request is HTTP then the underlying Go package attempts to resolve a parsed URL from the After this, if the selected (HTTP/HTTPS) proxy URL is If the selected proxy URL is present, the request address is passed to This doesn't seem to line up with what you're experiencing. Furthermore, when supplying We could update the documentation to make it very clear that supplying Thanks again for taking the time to post this bug, and to reply to my questions. |
@peteski22
I hope it's more clear now :) Don't hesitate if you need more informations. |
little update few weeks later.. New deploy was done: If we back to the previous table:
I have the feeling that I mixed few versions during my last tests.. To summarize, unable to use Vault between v1.9.x & v1.10.x. v1.8.x is ok. |
I'm a little late to the party and am trying to understand as well as relate to what's next? My understanding is that:
Hey @anthosz I was wondering:
|
Hi @aphorise ,
|
Linking: #15377 just for reference. (better late than never). |
Describe the bug
NO_PROXY env doesn't works anymore since upgrade from v1.8 to v1.9.4
To Reproduce
Steps to reproduce the behavior:
export VAULT_API_ADDR="https://vault:8200" VAULT_CLUSTER_ADDR="https://vault:8201" ETCD_ADDR="https://etcd1:2379" HTTPS_PROXY="http://PROXY:PORT/" NO_PROXY="etcd1"; vault server -config /vault
Expected behavior
I expect that proxy is ignored for etcd1 server.
Environment:
vault status
): 1.9.4vault version
): 1.9.4Additional context
If I rollback to v1.8, all works.
With Vault 1.9, it seems to force the proxy and to ignore the no_proxy env even it's set in the logs.
Seems related to PR #12582
I also tried to unset/set VAULT_HTTP_PROXY / no_proxy / NO_PROXY but always the same issue.
The text was updated successfully, but these errors were encountered: