From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GAqqBpxQIWQLswAASxT56A (envelope-from ) for ; Mon, 27 Mar 2023 10:15:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sC2ZBpxQIWTr6gAA9RJhRA (envelope-from ) for ; Mon, 27 Mar 2023 10:15:24 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E6BD2390F3 for ; Mon, 27 Mar 2023 10:15:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgi0R-00061p-WD; Mon, 27 Mar 2023 04:15:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgi0N-00061L-F1 for bug-guix@gnu.org; Mon, 27 Mar 2023 04:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgi0M-0000p0-Jq for bug-guix@gnu.org; Mon, 27 Mar 2023 04:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgi0M-0002fz-23 for bug-guix@gnu.org; Mon, 27 Mar 2023 04:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62476: =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= poorly handles premature TLS termination Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 27 Mar 2023 08:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62476 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62476@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167990489710253 (code B ref -1); Mon, 27 Mar 2023 08:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Mar 2023 08:14:57 +0000 Received: from localhost ([127.0.0.1]:46429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgi0H-0002fG-EO for submit@debbugs.gnu.org; Mon, 27 Mar 2023 04:14:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:36586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgi0G-0002f9-7M for submit@debbugs.gnu.org; Mon, 27 Mar 2023 04:14:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgi0F-00060b-Vc for bug-guix@gnu.org; Mon, 27 Mar 2023 04:14:55 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgi0E-0000lM-6r for bug-guix@gnu.org; Mon, 27 Mar 2023 04:14:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=duQgiv0qJ7HSmVIuccxIiXg8Vv4g1hTCs1QhAZKMWLM=; b=nLe5lgKA4ZwafbJ3ynCWmO8Is5QNxGTxvLm3VOAwYpsvBUwkfvrbOduS j9XlJeD+ViADfBkJicQM68WTXFWenF6eFLxmeKqrBAmfGeIdta3iPqC4w KZuD5tryC6NOdAavfCSC1HVxZae1XyRC10piCDdKnwcmo0Zm866iUMRvf U=; X-IronPort-AV: E=Sophos;i="5.98,294,1673910000"; d="scan'208";a="99221051" Received: from unknown (HELO ribbon) ([193.50.110.81]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2023 10:14:52 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 7 Germinal an 231 de la =?UTF-8?Q?R=C3=A9volution, ?= jour du Bouleau X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 27 Mar 2023 10:14:51 +0200 Message-ID: <87lejik3us.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679904923; a=rsa-sha256; cv=none; b=GkQbxzT2kbR38XBEW4GMIJDlb997nv6AeNRELb8BwO7HhN2lGoyf3av3088w0oqpTDmXLQ WNcSOYd2SUD6TvsqbYlzNg5LfP0HGt9UWVtHp1eQ/3UqlQNLyWTp+FmAfEmJ6gcxu/7hnN IV8RAcGm5MvdazPbnVSy6LHu7S9qv/qaT7lviUPU073yrTo+GJQOj3I15Ef6Sa8ZKLjItt G79p1FKDNKTnG4bGb0RteOeUJTuT1ozLR559pm0ELmgf2YqI2WFKhy4i36YlLvyXD6n+qL 6JMwXXIivFD1GPeoexl/1LUVCW/bVywu+pu+bUmh8s+ZKRD/bDaeGeZcR4c/LQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=nLe5lgKA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679904923; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=duQgiv0qJ7HSmVIuccxIiXg8Vv4g1hTCs1QhAZKMWLM=; b=lTjwTKsBubbzwATVO2E/BShbmZtw9Pj2ovNA7jjmI6Jt8+19Oo4rSvTYvQgdpzW0qNkIJ5 CyoTLqw+e/BVdl//y1Ls2TvtVV1wYVF84R8CyJJ0IG56Q7uC4GEuBCYvDLf4Orb1uMsmpG +7fALIMqBydwLzwS0WfaFeYWN5AAcaQ39j9eAqhOu6/3xowxgS/xBoVpQVU/k5DVLnxT1c cJQjZv9fG+HMVkJ11celFI3IXrOdLeoazrf4U4Z+uG9Ec7OFT7XTD05xxUB+Ue4BTjEY7p ktljdgpw9YMrf6HLesGaH9XWM/QedbpcqJvoFXUwgjMVlG96fDhDHwgtPjhZ5A== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=nLe5lgKA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.03 X-Spam-Score: -1.03 X-Migadu-Queue-Id: E6BD2390F3 X-TUID: hJ6477HYjj1L I got a report showing this: > $ guix shell =E2=80=A6 > [=E2=80=A6] > substitute: mise =C3=A0 jour des substituts depuis =C2=AB https://ci.guix= .gnu.org =C2=BB... 0.0 %guix substitute: erreur : Erreur TLS dans la proc= =C3=A9dure =C2=AB handshake =C2=BB : La connexion TLS n=E2=80=99a pas =C3= =A9t=C3=A9 termin=C3=A9e correctement. > guix shell: erreur : `/gnu/store/aca6i8lqgdfy0gwd4m8ql3kv5a0gp6c9-guix-co= mmand substitute' died unexpectedly This corresponds to GnuTLS exception =E2=80=98error/premature-termination= =E2=80=99 while connecting to a substitute server, from =E2=80=98fetch-narinfos=E2=80=99. Why =E2=80=98handshake=E2=80=99 fails, I don=E2=80=99t know, but at any rat= e =E2=80=98guix substitute=E2=80=99 shouldn=E2=80=99t error out when that happens; preferably, it should skip t= hat substitute server and keep going, like it does for other transient networking errors in =E2=80=98call-with-connection-error-handling=E2=80=99. Ludo=E2=80=99.