0

I want to download a file from The European Bioinformatics Institute. When I use wget or axel in my lab's Ubuntu server, it pauses forever. However, when I use Ubuntu installed on my Windows as linux subsystem for windows, it works well. Note, the server and my linux are using the same public IP, so they ought to be equally reachable to the ebi server. I have tried to ping ftp.sra.ebi.ac.uk. Again, it works well on my PC while pauses forever on the server:

ping ftp.sra.ebi.ac.uk
PING oy-ftp-sra.ebi.ac.uk (193.62.192.7) 56(84) bytes of data.

This problem has haunted myself and other lab members. Hope someone can help.

Thank you!


Wget logs for IK002.bam.bai:

My own machine:

$ wget ftp://ftp.sra.ebi.ac.uk/vol1/run/ERR258/ERR2583795/IK002.bam.bai
Will not apply HSTS. The HSTS database must be a regular and
non-world-writable file. ERROR: could not open HSTS store at
'/home/john/.wget-hsts'. HSTS will be disabled.
--2019-09-02 16:20:54--  ftp://ftp.sra.ebi.ac.uk/vol1/run/ERR258/ERR2583795/IK002.bam.bai
           => ‘IK002.bam.bai’ Resolving ftp.sra.ebi.ac.uk (ftp.sra.ebi.ac.uk)... 193.62.192.7 Connecting to ftp.sra.ebi.ac.uk
(ftp.sra.ebi.ac.uk)|193.62.192.7|:21... connected. Logging in as
anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /vol1/run/ERR258/ERR2583795 ... done.
==> SIZE IK002.bam.bai ... 7987872
==> PASV ... done.    ==> RETR IK002.bam.bai ... done. Length: 7987872 (7.6M) (unauthoritative)

IK002.bam.bai      100%[===============>]   7.62M  60.3KB/s    in 2m
12s

2019-09-02 16:23:13 (59.1 KB/s) - ‘IK002.bam.bai’ saved [7987872]

Server:

$ wget ftp://ftp.sra.ebi.ac.uk/vol1/run/ERR258/ERR2583795/IK002.bam.bai
--2019-09-02 16:22:46--  ftp://ftp.sra.ebi.ac.uk/vol1/run/ERR258/ERR2583795/IK002.bam.bai
           => ‘IK002.bam.bai’ Resolving ftp.sra.ebi.ac.uk (ftp.sra.ebi.ac.uk)... 193.62.192.7 Connecting to ftp.sra.ebi.ac.uk
(ftp.sra.ebi.ac.uk)|193.62.192.7|:21... failed: Connection timed out.
Retrying.

--2019-09-02 16:24:58--  ftp://ftp.sra.ebi.ac.uk/vol1/run/ERR258/ERR2583795/IK002.bam.bai  
(try: 2) => ‘IK002.bam.bai’ Connecting to ftp.sra.ebi.ac.uk
(ftp.sra.ebi.ac.uk)|193.62.192.7|:21... failed: Connection timed out.
Retrying.

$ sudo traceroute --icmp 193.62.192.7
traceroute to 193.62.192.7 (193.62.192.7), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

$ ip -4 route get 193.62.192.7
193.62.192.7 via 10.10.0.254 dev eno1 src 10.10.0.195 uid 1000
    cache

$ ip -4 route show match 193.62.192.7
default via 10.10.0.254 dev eno1 proto dhcp src 10.10.0.195 metric 100
  • 1
    Can you show us wget log files for both machines? – Martin Prikryl Sep 2 at 8:19
  • From your server: Can you ping "ac.uk"? Can you ping any other domain, like "superuser.com"? – Sevron Sep 2 at 8:22
  • @Sevron Since ac.uk is a root domain like .edu, it can't be pinged. Pinging superuser.com works well. I have also tried to download using ip address. Still, it only works on my PC. – John Smith Sep 2 at 8:25
  • @MartinPrikryl OK. – John Smith Sep 2 at 8:27
  • Run tcpdump -n -v -i eth0 "host 193.62.192.7" on the problematic system – does this show any packets while wget is trying to connect? If it does, are they all outgoing packets or does it also show responses coming in? – grawity Sep 2 at 8:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.