plugin-proxy icon indicating copy to clipboard operation
plugin-proxy copied to clipboard

Could not resolve proxy - with authentication

Open iamvvra opened this issue 6 years ago • 1 comments

I have setup the proxy as detailed in the document. I have set the variables in the ~/.config/omf/before.init.fish with proxy_user, proxy_host and proxy_auth to configure my proxy and also to authenticate it. However when I toggle to proxy the plugin ask for system root password for read the keychain, but not the password in the terminal. I believe the plugin uses the username password set in the proxy of the network adapter.

When I curl a website, I get the error curl: (5) Could not resolve proxy: <proxy-host:port>

Also, I found that, proxy command failed, through the terminal notifier.

I couldn't fix this issue, can you please help on this.

PS: fisher -v fish, version 3.0.2

omf --version Oh My Fish version 6-31-g18821a5

iamvvra avatar Jun 03 '19 08:06 iamvvra

Try running set -Ux and seeing what values the plugin has set for:

http_proxy HTTP_PROXY
https_proxy HTTPS_PROXY
ftp_proxy FTP_PROXY
all_proxy ALL_PROXY

Those are the environment variables various tools use.

I didn't add the keychain stuff, so I'm not sure how it works exactly.

jhillyerd avatar Jun 03 '19 15:06 jhillyerd