Comment 0 for bug 623193

Revision history for this message
Robert Rochford (ra-rochford) wrote :

$ 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