unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#62476: ‘guix substitute’ poorly handles premature TLS termination
@ 2023-03-27  8:14 Ludovic Courtès
  2023-03-28 15:24 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2023-03-27  8:14 UTC (permalink / raw)
  To: 62476

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#62476: ‘guix substitute’ poorly handles premature TLS termination
  2023-03-27  8:14 bug#62476: ‘guix substitute’ poorly handles premature TLS termination Ludovic Courtès
@ 2023-03-28 15:24 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-03-28 15:24 UTC (permalink / raw)
  To: 62476-done

Ludovic Courtès <ludovic.courtes@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’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-28 15:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27  8:14 bug#62476: ‘guix substitute’ poorly handles premature TLS termination Ludovic Courtès
2023-03-28 15:24 ` Ludovic Courtès

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