From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27119: FTP doesn't time out on ftp.ciril.fr Date: Thu, 01 Jun 2017 13:41:35 +0200 Message-ID: <8760gg2avk.fsf@gnu.org> References: <87fufowyfx.fsf@escafil> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGOUQ-0007lQ-NU for bug-guix@gnu.org; Thu, 01 Jun 2017 07:42:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGOUM-00024O-E0 for bug-guix@gnu.org; Thu, 01 Jun 2017 07:42:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45956) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGOUM-00024H-9v for bug-guix@gnu.org; Thu, 01 Jun 2017 07:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dGOUM-0008IH-4K for bug-guix@gnu.org; Thu, 01 Jun 2017 07:42:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87fufowyfx.fsf@escafil> (Ian Dunn's message of "Sun, 28 May 2017 15:53:06 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ian Dunn Cc: 27119@debbugs.gnu.org Hello Ian, Ian Dunn skribis: > Some of the perl links from cpan aren't up to date, so guix will try to c= ycle through its mirrors. The problem is that the second one is ftp.ciril.= fr, which doesn't time out (or if it does, not for at least 30 minutes). > > For example, here's the result of "guix build perl-datetime": > > Starting download of /gnu/store/mc2xj0cga6a25zv2f73hbm44y1kyxa5y-DateTime= -1.18.tar.gz >>From http://mirror.ibcp.fr/pub/CPAN/authors/id/D/DR/DROLSKY/DateTime-1.18= .tar.gz... > ERROR: download failed "http://mirror.ibcp.fr/pub/CPAN/authors/id/D/DR/DR= OLSKY/DateTime-1.18.tar.gz" 404 "Not Found" > > Starting download of /gnu/store/mc2xj0cga6a25zv2f73hbm44y1kyxa5y-DateTime= -1.18.tar.gz >>From ftp://ftp.ciril.fr/pub/cpan/authors/id/D/DR/DROLSKY/DateTime-1.18.ta= r.gz... > > And it hangs for longer than I've ever let it run (I think the longest > I've seen it sit there is 30 minutes). I=E2=80=99ve tried from a couple of networks as well as over Tor and I cann= ot reproduce it. Does it still happen for you? (Specifically I used =E2=80= =98guix download=E2=80=99 or =E2=80=98wget=E2=80=99 with the URL above.) > Is there a way to specify the timeout in guix? The =E2=80=98ftp-open=E2=80=99 procedure in (guix ftp-client) does allow yo= u to specify a timeout when opening the connection. In (guix build download), which is what is used when running =E2=80=9Cguix build perl-datetime=E2=80=9D, we= specify a default timeout of 10 seconds. This timeout cannot be changed from the =E2=80=98guix=E2=80=99 command line though. Thanks for your report, Ludo=E2=80=99.