kuberlr icon indicating copy to clipboard operation
kuberlr copied to clipboard

kuberlr does not support Windows system proxy

Open mook-as opened this issue 3 years ago • 2 comments

(Originally filed as https://github.com/rancher-sandbox/rancher-desktop/issues/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.

mook-as avatar Oct 21 '21 17:10 mook-as

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...

flavio avatar Oct 22 '21 07:10 flavio

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.

mook-as avatar Oct 22 '21 16:10 mook-as