GNU bug report logs

#47867 [1.2.1 pre-release testing] substitute downloading and TLS errors

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #63 received at 47867@debbugs.gnu.org (full text, mbox, reply):

Received: (at 47867) by debbugs.gnu.org; 23 Apr 2021 14:08:03 +0000
From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 23 10:08:03 2021
Received: from localhost ([127.0.0.1]:38400 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1lZwTS-0006Rf-OM
	for submit@debbugs.gnu.org; Fri, 23 Apr 2021 10:08:02 -0400
Received: from pelzflorian.de ([5.45.111.108]:54930 helo=mail.pelzflorian.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pelzflorian@pelzflorian.de>) id 1lZwTQ-0006RD-IA
 for 47867@debbugs.gnu.org; Fri, 23 Apr 2021 10:08:01 -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)" <pelzflorian@pelzflorian.de>
To: Ludovic Courtès <ludo@gnu.org>
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>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 47867
Cc: guix-devel@gnu.org, Christopher Baines <mail@cbaines.net>,
 jcguu95 <jcguu95@gmail.com>, 47867@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
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




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 08:14:15 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.