Subject: bug#49089: --fallback doesn't do anything when 'connect*' fails

From: Maxime Devos <[email-masked]>
Date: Thu, 01 Jul 2021 20:31:27 +0200

Mathieu Othacehe schreef op vr 18-06-2021 om 17:36 [+0200]:
> Hello Maxime,
> 
> > guix substitute: warning: [...].local: host not found: Naam of dienst is niet bekend
> > guix substitute: warning: tijdens het binnenhalen van https://ci.guix.gnu.org/nar/lzip/r8a9kzhhx89rmmkz66i3324acgliqdwa-gdm-3.34.1: de server is een beetje traag
> > guix substitute: warning: probeer ‘--no-substitutes’ als het probleem hardnekkig is
> > guix substitute: error: connect*: Verbinding is verlopen
> 
> There are actually two bugs withing a single one here. The first one is
> that you could not connect to the berlin publish server in less than 5
> seconds (the timeout duration).

FWIW, the network connection was very flaky then.
Taking more than 5 seconds to connect seems plausible here.

Greetings,
Maxime.