FTP doesn't time out on ftp.ciril.fr

  • Done
  • quality assurance status badge
Details
2 participants
  • Ian Dunn
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ian Dunn
Severity
normal
I
I
Ian Dunn wrote on 28 May 2017 21:53
(address . bug-guix@gnu.org)
87fufowyfx.fsf@escafil
Some of the perl links from cpan aren't up to date, so guix will try to cycle 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

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.tar.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). Is there a way to specify the timeout in guix?

--
Ian Dunn
L
L
Ludovic Courtès wrote on 1 Jun 2017 13:41
(name . Ian Dunn)(address . dunni@gnu.org)(address . 27119@debbugs.gnu.org)
8760gg2avk.fsf@gnu.org
Hello Ian,

Ian Dunn <dunni@gnu.org> skribis:

Toggle quote (14 lines)
> Some of the perl links from cpan aren't up to date, so guix will try to cycle 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/DROLSKY/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.tar.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’ve tried from a couple of networks as well as over Tor and I cannot
reproduce it. Does it still happen for you? (Specifically I used ‘guix
download’ or ‘wget’ with the URL above.)

Toggle quote (2 lines)
> Is there a way to specify the timeout in guix?

The ‘ftp-open’ procedure in (guix ftp-client) does allow you to specify
a timeout when opening the connection. In (guix build download), which
is what is used when running “guix build perl-datetime”, we specify a
default timeout of 10 seconds. This timeout cannot be changed from the
‘guix’ command line though.

Thanks for your report,
Ludo’.
L
L
Ludovic Courtès wrote on 20 Jul 2017 17:54
control message for bug #27119
(address . control@debbugs.gnu.org)
87lgnjqf2c.fsf@gnu.org
tags 27119 unreproducible
close 27119
?
Your comment

This issue is archived.

To comment on this conversation send an email to 27119@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 27119
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch