From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GG6GJRrm0GD0NgAAgWs5BA (envelope-from ) for ; Mon, 21 Jun 2021 21:18:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mC42IRrm0GAaBwAAB5/wlQ (envelope-from ) for ; Mon, 21 Jun 2021 19:18:50 +0000 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 46F22FAEC for ; Mon, 21 Jun 2021 21:18:50 +0200 (CEST) Received: from localhost ([::1]:37510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvPRZ-0000D4-35 for larch@yhetil.org; Mon, 21 Jun 2021 15:18:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvPRN-0000Ba-5P for guix-devel@gnu.org; Mon, 21 Jun 2021 15:18:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55484) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvPRM-0003jc-39; Mon, 21 Jun 2021 15:18:36 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52140 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvPRL-0007wr-RP; Mon, 21 Jun 2021 15:18:36 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian (Florian Pelz)" Subject: Re: bug#47867: [1.2.1 pre-release testing] substitute downloading and TLS errors References: <20210418093856.a6r2zqw2gks56dg5@pelzflorian.localdomain> <87a6pvnbjg.fsf@gnu.org> <20210418113337.z3afnp4lmt55cjvw@pelzflorian.localdomain> <20210418121006.4ihop3umb2oyofum@pelzflorian.localdomain> <20210419080516.piqb52s32h3fe5ag@pelzflorian.localdomain> <20210420012113.jcwuzfx6k3by5nvo@pelzflorian.localdomain> <20210420152754.a3ucylrdugrmxu57@pelzflorian.localdomain> <8735vk8ttp.fsf@gnu.org> <20210421201751.3mygidtwio2yz7j4@pelzflorian.localdomain> <874kfxtl27.fsf@gnu.org> <20210423140725.jq67brcspvappuft@pelzflorian.localdomain> <87sg3fip2a.fsf@gnu.org> Date: Mon, 21 Jun 2021 21:18:33 +0200 In-Reply-To: <87sg3fip2a.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sat, 24 Apr 2021 19:13:01 +0200") Message-ID: <87bl7z58mu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, jcguu95 , 47867@debbugs.gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624303130; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=XvSQ4/+li4mQ+SYmJ71NbLK4J9elQW/xxluH9wzJV4U=; b=pMx1gXjkgxn88S/wI/d8bl5bfcwk7ySAR4uwTfg9E7bWXZQ7yAE+WRM44D6WBO9xlP0KxB X5bZVkBxCXfqTWTLEtLsXWZZDSGE3qggGOxhLVmi199MPQI0IGQs9B9peEyE7JLEa19aa7 Rj4Ubt5GIIejoaljIXgl8NC7Iz3OFRR+p/BqmpuNffBX8WaScaRwblNIYMTJf3/59fu2nW OtTYM+sXY/zwyiWV0PJHMRnUHh8DIEdHsU/Bhkr7qQFtpPTamrsIy8i8YkdksmZkePM2m/ QxlGxeRVwVRbAFC1LRluo0A6ZPuZ9BlkSUAweIAPguHKIg7t/pOhG14C9gFFOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624303130; a=rsa-sha256; cv=none; b=WRCRnEM2aZmk3rcM9lyoiOSWEr4DUVGp54V9mIHPqv481pcBFy/u0K4rH4rEb4Oy6PvhbW E388A87f6IzCXk2L/8LE7HGif7zVG5IY2PgpP1mgoCfP5+iFMjIAKk1Pxr79bxdrc5lduw kpPGYQgMer9ewc/rp0CIYJTNXLPLsC2NGTYcOi2NoUDF4ywZz9hZxViiXqd0+iucHOHSkP WfpcyA+vr9K2YKov8vlzJTIi4uL+HoJouu91p2MS9fuY0TGCgA3li9wMcfrB7XnQpMKkFi lmVqWtJ+cBZqrbn2k1Dn8XIow9ABuzRXqGr0pHN2rT/ywx94iXR6/9nA08M9Og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 46F22FAEC X-Spam-Score: -2.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2yfZjMuR72j4 Hi, Ludovic Court=C3=A8s skribis: >>> I double-checked and the GnuTLS Guile bindings already >>> handle GNUTLS_E_AGAIN and GNUTLS_E_INTERRUPTED, so my guess is that this >>> was just a side effect of dealing with stale TLS sessions: >>> https://gitlab.com/gnutls/gnutls/-/blob/master/guile/src/core.c#L1042 >> >> Strange,. > > My bad: I was looking at =E2=80=98read_from_session_record_port=E2=80=99,= but the > problem is in =E2=80=98write_to_session_record_port=E2=80=99. All is cle= ar now. > > I=E2=80=99ve pushed these as two separate patches: > > c50db7156d http-client: Remove exception mishandling in 'http-multiple-= get'. > 02d62978f4 http-client, substitute: Gracefully handle GnuTLS EAGAIN/EIN= TR. > > This bug should be gone now. > > I=E2=80=99ll go ahead and fix =E2=80=98write_to_session_record_port=E2=80= =99 in GnuTLS. It took a while but this is now fixed in GnuTLS: https://gitlab.com/gnutls/gnutls/-/merge_requests/1417 I *think* the fix will be included in 3.7.3 (it=E2=80=99s not in 3.7.2, rel= eased a couple of weeks ago). Ludo=E2=80=99.