all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#34090: URLs / ftp servers the ftp client can't handle well
@ 2019-01-16  0:41 Caleb Ristvedt
  0 siblings, 0 replies; only message in thread
From: Caleb Ristvedt @ 2019-01-16  0:41 UTC (permalink / raw)
  To: 34090

"guix download ftp://tug.org/historic/systems/texlive/2018/texlive-20180414-texmf.tar.xz"

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:
https://paste.debian.net/1060773/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-16  0:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-16  0:41 bug#34090: URLs / ftp servers the ftp client can't handle well Caleb Ristvedt

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.