2010-08-24 07:17:06 |
Robert Rochford |
description |
$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Not sure what packages are involved, but considering quite a few items use wget internally (flash plugin, i think) this could be high priority
System -> Preferences -> Network Proxy
Manual Proxy, same for all protocols
proxy.mydomain.com:3128
Ignored Hosts
localhost
127.0.0.0/8
*.local
This sets the following environment variables:
$ env | grep -i proxy
NO_PROXY=localhost,127.0.0.0/8,*.local,
http_proxy=http://proxy.contecint.com.au:3128
ftp_proxy=ftp://proxy.contecint.com.au:3128/
all_proxy=socks://proxy.contecint.com.au:3128/
ALL_PROXY=socks://proxy.contecint.com.au:3128/
https_proxy=https://proxy.contecint.com.au:3128/
no_proxy=localhost,127.0.0.0/8,*.local,
With these settings wget fails to download:
$ wget http://apache.mirror.aussiehq.net.au/ant/binaries/apache-ant-1.8.1-bin.zip
This just hangs (we are behind a proxy)
Changing any/all proxy options in /etc/wgetrc DOES NOT FIX THIS.
I've traced the problem to the spurious "," at the end of environment variable no_proxy
i.e. the following works (remove the trailing ',')
$ export no_proxy=localhost,127.0.0.0/8,*.local
$ wget http://apache.mirror.aussiehq.net.au/ant/binaries/apache-ant-1.8.1-bin.zip |
$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Not sure what packages are involved, but considering quite a few items use wget internally (flash plugin, i think) this could be high priority
System -> Preferences -> Network Proxy
Manual Proxy, same for all protocols
proxy.mydomain.com:3128
Ignored Hosts
localhost
127.0.0.0/8
*.local
This sets the following environment variables:
$ env | grep -i proxy
NO_PROXY=localhost,127.0.0.0/8,*.local,
http_proxy=http://proxy.mydomain.com.au:3128
ftp_proxy=ftp://proxy.mydomain.com.au:3128/
all_proxy=socks://proxy.mydomain.com.au:3128/
ALL_PROXY=socks://proxy.mydomain.com.au:3128/
https_proxy=https://proxy.mydomain.com.au:3128/
no_proxy=localhost,127.0.0.0/8,*.local,
With these settings wget fails to download:
$ wget http://apache.mirror.aussiehq.net.au/ant/binaries/apache-ant-1.8.1-bin.zip
This just hangs (we are behind a proxy)
Changing any/all proxy options in /etc/wgetrc DOES NOT FIX THIS.
I've traced the problem to the spurious "," at the end of environment variable no_proxy
i.e. the following works (remove the trailing ',')
$ export no_proxy=localhost,127.0.0.0/8,*.local
$ wget http://apache.mirror.aussiehq.net.au/ant/binaries/apache-ant-1.8.1-bin.zip
|
|