Subject: `guix substitute' occasionally crashes while looking for substitutes

From: "Timo Wilken" <[email-masked]>
Date: Sat, 22 Feb 2025 16:00:44 +0100

Sometimes, apparently randomly, `guix substitute' crashes as follows for me:

substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'...   0.0%guix substitute: error: TLS error in procedure 'write_to_session_record_port': Error in the push function.
guix system: error: `/gnu/store/jpbjljfva1hqspw1kd6hgnl63sgvw966-guix-1.4.0-32.5f6fdad/bin/guix substitute' died unexpectedly

This seems to happen while looking for substitutes, usually (always?) at
"0.0%" progress.

This happens rarely enough that a re-run of the crashing "guix system
reconfigure" or "guix home reconfigure" will succeed.

For completeness' sake:

$ guix describe
Generation 114	Feb 21 2025 17:59:33	(current)
  tw 028ba0e
    repository URL: https://git.twilken.net/dotfiles
    branch: master
    commit: 028ba0ea65bc1d2b5a8c59bc336908a161c65e7c
  guix dfabaa8
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: dfabaa8a6faa58612a069eb47ee3f35a94b146fb
  [non-free channels redacted]

Cheers,
Timo