From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 15 13:49:18 2020 Received: (at submit) by debbugs.gnu.org; 15 Jun 2020 17:49:18 +0000 Received: from localhost ([127.0.0.1]:47448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jktET-00033M-TG for submit@debbugs.gnu.org; Mon, 15 Jun 2020 13:49:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:41904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jks0d-00011u-IF for submit@debbugs.gnu.org; Mon, 15 Jun 2020 12:30:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jks0c-0000RC-EL for bug-guix@gnu.org; Mon, 15 Jun 2020 12:30:55 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:34213) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jks0a-000775-MZ for bug-guix@gnu.org; Mon, 15 Jun 2020 12:30:54 -0400 Received: by mail-ed1-x536.google.com with SMTP id w7so12018556edt.1 for ; Mon, 15 Jun 2020 09:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=gi9uatUQ7VwooPy/X7TX6befxlXjdEix1bF6cI42Ku0=; b=g6HYqDeIV5eEhouAFCYdTryqxDEur0mxpFQpMUwlK/Z/+2EB4FxLw+Z8Ri8sJElZNq QJA8n83hpSbWBSSVYWKNFIud8AR3P9M2Zlyqd+7wpPhjJJC2yQSUaIAoLAo8P46r/C5A eApo9Vv3ON+I994X/TdA3exppfQsN/sn988aIPQa7k/Dx7I5B9jwbwgFkR4fx5Yz6ZJu tv6sseYqxhYW1IsTCT9QEz0W8GWFqz6QNLbFfFi/Ga6OD3kscQ8sXB0X+j69dzTXPipq mA8yU8iCWfR0GFkwhc9WX5x4lOVJgn9QWlyyPT1c5NgN5ZtX/HTkPsFme1Y8JCBXlyGO QOVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=gi9uatUQ7VwooPy/X7TX6befxlXjdEix1bF6cI42Ku0=; b=qRcGKz350HKqdVdF2ijw5DCL/dYiWfjhcwCdN2wG0LcX9L7+CKIwocfXeqCMJFT1T+ J0sxKR8LWEB+6RNfSFMLtL8tvGCaa4yZHWhgZGb9bVh7hEJMQ8x+MeFGs7it8dF3KRds 7bMLs9FYNxtSoQ8lvPYgiUa3qGYIXSr67G6uKhcxqads3s/dOWWqnP9yhv3XoDEHroCc LKz3np4jMH8Wj3Cy/gf1eAtmLZK63c2LOQACxxUT+zbDh10+DNuduFbYH/vnC0GvW8Lm DOxJH/JIpL+kQ9kqMMJNjrm9L3sQ/OR/nfuJhcS+XQ4OtTkoW8dOZIfR6B91jDg+eyd+ a7hQ== X-Gm-Message-State: AOAM533EOv+4sAE4cXfS/KpU74IJCWvgOQLH2UFAM9LaI91rjQR/F45N nB+wKQ0OzKYqk9lTckZ3ZKxxMwBzeip7cgxmc45//08Y X-Google-Smtp-Source: ABdhPJzJEsieKqeqCoh87wDdV1caCxQrNPsZWxvQhhhKOCpmNyb25Mxy6j6ToVR8Ub/xdmBoEAX5vBdfmER5PRTbqL0= X-Received: by 2002:a50:fb01:: with SMTP id d1mr24536064edq.94.1592238648425; Mon, 15 Jun 2020 09:30:48 -0700 (PDT) MIME-Version: 1.0 From: Quinten Gruenthal Date: Mon, 15 Jun 2020 09:30:34 -0700 Message-ID: Subject: Handshake Error To: bug-guix@gnu.org Content-Type: multipart/alternative; boundary="00000000000009813a05a821f35e" Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=quintengruenthal@gmail.com; helo=mail-ed1-x536.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 15 Jun 2020 13:49:17 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --00000000000009813a05a821f35e Content-Type: text/plain; charset="UTF-8" I received the following error when performing a guix pull: |substitute: guix substitute: error: TLS error in procedure 'handshake': Error in the pull function. killing process 8828 Backtrace: 11 (primitive-load "/gnu/store/pl48b057h6yg8w6f7hafiilcc44d0fn6-compute-guix-derivation") In ice-9/eval.scm: 155:9 10 (_ _) 159:9 9 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(# ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?)) In ./guix/store.scm: 2025:24 8 (run-with-store # _ #:guile-for-build _ #:system _ #:target _) 1859:8 7 (_ _) In ./guix/gexp.scm: 243:18 6 (_ _) 1061:2 5 (_ _) 921:2 4 (_ _) 782:4 3 (_ _) In ./guix/store.scm: 1907:12 2 (_ #) 1356:5 1 (map/accumulate-builds # _ _) 1367:15 0 (_ # _ _) ./guix/store.scm:1367:15: ERROR: 1. &store-protocol-error: message: "`/gnu/store/5r3sb6bj6pppn4h35a35956mv5qrd011-guix-command substitute' died unexpectedly" status: 1 guix pull: error: You found a bug: the program '/gnu/store/pl48b057h6yg8w6f7hafiilcc44d0fn6-compute-guix-derivation' failed to compute the derivation for Guix (version: "cf48f0fc4c40a2ec0b38a445e1e13f37722a0ade"; system: "x86_64-linux"; host version: "ecf92194a55188a9c217d76617378749db063453"; pull-version: 1). Please report it by email to . I've seen this kind of error before in other software and I believe it occurs when a handshake can't be performed in time and the connection is dropped; I was able to successfully pull a few minutes later under better conditions. That being said I bring this up because a problem in my network (I think) is being treated like an error in your program. --00000000000009813a05a821f35e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I received the following error when performing a guix= pull:

