up icon indicating copy to clipboard operation
up copied to clipboard

up ignores https_proxy environment variable

Open AlectoTheFirst opened this issue 2 years ago • 0 comments

What happened?

Behind a Corporate Proxy and no external DNS resolution (DNS resolution must happen at Proxy end) up login fails with:

up login Username: something Password: something

up: error: unable to login: Post "https://api.upbound.io/v1/login": dial tcp: lookup api.upbound.io on ipfromourdns:53: no such host

Attempted settings both upper and lowercase https_proxy environment. Attempted running: HTTPS_PROXY=http://someproxy:8080 up login

How can we reproduce it?

Make sure no external (public) DNS resolution is possible and Internet access is only possible via HTTP Proxy Attempt to login to upbound API/Marketplace

What environment did it happen in?

up v0.15.0 from official homebrew-tap on macos ventura 13.2 (x86) (brew install upbound/tap/up)

AlectoTheFirst avatar Mar 02 '23 15:03 AlectoTheFirst