From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WGgvOMFRhGBYDgEAgWs5BA (envelope-from ) for ; Sat, 24 Apr 2021 19:13:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oI2tM8FRhGCQOQAAbx9fmQ (envelope-from ) for ; Sat, 24 Apr 2021 17:13:37 +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 9CE5B2E2FF for ; Sat, 24 Apr 2021 19:13:37 +0200 (CEST) Received: from localhost ([::1]:54096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laLqa-0006FW-R6 for larch@yhetil.org; Sat, 24 Apr 2021 13:13:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laLq4-0006Ea-S0 for guix-devel@gnu.org; Sat, 24 Apr 2021 13:13:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51426) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laLq3-0005lG-Sd; Sat, 24 Apr 2021 13:13:04 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44816 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1laLq3-0000M9-9R; Sat, 24 Apr 2021 13:13:03 -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> Date: Sat, 24 Apr 2021 19:13:01 +0200 In-Reply-To: <20210423140725.jq67brcspvappuft@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Fri, 23 Apr 2021 16:07:50 +0200") Message-ID: <87sg3fip2a.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=1619284417; 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=kXhFm9bhyrTE1MBmPzqtyrm1GLS4/AzVaSQuhhSzEOY=; b=S8E4652I+oYL2T5501ZjoAlKE/MkuXGA/jzYOOkM1Iufo/6gex8AK/thHnqviWc5dLk3T+ biAnQUQrDH9bTfUyftOGHKGQdWy7Rrus2z1rc0YMxdS7sH72hWXy7UDHMgAqE6NFncmywE rtH7x41M6UPE8pUvHwhwRYep99jbsx6HdRE6cK6bWwAjgXFTQaaAQf2FcPdgpBxz4yx6uc 9v4m4z6Q5pxvgBOA6vAYXlFBG8s8zUFDSyjik3r5waaSfzUzaYbF7yr/GQg06Hf9BAjJRi dRY49m/ttrIQG5K8qZTE6qhFf2GH4N/39U43tFwZ3JPtKWyMem/euz/2khzMHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619284417; a=rsa-sha256; cv=none; b=sCtHuwZ6XYqglZenjzOsQvbY/iVbF4zt9Zgp5PMUNLoVhYhgg1Jg7nfIXRRccr446JvOZs 2Idxcf4lMydVEH/33lunW5jV6NLI3+0NYHMrcdJM39ylpAPEFEwEUfXwBGEqoEQPyDolPK 1GK6U9gHWwhm44gg5dbizUji9VkuJWUadN5NCbAQJvTKWuE1Uq299fxO9kYBoZiE1tJiUm uRppD+XBP5yfI6AC5eI1/+s7UsqYGviyuhUVy3lFbVUypWh9VfLkAAn3AmZwVOCvpG8Cnw tkABuHxobckr+Gq5CjsXLUbjAzPLjZvDQfo7xnh7XnTltrpz8+XMh41msgdlIg== 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: -1.44 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: 9CE5B2E2FF X-Spam-Score: -1.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: +PtXLk7OuY5w Hi Florian, "pelzflorian (Florian Pelz)" skribis: > Success! Thank you. \o/ > On Fri, Apr 23, 2021 at 11:19:28AM +0200, Ludovic Court=C3=A8s wrote: >> Florian, could you try again with the attached patch? > > It succeeds on two full installs of Enlightenment, no errors, no > prolonged getting stuck. Yay. >> 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, b= ut the problem is in =E2=80=98write_to_session_record_port=E2=80=99. All is clear= now. I=E2=80=99ve pushed these as two separate patches: c50db7156d http-client: Remove exception mishandling in 'http-multiple-ge= t'. 02d62978f4 http-client, substitute: Gracefully handle GnuTLS EAGAIN/EINTR. 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. Thanks a lot for the quick and thorough testing! Ludo=E2=80=99.