|substitute: guix substitute: error: TL= S error in procedure 'handshake': Error in the pull function.
= killing process 8828
Backtrace:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 11= (primitive-load "/gnu/store/pl48b057h6yg8w6f7hafiilcc44d0fn6-compute-= guix-derivation")
In ice-9/eval.scm:
=C2=A0 =C2=A0 155:9 10 (_ _= )
=C2=A0 =C2=A0 159:9 =C2=A09 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#<director= y (guile-user) 7fc5ff085f?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
I= n ./guix/store.scm:
=C2=A0 2025:24 =C2=A08 (run-with-store #<store-co= nnection 256.99 7fc5fd407640> _ #:guile-for-build _ #:system _ #:target = _)
=C2=A0 =C2=A01859:8 =C2=A07 (_ _)
In ./guix/gexp.scm:
=C2=A0 = =C2=A0243:18 =C2=A06 (_ _)
=C2=A0 =C2=A01061:2 =C2=A05 (_ _)
=C2=A0 = =C2=A0 921:2 =C2=A04 (_ _)
=C2=A0 =C2=A0 782:4 =C2=A03 (_ _)
In ./gui= x/store.scm:
=C2=A0 1907:12 =C2=A02 (_ #<store-connection 256.99 7fc5= fd407640>)
=C2=A0 =C2=A01356:5 =C2=A01 (map/accumulate-builds #<st= ore-connection 256.99 7fc5fd407640> _ _)
=C2=A0 1367:15 =C2=A00 (_ #&= lt;store-connection 256.99 7fc5fd407640> _ _)

./guix/store.scm:13= 67:15: ERROR:
=C2=A0 1. &store-protocol-error:
=C2=A0 =C2=A0 =C2= =A0 message: "`/gnu/store/5r3sb6bj6pppn4h35a35956mv5qrd011-guix-comman= d substitute' died unexpectedly"
=C2=A0 =C2=A0 =C2=A0 status: 1=
guix pull: error: You found a bug: the program '/gnu/store/pl48b057= h6yg8w6f7hafiilcc44d0fn6-compute-guix-derivation'
failed to compute = the derivation for Guix (version: "cf48f0fc4c40a2ec0b38a445e1e13f37722= a0ade"; system: "x86_64-linux";
host version: "ecf92= 194a55188a9c217d76617378749db063453"; pull-version: 1).
Please= report it by email to <bug-guix@gnu= .org>.

I've seen this kind of error bef= ore in other software and I believe it occurs when a handshake can't be= performed in time and the connection is dropped; I was able to successfull= y pull a few minutes later under better conditions. That being said I bring= this up because a problem in my network (I think) is being treated like an= error in your program.
--00000000000009813a05a821f35e-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 15 15:42:56 2020 Received: (at 41878) by debbugs.gnu.org; 15 Jun 2020 19:42:56 +0000 Received: from localhost ([127.0.0.1]:47526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkv0S-0005p2-4p for submit@debbugs.gnu.org; Mon, 15 Jun 2020 15:42:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkv0Q-0005op-OI for 41878@debbugs.gnu.org; Mon, 15 Jun 2020 15:42:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42533) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkv0L-000775-FW; Mon, 15 Jun 2020 15:42:49 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40636 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jkv0K-0002Wd-Ju; Mon, 15 Jun 2020 15:42:48 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Quinten Gruenthal Subject: Re: bug#41878: Handshake Error References: Date: Mon, 15 Jun 2020 21:42:46 +0200 In-Reply-To: (Quinten Gruenthal's message of "Mon, 15 Jun 2020 09:30:34 -0700") Message-ID: <87y2ooyv2h.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41878 Cc: 41878@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Quinten Gruenthal skribis: > |substitute: guix substitute: error: TLS error in procedure 'handshake': > Error in the pull function. [...] > I've seen this kind of error before in other software and I believe it > occurs when a handshake can't be performed in time and the connection is > dropped; I was able to successfully pull a few minutes later under better > conditions. That being said I bring this up because a problem in my netwo= rk > (I think) is being treated like an error in your program. Yes, it looks like a connectivity issue, either on your side or on the side of https://ci.guix.gnu.org (though I=E2=80=99m unaware of downtime tod= ay). Could you try again? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 16 04:08:00 2020 Received: (at 41878) by debbugs.gnu.org; 16 Jun 2020 08:08:00 +0000 Received: from localhost ([127.0.0.1]:48184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jl6dT-0007Xw-Tl for submit@debbugs.gnu.org; Tue, 16 Jun 2020 04:08:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jl6dT-0007Xl-DJ for 41878@debbugs.gnu.org; Tue, 16 Jun 2020 04:07:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51961) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jl6dO-0002V4-7m; Tue, 16 Jun 2020 04:07:54 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42860 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jl6dN-0006Fr-RL; Tue, 16 Jun 2020 04:07:54 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Quinten Gruenthal Subject: Re: bug#41878: Handshake Error References: <87y2ooyv2h.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Prairial an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 16 Jun 2020 10:07:51 +0200 In-Reply-To: (Quinten Gruenthal's message of "Mon, 15 Jun 2020 14:55:20 -0700") Message-ID: <87a713xwko.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41878 Cc: 41878@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Quinten Gruenthal skribis: > Sure; though, as I mentioned before I did try again and it did work. Doing > a pull once more I failed with: > > guix substitute: error: TLS error in procedure 'handshake': Error in the > pull function. > substitution of > /gnu/store/k1da7bv579d8gvwdrakd9l4hxswknff2-guix-module-union failed > guix pull: error: some substitutes for the outputs of derivation > `/gnu/store/k2gdq7ahjaqmdgjr9xwywqpxvzazn467-guix-e07573432.drv' failed > (usually happens due to networking issues); try `--fallback' to build > derivation from source Could it be that you=E2=80=99re on a flaky network connection? > As with before, I was also able to succeed on a subsequent pull; but this > error seemed to be handled better as it suggested both the cause of the > problem and a possible solution. If the connection is dropped, there=E2=80=99s little we can do, but maybe y= ou=E2=80=99re suggesting better error reporting? Thanks, Ludo=E2=80=99. PS: Please keep the bug Cc=E2=80=99d. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 16 05:31:27 2020 Received: (at 41878) by debbugs.gnu.org; 16 Jun 2020 09:31:27 +0000 Received: from localhost ([127.0.0.1]:48281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jl7wF-000197-3M for submit@debbugs.gnu.org; Tue, 16 Jun 2020 05:31:27 -0400 Received: from imta-36.everyone.net ([216.200.145.36]:34770 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jl7wC-00018y-SW for 41878@debbugs.gnu.org; Tue, 16 Jun 2020 05:31:25 -0400 Received: from pps.filterd (omta002.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 05G9S4l5006706; Tue, 16 Jun 2020 02:31:23 -0700 X-Eon-Originating-Account: mDttJRBFZPaAPVkAJRJgrbk_E72O7rj1rubdHYxrnLM X-Eon-Dm: m0116787.ppops.net Received: by m0116787.mta.everyone.net (EON-AUTHRELAY2 - 53b92f7e) id m0116787.5e67f91f.b1eb93; Tue, 16 Jun 2020 02:31:22 -0700 X-Eon-Sig: AQMHrIJe6JFqY/HDugIAAAAD,36557febe96aeea5cd31d3180ec6e86d X-Eip: XUuH7jLQbzzMly7xS8hBj6i_H-3U_z2FC4Bwzcg_TAA Date: Tue, 16 Jun 2020 11:31:12 +0200 From: Bengt Richter To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#41878: Handshake Error Message-ID: <20200616093112.GA5965@LionPure> References: <87y2ooyv2h.fsf@gnu.org> <87a713xwko.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87a713xwko.fsf@gnu.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687 definitions=2020-06-16_03:2020-06-15, 2020-06-16 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2004280000 definitions=main-2006160070 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 41878 Cc: 41878@debbugs.gnu.org, Quinten Gruenthal X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hi, On +2020-06-16 10:07:51 +0200, Ludovic Courtès wrote: > Hi, > > Quinten Gruenthal skribis: > > > Sure; though, as I mentioned before I did try again and it did work. Doing > > a pull once more I failed with: > > > > guix substitute: error: TLS error in procedure 'handshake': Error in the > > pull function. > > substitution of > > /gnu/store/k1da7bv579d8gvwdrakd9l4hxswknff2-guix-module-union failed > > guix pull: error: some substitutes for the outputs of derivation > > `/gnu/store/k2gdq7ahjaqmdgjr9xwywqpxvzazn467-guix-e07573432.drv' failed > > (usually happens due to networking issues); try `--fallback' to build > > derivation from source > > Could it be that you’re on a flaky network connection? > > > As with before, I was also able to succeed on a subsequent pull; but this > > error seemed to be handled better as it suggested both the cause of the > > problem and a possible solution. > > If the connection is dropped, there’s little we can do, but maybe you’re > suggesting better error reporting? Hm, are gexp's checkpointable? Some ftp can reconnect and continue, IUUC. Idk how that works with https. Can one adjust timeouts? Continue on an alternate mirror? E.g. for downloading substitutes? In general, I hate it when I get 1.0GB through a 1.1GB ISO and lose it all, esp when I pay by GBs. Can guix help? :) BTW, I think I have heard of security risks in restarting, but perhaps with end-to-end integrity checks it is not an issue despite poss MM trying? > > Thanks, > Ludo’. > > PS: Please keep the bug Cc’d. > > > -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 16 11:06:04 2020 Received: (at 41878) by debbugs.gnu.org; 16 Jun 2020 15:06:04 +0000 Received: from localhost ([127.0.0.1]:49407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlDA3-0003Bi-MI for submit@debbugs.gnu.org; Tue, 16 Jun 2020 11:06:04 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:41383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jl6bc-0007Uy-Hp for 41878@debbugs.gnu.org; Tue, 16 Jun 2020 04:06:05 -0400 X-IronPort-AV: E=Sophos;i="5.73,518,1583190000"; d="scan'208,217";a="351713162" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jun 2020 10:05:57 +0200 Resent-To: 41878@debbugs.gnu.org Resent-From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Resent-Date: Tue, 16 Jun 2020 10:05:57 +0200 Resent-Message-ID: <87h7vbxwnu.fsf@gnu.org> Received: from solo.fdn.fr ([unix socket]) by solo (Cyrus 2.5.10-Debian-2.5.10-3.2) with LMTPA; Mon, 15 Jun 2020 23:55:39 +0200 X-Sieve: CMU Sieve 2.4 Received: by solo.fdn.fr (Postfix) id 20060D0D05; Mon, 15 Jun 2020 23:55:39 +0200 (CEST) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by solo.fdn.fr (Postfix) with ESMTPS id 080B7D0D00 for ; Mon, 15 Jun 2020 23:55:39 +0200 (CEST) Received: from fencepost.gnu.org ([2001:470:142:3::e]:44546) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkx4r-0003gH-6x for ludovic.courtes@fdn.fr; Mon, 15 Jun 2020 17:55:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56172) by fencepost.gnu.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jkx4q-0000Xx-Ox for ludo@gnu.org; Mon, 15 Jun 2020 17:55:36 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:35493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jkx4p-0003dt-2w for ludo@gnu.org; Mon, 15 Jun 2020 17:55:36 -0400 Received: by mail-ed1-x536.google.com with SMTP id e12so12680616eds.2 for ; Mon, 15 Jun 2020 14:55:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=23FOYpuX/A4rluzEikSRIqWP/4ZXZWab1MLQX+buCOc=; b=V0axX0rLkNKXm2SKM4RRiCF+4ljl7MSDcWuAbIC0PWURktIacMTmxBJCth207/yx89 4DT8zv49U3hUsKK5fGkY5LEB7Ku7kCPHGMqzSYIMlfCBr9009fTU2G2pzKgmAb7uRhcX Ln7/Y6dZTAX/BcSNiCyGZFXXgyiF8eUcCLVs2dZWc02FXsmiq6i0Wwi+g2qPyY65JSBK 3xlZhWwi8WQ8r0K/RCAr8eabkHkgfsEn78VzLaqLbv6Sy5YYNmyHwEeMcGz9L2WTMGon EPAstYMszBRGaPG+vgoTX97G93xdOnceFDJX/9ZJVZaZrFRsiAqilHcQ4cGOp4cDZ5ho phOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=23FOYpuX/A4rluzEikSRIqWP/4ZXZWab1MLQX+buCOc=; b=VxBlwet9e4NUQDPfbDwmE51pB3AAx4VqltKMAlpPuHz9rzAudBEiLYpwtnCTt60o4N iXGrJ4gqAShVTS29u+AwcpLypnIXVb1rEaP9GnHBbesh71IRgIaR7wKzJGtRg4DjivZ/ IJy8IUMNs7fkW8GULrwJHIxoWEtduRhFJhNcBY/nqhOGvWljbeSFaLlmebr+aBvoUfAk GKD2OhYmWw5BwNZchr4CJW1TJ0Sk74Yzf4nz1IgjxmRuRbm4I+rkYFvRl/0rL5AeKgJ6 Mio4PNTf0fK4voeuFViFPEZOMOE6vrEA7AMv4qPSC2ChGsn5jHD04+b7H87f0lxyyqmm P2qQ== X-Gm-Message-State: AOAM531jJMN41SjEJUPKjU8oI4Gq9gRPiKikXCVv4zsdxg1hgOS1Jw/B pyfg4b7ThjfXr4aVBJKMjC8k49LbcdXYkUMNE7w/wlNw X-Google-Smtp-Source: ABdhPJwyw2gi0gTQFPhPO+YKgXrxqXbBpZyBR9N6dQnKcDzQX8k/hhsE0fZQAOf+kdYgIqNfSuS7fO2C4L/PW+bZgoM= X-Received: by 2002:a05:6402:229b:: with SMTP id cw27mr14143620edb.346.1592258133237; Mon, 15 Jun 2020 14:55:33 -0700 (PDT) MIME-Version: 1.0 References: <87y2ooyv2h.fsf@gnu.org> In-Reply-To: <87y2ooyv2h.fsf@gnu.org> From: Quinten Gruenthal Date: Mon, 15 Jun 2020 14:55:20 -0700 Message-ID: Subject: Re: bug#41878: Handshake Error To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: multipart/alternative; boundary="0000000000006c223505a8267c2d" X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 41878 X-Mailman-Approved-At: Tue, 16 Jun 2020 11:06:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --0000000000006c223505a8267c2d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sure; though, as I mentioned before I did try again and it did work. Doing a pull once more I failed with: guix substitute: error: TLS error in procedure 'handshake': Error in the pull function. substitution of /gnu/store/k1da7bv579d8gvwdrakd9l4hxswknff2-guix-module-union failed guix pull: error: some substitutes for the outputs of derivation `/gnu/store/k2gdq7ahjaqmdgjr9xwywqpxvzazn467-guix-e07573432.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source As with before, I was also able to succeed on a subsequent pull; but this error seemed to be handled better as it suggested both the cause of the problem and a possible solution. On Mon, Jun 15, 2020 at 12:42 PM Ludovic Court=C3=A8s wrote: > Hi, > > Quinten Gruenthal skribis: > > > |substitute: guix substitute: error: TLS error in procedure 'handshake'= : > > Error in the pull function. > > [...] > > > I've seen this kind of error before in other software and I believe it > > occurs when a handshake can't be performed in time and the connection i= s > > dropped; I was able to successfully pull a few minutes later under bett= er > > conditions. That being said I bring this up because a problem in my > network > > (I think) is being treated like an error in your program. > > Yes, it looks like a connectivity issue, either on your side or on the > side of https://ci.guix.gnu.org (though I=E2=80=99m unaware of downtime t= oday). > > Could you try again? > > Thanks, > Ludo=E2=80=99. > --0000000000006c223505a8267c2d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sure; though, as I mentioned before I did try again a= nd it did work. Doing a pull once more I failed with:

<= div>guix substitute: error: TLS error in procedure 'handshake': Err= or in the pull function.
substitution of /gnu/store/k1da7bv579d8gvwdrakd= 9l4hxswknff2-guix-module-union failed
guix pull: error: some substitutes= for the outputs of derivation `/gnu/store/k2gdq7ahjaqmdgjr9xwywqpxvzazn467= -guix-e07573432.drv' failed (usually happens due to networking issues);= try `--fallback' to build derivation from source

<= div>As with before, I was also able to succeed on a subsequent pull; but th= is error seemed to be handled better as it suggested both the cause of the = problem and a possible solution.

On Mon, Jun 15, 2020 at 12:42 PM = Ludovic Court=C3=A8s <ludo@gnu.org&g= t; wrote:
Hi,
Quinten Gruenthal <quintengruenthal@gmail.com> skribis:

> |substitute: guix substitute: error: TLS error in procedure 'hands= hake':
> Error in the pull function.

[...]

> I've seen this kind of error before in other software and I believ= e it
> occurs when a handshake can't be performed in time and the connect= ion is
> dropped; I was able to successfully pull a few minutes later under bet= ter
> conditions. That being said I bring this up because a problem in my ne= twork
> (I think) is being treated like an error in your program.

Yes, it looks like a connectivity issue, either on your side or on the
side of https://ci.guix.gnu.org (though I=E2=80=99m unaware of downtime t= oday).

Could you try again?

Thanks,
Ludo=E2=80=99.
--0000000000006c223505a8267c2d-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 16 11:06:05 2020 Received: (at 41878) by debbugs.gnu.org; 16 Jun 2020 15:06:05 +0000 Received: from localhost ([127.0.0.1]:49409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlDA4-0003Bt-FQ for submit@debbugs.gnu.org; Tue, 16 Jun 2020 11:06:05 -0400 Received: from mail-ej1-f48.google.com ([209.85.218.48]:34348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlD23-0002w6-TR for 41878@debbugs.gnu.org; Tue, 16 Jun 2020 10:57:48 -0400 Received: by mail-ej1-f48.google.com with SMTP id l27so21888343ejc.1 for <41878@debbugs.gnu.org>; Tue, 16 Jun 2020 07:57:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=I+VGzh/0Cm5hW0THXjhzS/aViMTlMG9f1yPrUaR8m6k=; b=THh7xiZOWfu8jqlCLd6nBlgpKlPctGjzmGMjbGvoATrSJjUYPDdrXEGqfkqhL/3006 TQbX37NYirpWNeu+aOtR71t2XcLMJeolA/EDUxHrWC/X8FTzuhyyGML3dLSYTg8x7RIu rXQKMibRWAckAutqXwNLGKxu/HeECtVy1Zpwaa9dH8G9zjwmjYFb2YColomuFZ0inasA v7LZJZ85AX6ITp4aPP6jJqpyFbt3YPIo3p+wcxMrhACQQl7ApzClCWOAfCdZQJICSmD5 YpY5Bm8/MQqsuu/k/2lqUay3HLh8fL4DqxZAFITLAKONad2NSgPT4rNj2aKfXYOmSE4O DdFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I+VGzh/0Cm5hW0THXjhzS/aViMTlMG9f1yPrUaR8m6k=; b=o1XC3UGIQQnfAWjF+lukNg+NzAHmaBDlm+n0L60uhNjpYmvS+sPhUlGetDkxkFm+W8 zyzDsMIdgcN5b9ML++NO/3bEi99RHphTiEs3dH1Mix2wS7nF5wBStH+5TBJZwsOXqDMU tLrNgObSPTnVRYYpI8Lr6rKn/cLFTVwndK2aXu7GaGgudXatHo6FHWnuV3YHPxryD6ea CSZuO86FYTO51ya8V2HcHNv08P3DP9p8EtaSukC+drqvTZt4BTPJpTqwagIqJHqf5E8V 59/ar89ReghsUUDCnZJnlSVyXhui3lIT27MNQemmuArMS2gXh132iqka9VIehts9ASEF W3Zw== X-Gm-Message-State: AOAM531AVirJVqC3udgG4MunQ1u+k7qlWbkhZX1UW7fkjyiF0uBn6j94 5uzxbL3BtQYdLHCXVHm0CS1rHATJWMgrsolFGjLsO6rk X-Google-Smtp-Source: ABdhPJwmL+edP/Y48GqN6iGoxBDYlmu2TLSmYJDqQd8YEk73cFd/Cr+LbJGWOw7G0MecET0NQ1cRf0X6pHhJyElJkkw= X-Received: by 2002:a17:906:4d0b:: with SMTP id r11mr3107773eju.59.1592319461868; Tue, 16 Jun 2020 07:57:41 -0700 (PDT) MIME-Version: 1.0 References: <87y2ooyv2h.fsf@gnu.org> <87a713xwko.fsf@gnu.org> In-Reply-To: <87a713xwko.fsf@gnu.org> From: Quinten Gruenthal Date: Tue, 16 Jun 2020 07:57:26 -0700 Message-ID: Subject: Re: bug#41878: Handshake Error To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: multipart/alternative; boundary="000000000000e4c96805a834c390" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41878 X-Mailman-Approved-At: Tue, 16 Jun 2020 11:06:02 -0400 Cc: 41878@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000e4c96805a834c390 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes and yes. I didn't state explicitly that it was a problem with my network only because I didn't want to appear overconfident in my amateur diagnosis and I definitely prefer the second error message to the one that dumps a trace and prompts the filing of a bug. This: substitute: guix substitute: error: TLS error in procedure 'handshake': Error in the pull function. killing process 8828 Backtrace: 11 (primitive-load "/gnu/store/pl48b057h6yg8w6f7hafiilcc44d0fn6-compute-guix-derivation") In ice-9/eval.scm: 155:9 10 (_ _) 159:9 9 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(# ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?)) In ./guix/store.scm: 2025:24 8 (run-with-store # _ #:guile-for-build _ #:system _ #:target _) 1859:8 7 (_ _) In ./guix/gexp.scm: 243:18 6 (_ _) 1061:2 5 (_ _) 921:2 4 (_ _) 782:4 3 (_ _) In ./guix/store.scm: 1907:12 2 (_ #) 1356:5 1 (map/accumulate-builds # _ _) 1367:15 0 (_ # _ _) ./guix/store.scm:1367:15: ERROR: 1. &store-protocol-error: message: "`/gnu/store/5r3sb6bj6pppn4h35a35956mv5qrd011-guix-command substitute' died unexpectedly" status: 1 guix pull: error: You found a bug: the program '/gnu/store/pl48b057h6yg8w6f7hafiilcc44d0fn6-compute-guix-derivation' failed to compute the derivation for Guix (version: "cf48f0fc4c40a2ec0b38a445e1e13f37722a0ade"; system: "x86_64-linux"; host version: "ecf92194a55188a9c217d76617378749db063453"; pull-version: 1). Please report it by email to . is much different than this: guix substitute: error: TLS error in procedure 'handshake': Error in the pull function. substitution of /gnu/store/k1da7bv579d8gvwdrakd9l4hxswknff2-guix-module-union failed guix pull: error: some substitutes for the outputs of derivation `/gnu/store/k2gdq7ahjaqmdgjr9xwywqpxvzazn467-guix-e07573432.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source especially to one as new to scheme as myself. I can't say why the two errors were different as I'm not familiar mechanically with what phases pull goes through but I can say the first error occurred during the beginning of the pull and the second occurred in the wrap up thing it does towards the end. On Tue, Jun 16, 2020 at 1:07 AM Ludovic Court=C3=A8s wrote: > Hi, > > Quinten Gruenthal skribis: > > > Sure; though, as I mentioned before I did try again and it did work. > Doing > > a pull once more I failed with: > > > > guix substitute: error: TLS error in procedure 'handshake': Error in th= e > > pull function. > > substitution of > > /gnu/store/k1da7bv579d8gvwdrakd9l4hxswknff2-guix-module-union failed > > guix pull: error: some substitutes for the outputs of derivation > > `/gnu/store/k2gdq7ahjaqmdgjr9xwywqpxvzazn467-guix-e07573432.drv' failed > > (usually happens due to networking issues); try `--fallback' to build > > derivation from source > > Could it be that you=E2=80=99re on a flaky network connection? > > > As with before, I was also able to succeed on a subsequent pull; but th= is > > error seemed to be handled better as it suggested both the cause of the > > problem and a possible solution. > > If the connection is dropped, there=E2=80=99s little we can do, but maybe= you=E2=80=99re > suggesting better error reporting? > > Thanks, > Ludo=E2=80=99. > > PS: Please keep the bug Cc=E2=80=99d. > --000000000000e4c96805a834c390 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes and yes. I didn't state explicitly that it wa= s a problem with my network only because I didn't want to appear overco= nfident in my amateur diagnosis and I definitely prefer the second error me= ssage to the one that dumps a trace and prompts the filing of a bug. This:<= /div>

substitute: guix substitute: error: TLS error= in procedure 'handshake': Error in the pull function.
killing= process 8828
Backtrace:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 11 (primi= tive-load "/gnu/store/pl48b057h6yg8w6f7hafiilcc44d0fn6-compute-guix-de= rivation")
In ice-9/eval.scm:
=C2=A0 =C2=A0 155:9 10 (_ _)
= =C2=A0 =C2=A0 159:9 =C2=A09 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (gu= ile-user) 7fc5ff085f?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ./g= uix/store.scm:
=C2=A0 2025:24 =C2=A08 (run-with-store #<store-connect= ion 256.99 7fc5fd407640> _ #:guile-for-build _ #:system _ #:target _)=C2=A0 =C2=A01859:8 =C2=A07 (_ _)
In ./guix/gexp.scm:
=C2=A0 =C2=A02= 43:18 =C2=A06 (_ _)
=C2=A0 =C2=A01061:2 =C2=A05 (_ _)
=C2=A0 =C2=A0 9= 21:2 =C2=A04 (_ _)
=C2=A0 =C2=A0 782:4 =C2=A03 (_ _)
In ./guix/store.= scm:
=C2=A0 1907:12 =C2=A02 (_ #<store-connection 256.99 7fc5fd407640= >)
=C2=A0 =C2=A01356:5 =C2=A01 (map/accumulate-builds #<store-conn= ection 256.99 7fc5fd407640> _ _)
=C2=A0 1367:15 =C2=A00 (_ #<store= -connection 256.99 7fc5fd407640> _ _)

./guix/store.scm:1367:15: E= RROR:
=C2=A0 1. &store-protocol-error:
=C2=A0 =C2=A0 =C2=A0 messa= ge: "`/gnu/store/5r3sb6bj6pppn4h35a35956mv5qrd011-guix-command substit= ute' died unexpectedly"
=C2=A0 =C2=A0 =C2=A0 status: 1
guix = pull: error: You found a bug: the program '/gnu/store/pl48b057h6yg8w6f7= hafiilcc44d0fn6-compute-guix-derivation'
failed to compute the deriv= ation for Guix (version: "cf48f0fc4c40a2ec0b38a445e1e13f37722a0ade&quo= t;; system: "x86_64-linux";
host version: "ecf92194a55188= a9c217d76617378749db063453"; pull-version: 1).
Please report i= t by email to <bug-guix@gnu.org&= gt;.

is much different than this:

guix substitute: error: TLS error in procedure 'handshake'= : Error in the pull function.
substitution of /gnu/store/k1da7bv579d8gvw= drakd9l4hxswknff2-guix-module-union failed
guix pull: error: some substitutes for the outputs of derivation=20 `/gnu/store/k2gdq7ahjaqmdgjr9xwywqpxvzazn467-guix-e07573432.drv' failed= =20 (usually happens due to networking issues); try `--fallback' to build= =20 derivation from source

especially to one as new to= scheme as myself. I can't say why the two errors were different as I&#= 39;m not familiar mechanically with what phases pull goes through but I can= say the first error occurred during the beginning of the pull and the seco= nd occurred in the wrap up thing it does towards the end.

On Tue, Jun 16, 2020 at 1:07 AM Ludovic Court=C3=A8s <ludo@gnu.org> wrote:
Hi,

Quinten Gruenthal <quintengruenthal@gmail.com> skribis:

> Sure; though, as I mentioned before I did try again and it did work. D= oing
> a pull once more I failed with:
>
> guix substitute: error: TLS error in procedure 'handshake': Er= ror in the
> pull function.
> substitution of
> /gnu/store/k1da7bv579d8gvwdrakd9l4hxswknff2-guix-module-union failed > guix pull: error: some substitutes for the outputs of derivation
> `/gnu/store/k2gdq7ahjaqmdgjr9xwywqpxvzazn467-guix-e07573432.drv' f= ailed
> (usually happens due to networking issues); try `--fallback' to bu= ild
> derivation from source

Could it be that you=E2=80=99re on a flaky network connection?

> As with before, I was also able to succeed on a subsequent pull; but t= his
> error seemed to be handled better as it suggested both the cause of th= e
> problem and a possible solution.

If the connection is dropped, there=E2=80=99s little we can do, but maybe y= ou=E2=80=99re
suggesting better error reporting?

Thanks,
Ludo=E2=80=99.

PS: Please keep the bug Cc=E2=80=99d.
--000000000000e4c96805a834c390-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 17 08:03:19 2020 Received: (at 41878) by debbugs.gnu.org; 17 Jun 2020 12:03:19 +0000 Received: from localhost ([127.0.0.1]:50618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlWml-0007qO-A7 for submit@debbugs.gnu.org; Wed, 17 Jun 2020 08:03:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlWmi-0007q4-8N for 41878@debbugs.gnu.org; Wed, 17 Jun 2020 08:03:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43902) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlWmd-0006eh-1V; Wed, 17 Jun 2020 08:03:11 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40890 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jlWmc-0008EF-BM; Wed, 17 Jun 2020 08:03:10 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Quinten Gruenthal Subject: Re: bug#41878: Handshake Error References: <87y2ooyv2h.fsf@gnu.org> <87a713xwko.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Prairial an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 17 Jun 2020 14:03:08 +0200 In-Reply-To: (Quinten Gruenthal's message of "Tue, 16 Jun 2020 07:57:26 -0700") Message-ID: <87v9jprjb7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41878 Cc: 41878@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Quinten Gruenthal skribis: > Yes and yes. I didn't state explicitly that it was a problem with my > network only because I didn't want to appear overconfident in my amateur > diagnosis and I definitely prefer the second error message to the one that > dumps a trace and prompts the filing of a bug. This: > > substitute: guix substitute: error: TLS error in procedure 'handshake': > Error in the pull function. I see. I=E2=80=99ll take a look and see how we can improve on this. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 17 08:04:02 2020 Received: (at control) by debbugs.gnu.org; 17 Jun 2020 12:04:02 +0000 Received: from localhost ([127.0.0.1]:50622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlWnS-0007s6-HO for submit@debbugs.gnu.org; Wed, 17 Jun 2020 08:04:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlWnQ-0007rQ-BK for control@debbugs.gnu.org; Wed, 17 Jun 2020 08:04:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43908) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlWnL-0006hI-41 for control@debbugs.gnu.org; Wed, 17 Jun 2020 08:03:55 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40894 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jlWnK-0000Lq-GQ for control@debbugs.gnu.org; Wed, 17 Jun 2020 08:03:54 -0400 Date: Wed, 17 Jun 2020 14:03:53 +0200 Message-Id: <87tuz9rj9y.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #41878 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) retitle 41878 'guix substitute' and 'guix pull' fail gracelessly on flaky networks quit From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 30 06:07:16 2020 Received: (at 41878) by debbugs.gnu.org; 30 Aug 2020 10:07:16 +0000 Received: from localhost ([127.0.0.1]:49520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCKF1-0008DA-Lt for submit@debbugs.gnu.org; Sun, 30 Aug 2020 06:07:16 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:60160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCKEz-0008Cw-31 for 41878@debbugs.gnu.org; Sun, 30 Aug 2020 06:07:14 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4BfTX96WDXzKmbN for <41878@debbugs.gnu.org>; Sun, 30 Aug 2020 12:07:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1598782024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=y7C49rL0D4VCLrSDydwTu/D/21xfspS9ZeXJySLcncs=; b=TfYUC+JmzvozVJ+17ubhuHKvhce44JYNEqoPIiFI7auRbIUD3RKzLrJJ1Nw65OuBspUvB1 jnA6MYD01E2tk5xNLnHDGByr6fn386uzaKJC0688YhCyAhOd00p0yz62oAytetRsa5zDpR HnpdxzkvQ9VMsMjaFXBG/WiuwhHZRpi2E1BBxoEMdzc0P/WFewsAhuzTtYE2TmgKBpg6pt C32QBbaU35k7mE0oGZGU4G3y984OimtDERRHuaug/phUcWqHEBvdD9bQRiN5wsKWVCFaPt 1cxqQZPBq37tP9zDDts1ZDvTCQO33WW3wq2ttL1p6Fm9MGZTxV1deQOmtvJJ6Q== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id 3KdsH4dOruCI for <41878@debbugs.gnu.org>; Sun, 30 Aug 2020 12:07:02 +0200 (CEST) To: 41878@debbugs.gnu.org From: Brendan Tildesley Subject: Re: 'guix substitute' and 'guix pull' fail gracelessly on flaky networks Message-ID: <2486f02b-b36f-7747-4eb0-b43d9215dd9f@brendan.scot> Date: Sun, 30 Aug 2020 20:06:58 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-MBO-SPAM-Probability: X-Rspamd-Score: -0.95 / 15.00 / 15.00 X-Rspamd-Queue-Id: DB15B683 X-Rspamd-UID: 92278a X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41878 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) I have not looked closely but from observation I think currently guix first decides if it is going to commit to using a substitute, or falling back to building locally, by checking if substitutes are available then committing to a method. This differs from the concept of a fallback in my head, which would involve trying option B only after option A has been tried and failed. guix's way means there are a class of failures where guix simply gives up and stops instead of falling back. In my experience, probably 10% of the time I try a guix pull; guix package -u ., there is some weird network error that doesn't happen the second time I run it. Perhaps it would be sufficient to simply try twice for every substitute; accumulate a list of failed substitutes and retry them after iterating through the list of substitutes to download, then if that fails try building from source. only then are we allowed to give up. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 11 10:17:14 2020 Received: (at 41878) by debbugs.gnu.org; 11 Sep 2020 14:17:14 +0000 Received: from localhost ([127.0.0.1]:44903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGjrW-0003ON-1x for submit@debbugs.gnu.org; Fri, 11 Sep 2020 10:17:14 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:40924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGjrU-0003OB-E3 for 41878@debbugs.gnu.org; Fri, 11 Sep 2020 10:17:12 -0400 Received: by mail-wr1-f53.google.com with SMTP id j2so11657291wrx.7 for <41878@debbugs.gnu.org>; Fri, 11 Sep 2020 07:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Tmd3RSddx0ROOM00J7xv9PNaM9xm+pVyvCazSu3wLRE=; b=YADvMPsj/hR+HgEtuYeHGGX8HT64emYgYHA+44afI+DGi9hZlGgIfdW87ojFGyOYSQ ThegYvRR3KcA1ds+BRsBFo/jYAMj5aPvCXJf62KFYyx9tmospMaY10bM8KtEHo8ElHdV XJcR1iCt7VFG/h4mmZeDb5GViXgD5Ds/11PwLsny+GdWkqNTXiHLPQwoAcL6MsEa8LeB OKNV6PyO50CYWXXjQA7oto4jLMT4IW6qDchY3peztpjgfyib0rT0NLybj7ZsfJ1O9yMv UJ0So/25ulXt9FAlGNhqHlG6+uhSUOSEhymEb4wYis8AvAGOdupvVn3FtWv34ra934ZD K5Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Tmd3RSddx0ROOM00J7xv9PNaM9xm+pVyvCazSu3wLRE=; b=j7a7wYN9uwGkq1bnDPe2z6sgqrSQ8QT/kQgtHNmmmWVmbV0m+D2EHB1vBN9ETUmUKt GpjW89939rhfeto095FFozicPDdbQqRgxSWAQAXuEUalp42ogTqzkcsn0TKu3xVdaKGm b2L3l5zmR+nXH2nyiZM035uBaay5uh9YI/afNSMx7zqv1D6J7xxcWpMsP/x5r0bz7iSB geWrj4ln+uJZcbpTXtCOJOUIFSqg/RRUmPHYpMahJM+oD+1wdb9SJ6TCH8yUiDL0D2LT 88OgQwszyMAV8jgA3lRVUUjuwh3PcFMxGpI1P+jYWUBlc1NdroFjVU8LWObqr2z50041 qaBw== X-Gm-Message-State: AOAM531tBIWREieBqw7As/5i30/I3asyDMI0AHK8VceBgi3oefvA2vKF F51QSDhY41XEX26znTrDZjPVfuX8JJQ= X-Google-Smtp-Source: ABdhPJx/OuiMQ+qVtuwpF8db50afsrkl88hmC+rlmBXMPd79vyFf8uCcwQmGsgZUJgF4c129bCDidw== X-Received: by 2002:adf:9e41:: with SMTP id v1mr2557323wre.60.1599833826401; Fri, 11 Sep 2020 07:17:06 -0700 (PDT) Received: from pfiuh02 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id a85sm5031795wmd.26.2020.09.11.07.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 07:17:05 -0700 (PDT) From: zimoun To: Brendan Tildesley Subject: Re: bug#41878: 'guix substitute' and 'guix pull' fail gracelessly on flaky networks References: <2486f02b-b36f-7747-4eb0-b43d9215dd9f@brendan.scot> Date: Fri, 11 Sep 2020 16:17:05 +0200 In-Reply-To: <2486f02b-b36f-7747-4eb0-b43d9215dd9f@brendan.scot> (Brendan Tildesley's message of "Sun, 30 Aug 2020 20:06:58 +1000") Message-ID: <871rj8gzz2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41878 Cc: 41878@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear, On Sun, 30 Aug 2020 at 20:06, Brendan Tildesley wrote: > I have not looked closely but from observation I think currently guix first > decides if it is going to commit to using a substitute, or falling back to > building locally, by checking if substitutes are available then committing to > a method. This differs from the concept of a fallback in my head, which would > involve trying option B only after option A has been tried and failed. guix's > way means there are a class of failures where guix simply gives up and stops > instead of falling back. What do you mean? > In my experience, probably 10% of the time I try a guix pull; guix package -u > ., there is some weird network error that doesn't happen the second time I run > it. Perhaps it would be sufficient to simply try twice for every substitute; > accumulate a list of failed substitutes and retry them after iterating through > the list of substitutes to download, then if that fails try building from > source. only then are we allowed to give up. It rings a bell to me. Something about the configuration of Cuirass and the build farm serving the substitutes; related to caching. But I am not able to find the relevant pointer. All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 17 21:36:04 2025 Received: (at 41878-done) by debbugs.gnu.org; 18 Mar 2025 01:36:05 +0000 Received: from localhost ([127.0.0.1]:33772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuLsC-0007rV-7X for submit@debbugs.gnu.org; Mon, 17 Mar 2025 21:36:04 -0400 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:51362) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tuLs8-0007pV-Mz for 41878-done@debbugs.gnu.org; Mon, 17 Mar 2025 21:36:01 -0400 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-223594b3c6dso104419955ad.2 for <41878-done@debbugs.gnu.org>; Mon, 17 Mar 2025 18:36:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742261753; x=1742866553; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Vgf/gbeq0QC06XjiRQKU5N6p/rYFtJyUOND9OHFr4zE=; b=AM2PzzKOeelaZIDy3y9h+QRn1ZLyQa6g9O2JHQOy8bTxSWRsYzBN0PUs94+ZIF+Vx8 iOvEtMPJFIe1PQQuEfh04VuWsdwcOn7lsldILD2M7YpvMzHRpNvXRzWoeL/aF1JN1FfC 5G1cYlbAqcluvAI02c6XZx5CTXx1Yz9sLJh2FWwYr7KMujNJ34AivdKTBKwHsNtkkqe3 FScHG6rGbdu2dv6Piw8ExvtQZJGF+GYfigwJV1OIABTS45C9kRqL/oPQEoKtGQuZ4uSU VhCJ0BaqkTYKiqOOyM4UV76daDP94fuwlxL88EQkfmOvroltPZyJs21SSzK1Cnzu/e4X YW+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742261753; x=1742866553; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Vgf/gbeq0QC06XjiRQKU5N6p/rYFtJyUOND9OHFr4zE=; b=qklaOucZzgzTYss10N99GGMr0O0eXr5g27pqQ7HzJL2vliWgfp0y8BL9tjmyXPsR9W wceSnkeW77DaSd6Z/hjGaRkMmn8kmcvQSqj0CouaQZeJcwrz3h2ceCP54PGe/SODV3bo eI/S/v44JUmZ7xkQHrtbCV/HxZrxABZfmFUM+jVpmJ/J36xNa1s37XvztpxFpk5QAKt4 c0kcMq2a2LwjCGaO9YfRPhKViPgEYYPwCN/eBXzpSHB7s0W/Oz0E/DSGdN0YrEri8kKW AM2gYhcxlfp5xBqhe5uL+DqYwvCFGT+gvipuW8GJhhm0Z8np1zid2ll6BA05stXwiZxO ys9g== X-Forwarded-Encrypted: i=1; AJvYcCVFSsRId2rGYP4+1+EA+6BWyL8ibj2NBAPkUJxkF7UuYlQhZaLRrjCzA7yii2OpPOFn+3pHrJEKreOd@debbugs.gnu.org X-Gm-Message-State: AOJu0YwzsT2zolfz1NRN5GpNOnuMvptZaIbv9g5aDwTobew9hiEtaVK0 GoyNgIRj7dfQO3vZKhqVVp5lXvKdiW/24f8cOI15j5TvLxAqHfjOfld785UY X-Gm-Gg: ASbGnctOBsCLcIJjitvJBs2AnyhQY8xTO4sNapHU+Gsf0eXJJWuHrtxtGRWHYmctY9r ggL2DKTiClhY/d3YNPx9e8OZdHn7Ln3BVvweu1goX3ZKJI3IDr/fe5RqEWBRANNg4rTB1+fX/84 xdLXtP6RnEf+dhwFpbKSNnOqoRrqud8qem6T8/hh0S4WeEPmSyTPeef9vvE6mpweGmKQ95WIE8f 4f3os44kAcXa5K4qbIJpJKnGspvCUwGaIDUCyHTEoON8hMvtls6K7y4oeOyH9h2pit6l3sylrMq l1lOdzoqoVRST88VrKY4DxWGlVQ5lpMiRhjKH5QzHZU= X-Google-Smtp-Source: AGHT+IFG+QvmR2+SSAImWNl+9GIZeRIjYSh4KYPiA/9GzUDvNaNhXDkt2LD/D31IXn9EiqkjQXbKmA== X-Received: by 2002:a05:6a00:2190:b0:736:5725:59b4 with SMTP id d2e1a72fcca58-73722339c79mr20249730b3a.3.1742261753273; Mon, 17 Mar 2025 18:35:53 -0700 (PDT) Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-737115292d6sm8315042b3a.35.2025.03.17.18.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Mar 2025 18:35:52 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#41878: 'guix substitute' and 'guix pull' fail gracelessly on flaky networks In-Reply-To: <87v9jprjb7.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 17 Jun 2020 14:03:08 +0200") References: <87y2ooyv2h.fsf@gnu.org> <87a713xwko.fsf@gnu.org> <87v9jprjb7.fsf@gnu.org> Date: Tue, 18 Mar 2025 10:35:37 +0900 Message-ID: <87h63ryvbq.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41878-done Cc: 41878-done@debbugs.gnu.org, Quinten Gruenthal X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludovic, Ludovic Court=C3=A8s writes: > Hi, > > Quinten Gruenthal skribis: > >> Yes and yes. I didn't state explicitly that it was a problem with my >> network only because I didn't want to appear overconfident in my amateur >> diagnosis and I definitely prefer the second error message to the one th= at >> dumps a trace and prompts the filing of a bug. This: >> >> substitute: guix substitute: error: TLS error in procedure 'handshake': >> Error in the pull function. > > I see. I=E2=80=99ll take a look and see how we can improve on this. I believe that's been fixed in commit fa70c141552c76cf4dc9666f577bf6b471fa0d50 ("substitute: Reopen connection upon =E2=80=9CError in the push function=E2=80=9D from GnuTLS."). Closing. --=20 Thanks, Maxim From unknown Fri Jun 20 07:14:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 15 Apr 2025 11:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator