From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mKN6CNXUgmCWCgEAgWs5BA (envelope-from ) for ; Fri, 23 Apr 2021 16:08:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mPAdBNXUgmAjaQAAB5/wlQ (envelope-from ) for ; Fri, 23 Apr 2021 14:08:21 +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 869DFCC29 for ; Fri, 23 Apr 2021 16:08:20 +0200 (CEST) Received: from localhost ([::1]:53916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZwTj-0003k1-8q for larch@yhetil.org; Fri, 23 Apr 2021 10:08:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZwTU-0003jr-KF for guix-devel@gnu.org; Fri, 23 Apr 2021 10:08:04 -0400 Received: from pelzflorian.de ([5.45.111.108]:46960 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZwTS-0006oU-Ps; Fri, 23 Apr 2021 10:08:04 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 1DBBF36063C; Fri, 23 Apr 2021 16:07:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1619186879; bh=QiZcs+oorO/xysy2+0v6Qd98z+ztWNZkWHv3EwVwRCg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Kxpa0vJBrukQrTIaGcNfW+UwPQ1as0kq5djJpyQdukeVF5675+49ho2OmPNUiEjv6 fWzwL8JID/O1YdNDmmlOKBZA7dPGzpxkcwNwUZZrGeRoli1CCy0Fqi042wAnbFnDOn MkcOQbVwvHqCobZ+mHjjxEk7FiFpm687uapGOoL4= Date: Fri, 23 Apr 2021 16:07:50 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#47867: [1.2.1 pre-release testing] substitute downloading and TLS errors Message-ID: <20210423140725.jq67brcspvappuft@pelzflorian.localdomain> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <874kfxtl27.fsf@gnu.org> Received-SPF: pass client-ip=5.45.111.108; envelope-from=pelzflorian@pelzflorian.de; helo=mail.pelzflorian.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1619186900; 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:dkim-signature; bh=QicRW+9IZoWoOsqquGkvwBIzdRNDrVtuvxuoodVjK+w=; b=OUWRcPf8+ueOb+5b/MZ5K9uF5CGhLKNFXcj0UQ1xyMObiHWufGTuMGETcbI/1krTcSJ1Kr ibfl3e9C4c4mE4+Um+QRp0Uapz3H4zsYwKsTulCvt7CMhL3qhQkYlyBYbjbP7D5kbM+v5f rFzC3r7KeL1LTeZ+7QSV9AGy6N4RAAMR4e71E/HZf4wBJNJdDracrr8FjpNEddPYRzp7gX UA1+OlT4ilyGIRfGpd24I0WjqBqQAJptfuaRFYY91IDv1ZWlNO7QYoq269WiW7Fu3lju78 uxIHzIEqHUaGPIMCFWBoI5apl8+ilaA1TCIceUPg4zyeV8R8xPFVNIqW1vxv4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619186900; a=rsa-sha256; cv=none; b=afmyy/UAW5W1EBFX/c/F6mqcgIC+tP+btX4ipgqP5IqBgznB4Yuztza2CXZIb3AD1YS6lG uCUytNXxG7yZr9vS94cIHjRgRTKp2AK13EA5u4EsAkv9VmFKrloQJQ7Xit/+U8WKQbpzXH P/vnqbMbr5PsDD87Cc6tk3eu+wwEj++bd/pM4S7OLh0CAAoCx94pnwA4oPbHG5luKfTJ7K Y9hjtvlmUZBN1I3DLg3wmgVlg9XCIAgVWWU1lgCh4aQO+jb/E+xPRq3k63Db/ehcTbO0n+ xyENwUbplTsxtkEoFmJ6PJ8WEtWZnPIRJKWyjwMVwMOc/HLhOqyRmwwJl1gZYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=Kxpa0vJB; dmarc=none; 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: -0.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=Kxpa0vJB; dmarc=none; 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: 869DFCC29 X-Spam-Score: -0.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: P+2Pc97BS9Qn Success! Thank you. 65;6003;1c On Fri, Apr 23, 2021 at 11:19:28AM +0200, Ludovic Courtès wrote: > Florian, could you try again with the attached patch? It succeeds on two full installs of Enlightenment, no errors, no prolonged getting stuck. > If you have the courage, it would be awesome if you could also try the > patch without the ‘error/again’ bits. This fails. I tried with - (unless (false-if-networking-error - (begin - (for-each (cut write-request <> buffer) batch) - (put-bytevector p (get)) - (force-output p) - #t)) - ;; If PORT becomes unusable, open a fresh connection and retry. - (close-port p) ; close the broken port - (connect #f requests result))) + ;; Swallow networking errors that could occur due to connection reuse + ;; and the like; they will be handled down the road when trying to + ;; read responses. + (false-if-networking-error + (begin + (for-each (cut write-request <> buffer) batch) + (put-bytevector p (get)) + (force-output p)))) only and not the rest of your patch, on Guix git master where the full patch had worked, it fails again with TLS errors (the same error of Resource temporarily unavailable in procedure 'write_to_session_record_port') after downloading the enlightenment substitute. > 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,. Regards, Florian