unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: 45302@debbugs.gnu.org
Subject: bug#45302: Avahi substitute discovery keeps trying to ping unaccessible servers
Date: Mon, 21 Dec 2020 22:25:03 -0500	[thread overview]
Message-ID: <87k0tasesw.fsf@gmail.com> (raw)
In-Reply-To: <87lfdw72lq.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Thu, 17 Dec 2020 18:40:33 +0100")

Hello,

Pierre Neidhardt <mail@ambrevar.xyz> writes:

> I've set up my desktop and laptop to use the new substitute discovery
> feature, it's awesome!
>
> However, when I put my desktop to sleep and run a Guix command on my
> laptop that requires access to a sbustitute server, I see this:
>
> $ guix build ncdu
> substitute: guix substitute: warning: 10.0.0.5: connection failed: No route to host
> substitute: updating substitutes from 'http://ci.guix.gnu.org'... 100.0%
> 0.0 MB will be downloaded:
>    /gnu/store/p70r4maqgh6ghl25h5a99w7sf1jidap8-ncdu-1.15.1
> substituting /gnu/store/p70r4maqgh6ghl25h5a99w7sf1jidap8-ncdu-1.15.1...
>
>
> The warning
>
> substitute: guix substitute: warning: 10.0.0.5: connection failed: No route to host
>
>
> pops up on every download, which adds some 2s delay each time.  This
> makes the whole process much slower.
>
> For your information, Avahi does not find my desktop:
>
> $ sudo avahi-browse -al
> Password: 
> + wlp2s0 IPv6 FOO___s MacBook Pro                        _companion-link._tcp local
> + wlp2s0 IPv4 FOO___s MacBook Pro                        _companion-link._tcp local
>   C-c C-cGot SIGINT, quitting.

This reminds me of https://issues.guix.gnu.org/30290.  Perhaps if we can
fix that one it'd make this one go away too?.  I was thinking of having
a simple mean to reduce the request attempts on servers down for a long
while, such as entering dead periods (breaks): "I've tried X times, it
doesn't respond, I give up for the next Y minutes"; allowing for X and Y
to be configured via the <guix-publish-configuration> record.

Do you think this would help?

Maxim




  parent reply	other threads:[~2020-12-22  3:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-17 17:40 bug#45302: Avahi substitute discovery keeps trying to ping unaccessible servers Pierre Neidhardt
     [not found] ` <handler.45302.B.16082268462565.ack@debbugs.gnu.org>
2020-12-17 18:33   ` bug#45302: Acknowledgement (Avahi substitute discovery keeps trying to ping unaccessible servers) Pierre Neidhardt
2020-12-22  3:25 ` Maxim Cournoyer [this message]
2020-12-22  9:45   ` bug#45302: Avahi substitute discovery keeps trying to ping unaccessible servers Pierre Neidhardt
2021-01-11 13:24 ` Mathieu Othacehe
2021-01-18 11:14   ` Pierre Neidhardt
2021-01-26 10:53   ` Pierre Neidhardt

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87k0tasesw.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=45302@debbugs.gnu.org \
    --cc=mail@ambrevar.xyz \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).