all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: 48808@debbugs.gnu.org
Cc: Mathieu Othacehe <othacehe@gnu.org>
Subject: bug#48808: List of discovered substitute servers not refreshed?
Date: Thu, 03 Jun 2021 12:08:04 +0200	[thread overview]
Message-ID: <87y2bruupn.fsf@inria.fr> (raw)

Hi!

I’ve turned on discovery and guix-daemon discovered the laptop next to
me (yay!).  However, more than 10mn after said laptop has been turned
off, ‘guix substitute’ is still trying to connect to it.

The disconnected laptop is still listed in /var/guix/discover/publish.

It also shows up in ‘avahi-browse _guix_publish._tcp -r’, but it fails
to resolve:

--8<---------------cut here---------------start------------->8---
Failed to resolve service 'guix-publish-XYZ' of type '_guix_publish._tcp' in domain 'local': Timeout reached
--8<---------------cut here---------------end--------------->8---

Perhaps (guix scripts discover) should not just wait for
‘remove-service’ events but should also attempt to resolve them?

Or maybe the problem is that the TTL of the published entry is too long?
I cannot find how to change that in the Guile-Avahi API though.

Ludo’.




                 reply	other threads:[~2021-06-03 10:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87y2bruupn.fsf@inria.fr \
    --to=ludovic.courtes@inria.fr \
    --cc=48808@debbugs.gnu.org \
    --cc=othacehe@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.