You are not logged in.

#1 2009-11-15 12:05:14

corsakh
Member
Registered: 2009-11-08
Posts: 104

FTP connection times out

For some reason, I have troubles downloading stuff from FTPs. Maybe its a linux problem, maybe routers, maybe ISP's - I dont know. I can not use Arch FTP mirrors, they just time out. If I try to install an AUR package that requires an ftp download, it typically goes like this:

==> Retrieving Sources...
  -> Downloading linux-2.6.31.tar.bz2...
--2009-11-16 10:00:51--  ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.tar.bz2
           => "linux-2.6.31.tar.bz2.part"
Resolving ftp.kernel.org... 130.239.17.4, 149.20.20.133, 199.6.1.164, ...
Connecting to ftp.kernel.org|130.239.17.4|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/linux/kernel/v2.6 ... done.
==> SIZE linux-2.6.31.tar.bz2 ... 61494822
==> PASV ... done.    ==> RETR linux-2.6.31.tar.bz2 ... done.
Length: 61494822 (59M) (unauthoritative)

 0% [                                       ] 0           --.-K/s  ^C
==> ERROR: Aborted by user! Exiting...

I pressed ctrl-c because it does not go anywhere.

I always had problems with FTPs in Windows too. I am not sure where to begin looking.

Last edited by corsakh (2009-11-15 12:06:28)

Offline

#2 2009-11-15 12:15:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: FTP connection times out

If it's happening in different OSes, look at your router and/or your ISP.

In the meanwhile, use HTTP where possible - obviously, this won't be available everywhere, but it will work for Arch mirrors and kernel source downloads.

Offline

#3 2009-11-15 12:31:36

briest
Member
From: Katowice, PL
Registered: 2006-05-04
Posts: 468

Re: FTP connection times out

As you see the problem in Windows too, I'd say it's ISP or router related. Is the "router" you mention under your control? Maybe try to connect your computer directly and check if the problem persists.

Looks like one typical problem with badly configured firewall (local, on some kind of router, ...), made with no respect to FTP oddities wink
Your FTP client cannot get data connection working (FTP uses two connections - one for commands, one for actual data transfer). The latter is often problematic when it comes to firewalls, because it either comes FROM server TO client ("active" mode) or uses some random (usually high) port, negotiated via control connection ("passive" mode). So, firewalls have to inspect control connection, look for negotiating data connection and either let the "reverse" connection in or, if outgoing traffic is also filtered, open access to this random port.

Last edited by briest (2009-11-15 12:33:23)

Offline

#4 2009-11-15 13:09:47

corsakh
Member
Registered: 2009-11-08
Posts: 104

Re: FTP connection times out

Yep, when I issue ls command on an FTP server, it says it goes into passive mode and timeout occurs after that.

Router is under my control, its Bipac 7300A if that helps. I have a couple of bittorent rules assigned in it, but thats it. I spoke to ISP, they don't seem to know what the problem is.

Offline

Board footer

Powered by FluxBB