GNU logs - #34090, boring messages

Message sent to bug-guix@HIDDEN:

X-Loop: help-debbugs@HIDDEN
Subject: bug#34090: URLs / ftp servers the ftp client can't handle well
Resent-From: Caleb Ristvedt <caleb.ristvedt@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 16 Jan 2019 00:42:02 +0000
Resent-Message-ID: <handler.34090.B.15475993018765 <at>>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 34090
X-GNU-PR-Package: guix
To: 34090 <at>
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> id=B.15475993018765
          (code B ref -1); Wed, 16 Jan 2019 00:42:02 +0000
Received: (at submit) by; 16 Jan 2019 00:41:41 +0000
Received: from localhost ([]:60463
	by with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1gjZH2-0002HJ-JD
	for submit <at>; Tue, 15 Jan 2019 19:41:40 -0500
Received: from ([]:52712)
 by with esmtp (Exim 4.84_2)
 (envelope-from <caleb.ristvedt@HIDDEN>) id 1gjZGy-0002H4-Ps
 for submit <at>; Tue, 15 Jan 2019 19:41:40 -0500
Received: from ([]:39919)
 by with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <caleb.ristvedt@HIDDEN>)
 id 1gjZGf-000205-1Z
 for submit <at>; Tue, 15 Jan 2019 19:41:17 -0500
Received: from ([]:34526)
 by with esmtp (Exim 4.71)
 (envelope-from <caleb.ristvedt@HIDDEN>) id 1gjZGe-0005po-1R
 for bug-guix@HIDDEN; Tue, 15 Jan 2019 19:41:16 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <caleb.ristvedt@HIDDEN>) id 1gjZGc-0001xF-Nb
 for bug-guix@HIDDEN; Tue, 15 Jan 2019 19:41:15 -0500
Received: from ([2607:f8b0:4864:20::b2f]:44010)
 by with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <caleb.ristvedt@HIDDEN>)
 id 1gjZGc-0001rP-96
 for bug-guix@HIDDEN; Tue, 15 Jan 2019 19:41:14 -0500
Received: by with SMTP id t16so1822869ybk.10
 for <bug-guix@HIDDEN>; Tue, 15 Jan 2019 16:41:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20150623;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025;
X-Gm-Message-State: AJcUukel8LF0McnGUvSLueTZfyfS/Mr5znCxin3a7uQfGx/G7+sCq0CY
X-Google-Smtp-Source: ALg8bN48dOi+vfppwHI0nF1FUYFLg36FywWPC+12YYhN59cP7+QEgh24y7vlXXsF9nkMF+ClmHCDVg==
X-Received: by 2002:a25:b51:: with SMTP id 78mr5289076ybl.93.1547599269146;
 Tue, 15 Jan 2019 16:41:09 -0800 (PST)
Received: from GuixPotato ([])
 by with ESMTPSA id j12sm1717547ywk.43.2019.
 for <bug-guix@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 15 Jan 2019 16:41:08 -0800 (PST)
From: Caleb Ristvedt <caleb.ristvedt@HIDDEN>
Date: Tue, 15 Jan 2019 18:41:03 -0600
Message-ID: <87r2ddfn8g.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by Genre and OS details not
X-Received-From: 2607:f8b0:4864:20::b2f
X-detected-operating-system: by GNU/Linux 2.6.x
X-Spam-Score: 0.9 (/)
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: -0.1 (/)

"guix download"

gets stuck when the progress reporter reports 100%. Strace reveals it's
stuck reading from a socket. Some manual print-statement debugging
confirmed that it's trying to read from the FTP RETR port created by
FTP-RETR in (guix ftp-client), which in turn is trying to read from the
ftp data transfer socket. Initially I thought it was somehow failing to
detect EOF (guile bug or something) because wget managed to download it
just fine, but it actually turns out the EOF isn't being sent at all,
even though the standard pretty clearly states it must be.

Thankfully wget has a --debug flag, so I used that and got this output:

It turns out wget actually gives up on downloading it once, but then
re-opens both control and data connections and resumes where it left off
using the REST ftp command, and that somehow works (it finishes
downloading another 204 bytes and does get EOF).

It seems that our options are either to not try getting stuff from weird
servers like that, or to make our ftp client more robust. For what it's
worth, I remember getting this problem on a smaller download as well
(tens of MB), but don't remember what it was. Anyone have any other URLs
to try from this server?

- reepca

Message sent:

Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Caleb Ristvedt <caleb.ristvedt@HIDDEN>
Subject: bug#34090: Acknowledgement (URLs / ftp servers the ftp client
 can't handle well)
Message-ID: <handler.34090.B.15475993018765.ack <at>>
References: <87r2ddfn8g.fsf@HIDDEN>
X-Gnu-PR-Message: ack 34090
X-Gnu-PR-Package: guix
Reply-To: 34090 <at>
Date: Wed, 16 Jan 2019 00:42:02 +0000

Thank you for filing a new bug report with

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):

If you wish to submit further information on this problem, please
send it to 34090 <at>

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.