From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 01 07:41:48 2017 Received: (at 27119) by debbugs.gnu.org; 1 Jun 2017 11:41:48 +0000 Received: from localhost ([127.0.0.1]:48633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGOU8-0008Hq-H0 for submit@debbugs.gnu.org; Thu, 01 Jun 2017 07:41:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGOU7-0008Hb-Im for 27119@debbugs.gnu.org; Thu, 01 Jun 2017 07:41:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGOTx-00020Q-RE for 27119@debbugs.gnu.org; Thu, 01 Jun 2017 07:41:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGOTx-00020M-O1 for 27119@debbugs.gnu.org; Thu, 01 Jun 2017 07:41:37 -0400 Received: from [193.50.110.69] (port=42432 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dGOTx-0007Nd-1i; Thu, 01 Jun 2017 07:41:37 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Ian Dunn Subject: Re: bug#27119: FTP doesn't time out on ftp.ciril.fr References: <87fufowyfx.fsf@escafil> Date: Thu, 01 Jun 2017 13:41:35 +0200 In-Reply-To: <87fufowyfx.fsf@escafil> (Ian Dunn's message of "Sun, 28 May 2017 15:53:06 -0400") Message-ID: <8760gg2avk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27119 Cc: 27119@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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.