Comment 5 for bug 349860

Revision history for this message
Bryan Donlan (bdonlan) wrote :

The problem appears to be slow DNS servers for cern.ch:

# wget --continue --tries=1 --dns-timeout=10 --connect-timeout=5 --read-timeout=300 --directory-prefix . -c ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz
--2009-12-28 10:54:17-- ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz
           => `./ttf_fonts.tar.gz'
Resolving root.cern.ch... failed: Connection timed out.
wget: unable to resolve host address `root.cern.ch'

If I change the timeouts to 20 seconds:
# wget --continue --tries=1 --dns-timeout=20 --connect-timeout=20 --read-timeout=300 --directory-prefix . -c ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz
--2009-12-28 10:54:37-- ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz
           => `./ttf_fonts.tar.gz'
Resolving root.cern.ch... 128.142.141.37
Connecting to root.cern.ch|128.142.141.37|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /root/ttf ... done.
==> SIZE ttf_fonts.tar.gz ... 1612860
==> PASV ... done. ==> RETR ttf_fonts.tar.gz ... done.
Length: 1612860 (1.5M)

So the timeouts should be changed, and/or canonical should mirror this file.