all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Ian Dunn <dunni@gnu.org>
Cc: 27119@debbugs.gnu.org
Subject: bug#27119: FTP doesn't time out on ftp.ciril.fr
Date: Thu, 01 Jun 2017 13:41:35 +0200	[thread overview]
Message-ID: <8760gg2avk.fsf@gnu.org> (raw)
In-Reply-To: <87fufowyfx.fsf@escafil> (Ian Dunn's message of "Sun, 28 May 2017 15:53:06 -0400")

Hello Ian,

Ian Dunn <dunni@gnu.org> skribis:

> 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.)

> 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’.

      reply	other threads:[~2017-06-01 11:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-28 19:53 bug#27119: FTP doesn't time out on ftp.ciril.fr Ian Dunn
2017-06-01 11:41 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760gg2avk.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=27119@debbugs.gnu.org \
    --cc=dunni@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.