all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org, jcguu95 <jcguu95@gmail.com>, 47867@debbugs.gnu.org
Subject: Re: bug#47867: [1.2.1 pre-release testing] substitute downloading and TLS errors
Date: Fri, 23 Apr 2021 16:07:50 +0200	[thread overview]
Message-ID: <20210423140725.jq67brcspvappuft@pelzflorian.localdomain> (raw)
In-Reply-To: <874kfxtl27.fsf@gnu.org>

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


  reply	other threads:[~2021-04-23 14:08 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-17  3:40 1.2.1 pre-release testing jcguu95
2021-04-17  5:43 ` Leo Famulari
2021-04-17 11:35   ` GIT_EXEC_PATH " François
2021-04-17 17:24     ` Leo Famulari
2021-04-17 18:07       ` François
2021-04-17  9:32 ` pelzflorian (Florian Pelz)
2021-04-17 12:58   ` Guu, Jin-Cheng
2021-04-17 13:17     ` pelzflorian (Florian Pelz)
2021-04-17 17:27 ` Leo Famulari
2021-04-17 21:57   ` pelzflorian (Florian Pelz)
2021-04-18  0:09     ` Guu, Jin-Cheng
2021-04-18  0:19       ` Leo Famulari
2021-04-18  8:57       ` pelzflorian (Florian Pelz)
2021-04-18  9:38 ` [1.2.1 pre-release testing] substitute downloading and TLS errors pelzflorian (Florian Pelz)
2021-04-18  9:44   ` bug#47867: " pelzflorian (Florian Pelz)
2021-04-18  9:48     ` pelzflorian (Florian Pelz)
2021-04-18  9:57       ` pelzflorian (Florian Pelz)
2021-04-18 10:15   ` Ludovic Courtès
2021-04-18 11:33     ` pelzflorian (Florian Pelz)
2021-04-18 12:10       ` pelzflorian (Florian Pelz)
2021-04-19  8:05         ` pelzflorian (Florian Pelz)
2021-04-19  8:22           ` pelzflorian (Florian Pelz)
2021-04-19 11:02           ` pelzflorian (Florian Pelz)
2021-04-20  1:21           ` pelzflorian (Florian Pelz)
2021-04-20 15:27             ` pelzflorian (Florian Pelz)
2021-04-20 17:03               ` pelzflorian (Florian Pelz)
2021-04-20 18:00                 ` Leo Famulari
2021-04-20 19:41                   ` pelzflorian (Florian Pelz)
2021-04-20 22:38               ` Ludovic Courtès
2021-04-21 20:17                 ` pelzflorian (Florian Pelz)
2021-04-23  9:19                   ` Ludovic Courtès
2021-04-23 14:07                     ` pelzflorian (Florian Pelz) [this message]
2021-04-24 17:13                       ` Ludovic Courtès
2021-04-25  0:20                         ` pelzflorian (Florian Pelz)
2021-06-21 19:18                         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210423140725.jq67brcspvappuft@pelzflorian.localdomain \
    --to=pelzflorian@pelzflorian.de \
    --cc=47867@debbugs.gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=jcguu95@gmail.com \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.