GNU bug report logs - #62476
‘guix substitute’ poorly handles premature TLS termination

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Mon, 27 Mar 2023 08:15:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#62476: closed (‘guix substitute’
 poorly handles premature TLS termination)
Date: Tue, 28 Mar 2023 15:25:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 28 Mar 2023 17:24:13 +0200
with message-id <874jq4hpb6.fsf <at> gnu.org>
and subject line Re: bug#62476: ‘guix substitute’ poorly handles premature TLS termination
has caused the debbugs.gnu.org bug report #62476,
regarding ‘guix substitute’ poorly handles premature TLS termination
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
62476: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62476
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: ‘guix substitute’ poorly handles
 premature TLS termination
Date: Mon, 27 Mar 2023 10:14:51 +0200
I got a report showing this:

> $ guix shell …
> […]
> substitute: mise à jour des substituts depuis « https://ci.guix.gnu.org »...   0.0 %guix substitute: erreur : Erreur TLS dans la procédure « handshake » : La connexion TLS n’a pas été terminée correctement.
> guix shell: erreur : `/gnu/store/aca6i8lqgdfy0gwd4m8ql3kv5a0gp6c9-guix-command substitute' died unexpectedly

This corresponds to GnuTLS exception ‘error/premature-termination’ while
connecting to a substitute server, from ‘fetch-narinfos’.

Why ‘handshake’ fails, I don’t know, but at any rate ‘guix substitute’
shouldn’t error out when that happens; preferably, it should skip that
substitute server and keep going, like it does for other transient
networking errors in ‘call-with-connection-error-handling’.

Ludo’.


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: 62476-done <at> debbugs.gnu.org
Subject: Re: bug#62476: ‘guix substitute’ poorly
 handles premature TLS termination
Date: Tue, 28 Mar 2023 17:24:13 +0200
Ludovic Courtès <ludovic.courtes <at> inria.fr> skribis:

> I got a report showing this:
>
>> $ guix shell …
>> […]
>> substitute: mise à jour des substituts depuis « https://ci.guix.gnu.org »...   0.0 %guix substitute: erreur : Erreur TLS dans la procédure « handshake » : La connexion TLS n’a pas été terminée correctement.
>> guix shell: erreur : `/gnu/store/aca6i8lqgdfy0gwd4m8ql3kv5a0gp6c9-guix-command substitute' died unexpectedly
>
> This corresponds to GnuTLS exception ‘error/premature-termination’ while
> connecting to a substitute server, from ‘fetch-narinfos’.
>
> Why ‘handshake’ fails, I don’t know, but at any rate ‘guix substitute’
> shouldn’t error out when that happens; preferably, it should skip that
> substitute server and keep going, like it does for other transient
> networking errors in ‘call-with-connection-error-handling’.

Fixed in af91c2d540ef437e3f663b2c18c76dc2b94e13d2.

Ludo’.


This bug report was last modified 2 years and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.