Skip to content
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 is no longer able to connect to Vault server running on private network with VPN #33507

Closed
6 tasks done
tglawless opened this issue Oct 30, 2018 · 3 comments
Closed
6 tasks done
Labels
outdated PR was locked due to age

Comments

@tglawless
Copy link

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
  • have a problem with brew install (or upgrade, reinstall) a single, official formula (not cask)? If it's a general brew problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
  • ran brew update and can still reproduce the problem?
  • ran brew doctor, fixed all issues and can still reproduce the problem?
  • ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
  • if brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

  • What you were trying to do (and why)
    I'm updating Vault which I use as a client on my Mac to connect to a Vault server over a VPN connection.

  • What happened (include command output)
    I upgraded from Vault v0.10.2 to v0.11.4 and Vault is no longer able to resolve the IP address using the DNS servers provided by my VPN connection.

brew install vault --with-dynamic
Warning: vault: this formula has no --with-dynamic option so it will be ignored!
==> Downloading https://homebrew.bintray.com/bottles/vault-0.11.4.high_sierra.bottle.tar.gz
Already downloaded: /Users/<USER_NAME>/Library/Caches/Homebrew/downloads/4680f47e4251390885a1a98bc508e9b988cdae247232b146518724b4991a11ba--vault-0.11.4.high_sierra.bottle.tar.gz
==> Pouring vault-0.11.4.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/vault/0.11.4: 6 files, 91.0MB
  • What you expected to happen
    Vault v0.11.4 should support the --with-dynamic option as v0.10.2 did allowing me to install vault with cgo enabled.

  • Step-by-step reproduction instructions (by running brew install commands)

  1. brew install vault --with-dynamic
  2. See wanring Warning: vault: this formula has no --with-dynamic option so it will be ignored!
  3. When connecting to Vault server over VPN, Vault displays error: Error authenticating: Put https://<HOSTNAME>/v1/auth/github/w3-rre/login: dial tcp: lookup <HOSTNAME> on 192.168.1.1:53: no such host
@fxcoudert
Copy link
Member

How is installing without ago linked to your authentification error?

@tglawless
Copy link
Author

The error isn't an authentication error. It's a DNS lookup error. For reference see this issue: #7238

@fxcoudert
Copy link
Member

  • We are trying to cut down the number of options used in Homebrew
  • --with-dynamic was rarely used (0.91% of installs)
  • Upstream ships static versions.
  • It really sounds more like a bug with go, that should be fixed there.

For these reasons, I am going to close this, as we are not going to revert.

@lock lock bot added the outdated PR was locked due to age label Nov 29, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Nov 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

2 participants