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

kuberlr does not support Windows system proxy #15

Open
mook-as opened this issue Oct 21, 2021 · 2 comments
Open

kuberlr does not support Windows system proxy #15

mook-as opened this issue Oct 21, 2021 · 2 comments

Comments

@mook-as
Copy link
Contributor

mook-as commented Oct 21, 2021

(Originally filed as rancher-sandbox/rancher-desktop#843)

On a Windows system with system-level proxy settings (i.e. Internet Explorer configuration), kuberlr does not appear to obey the proxy settings; instead, it only looks at the http_proxy environment variable (etc.). This provides an inferior out-of-box experience.

@flavio
Copy link
Owner

flavio commented Oct 22, 2021

I did a quick search, there doesn't seem to be a better way to solve this problem with Go applications.

On this stackoverflow I found a link to these nice instructions from CloudFoundry.

I think you have to configure Windows to set these environment variable...

@mook-as
Copy link
Contributor Author

mook-as commented Oct 22, 2021

Looking around, I see a https://github.com/rapid7/go-get-proxied that seems to call WinHttpGetProxyForUrl which should be correct here. I haven't looked too deeply at that, though; not sure what the quality of the package is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants