From unknown Sun Jun 22 17:16:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Simon Streit Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 31 Jan 2022 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53668@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164365427020909 (code B ref -1); Mon, 31 Jan 2022 18:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2022 18:37:50 +0000 Received: from localhost ([127.0.0.1]:40750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEbYW-0005Qd-6l for submit@debbugs.gnu.org; Mon, 31 Jan 2022 13:37:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:42116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEbYU-0005QV-K1 for submit@debbugs.gnu.org; Mon, 31 Jan 2022 13:37:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEbYT-0000Hy-H9 for bug-guix@gnu.org; Mon, 31 Jan 2022 13:37:34 -0500 Received: from smtprelay05.ispgateway.de ([80.67.18.28]:23771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEbY9-0004wW-KE for bug-guix@gnu.org; Mon, 31 Jan 2022 13:37:18 -0500 Received: from [79.252.155.190] (helo=motorball) by smtprelay05.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nEbXU-0004QO-Ct; Mon, 31 Jan 2022 19:36:32 +0100 From: Simon Streit Gcc: nnfolder+archive:sent.2022-01 Date: Mon, 31 Jan 2022 19:37:05 +0100 Message-ID: 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-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn Received-SPF: none client-ip=80.67.18.28; envelope-from=simon@netpanic.org; helo=smtprelay05.ispgateway.de X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, WEIRD_PORT=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (-) Hello, quite often, and quite randomly I run into this situation that whenever Guix tries to rebuild a profile, and sometimes while downloading from local Guix hosts sharing their store items, the process will crash with the following error: --8<---------------cut here---------------start------------->8--- ~ $1 reconfigure substitute: updating substitutes from 'http://192.168.0.157:3000'... 56.3%= Backtrace: substitute: In ice-9/boot-9.scm: substitute: 1752:10 17 (with-exception-handler _ _ #:unwind? _ # _) substitute: In unknown file: substitute: 16 (apply-smob/0 #) substitute: In ice-9/boot-9.scm: substitute: 724:2 15 (call-with-prompt _ _ #) substitute: In ice-9/eval.scm: substitute: 619:8 14 (_ #(#(#))) substitute: In guix/ui.scm: substitute: 2206:7 13 (run-guix . _) substitute: 2169:10 12 (run-guix-command _ . _) substitute: In ice-9/boot-9.scm: substitute: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) substitute: 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _) substitute: In guix/scripts/substitute.scm: substitute: 757:18 9 (_) substitute: 348:26 8 (process-query # _ #:cache-urls _ = #:acl _) substitute: In guix/substitutes.scm: substitute: 365:27 7 (lookup-narinfos/diverse _ _ # =E2=80=A6) substitute: 322:31 6 (lookup-narinfos _ _ #:open-connection _ # _) substitute: 245:26 5 (fetch-narinfos _ _ #:open-connection _ # _) substitute: In ice-9/boot-9.scm: substitute: 1685:16 4 (raise-exception _ #:continuable? _) substitute: 1685:16 3 (raise-exception _ #:continuable? _) substitute: 1780:13 2 (_ #<&compound-exception components: (#<&assertion= -fail=E2=80=A6>) substitute: 1685:16 1 (raise-exception _ #:continuable? _) substitute: 1685:16 0 (raise-exception _ #:continuable? _) substitute: substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception: substitute: Wrong type (expecting exact integer): #f guix system: error: `/gnu/store/kcc8zh1fhp05wgw2m48w3gk228j39f5q-guix-1.3.0= -21.e427593/bin/guix substitute' died unexpectedly --8<---------------cut here---------------end--------------->8--- Unfortunately this crash happens at random. Other times it goes through. Current checkout is ff14bc60e56fb0c6636da1da9a850b7b04abb367, which isn't the most current, I know. I've been observing this behavior since some time now, and haven't figured out what the reason is behind it yet. The error message looks similar to [1]. The way this error appears is, that I usually have one host that I upgrade first, and then share the checkout and the store between hosts to speed up the upgrading process locally. Unfortunately the updater will crash randomly whenever the host starts scanning other hosts that are found through mDNS. Sometimes this happens while fetching new packages into a profile. I've set up publishing: --8<---------------cut here---------------start------------->8--- (service guix-publish-service-type (guix-publish-configuration (host "0.0.0.0") (port 3000) (ttl #f) (advertise? #t))) --8<---------------cut here---------------end--------------->8--- and of course host discovery in guix-service-type too. Kind regards Simon [1] https://issues.guix.gnu.org/52464 From unknown Sun Jun 22 17:16:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 31 Jan 2022 20:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Streit Cc: 53668@debbugs.gnu.org Received: via spool by 53668-submit@debbugs.gnu.org id=B53668.16436606339843 (code B ref 53668); Mon, 31 Jan 2022 20:24:02 +0000 Received: (at 53668) by debbugs.gnu.org; 31 Jan 2022 20:23:53 +0000 Received: from localhost ([127.0.0.1]:41054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEdDM-0002Yg-JH for submit@debbugs.gnu.org; Mon, 31 Jan 2022 15:23:52 -0500 Received: from mout01.posteo.de ([185.67.36.65]:38855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEdDK-0002YT-Ar for 53668@debbugs.gnu.org; Mon, 31 Jan 2022 15:23:51 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 14BFD24002C for <53668@debbugs.gnu.org>; Mon, 31 Jan 2022 21:23:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1643660624; bh=Ku8i6P+Ioh2lAqXTn7en4O64Pcp9fX/O1aPwwDjpBqs=; h=From:To:Cc:Subject:Date:From; b=Pgwg7jJg2xUG/KzEmanRlwOf3ir8/IpEzCtg0cs+JyksH8/RLYUjjQRFC3zPJU6A1 +vB+9pEOKBwZGKT/aOBGlf5WZ6CkQWLbfyN1c+A1w+gvfWq4j1GHUI2KcTa/AiqAB+ CLiWzgFgktuJZznruxkDSKVOnd01Sd02kuVUhMtiDiu0dxDlyGawdpuCUCvoWaSGkD 7LV4iThCJ3LOoz7LEWRBo6HeeVQptJI+Zmyd5JIYDVGJT0WPH7gEligX8z49dXepvH psuJSZTG3YPzvLXPc0V2A9n9i4MutpK+LUmihTsBUI7Zrbt1UvmK3IJ0OzSwFDNUOm pUNzzFvMmmCCg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Jnff64fBPz6tmK; Mon, 31 Jan 2022 21:23:42 +0100 (CET) References: From: Guillaume Le Vaillant Date: Mon, 31 Jan 2022 20:17:34 +0000 In-reply-to: Message-ID: <87r18n64du.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Simon Streit skribis: > Hello, > > quite often, and quite randomly I run into this situation that whenever > Guix tries to rebuild a profile, and sometimes while downloading from > local Guix hosts sharing their store items, the process will crash with > the following error: > > ~ $1 reconfigure > substitute: updating substitutes from 'http://192.168.0.157:3000'... 56.= 3%Backtrace: > substitute: In ice-9/boot-9.scm: > substitute: 1752:10 17 (with-exception-handler _ _ #:unwind? _ # _) > substitute: In unknown file: > substitute: 16 (apply-smob/0 #) > substitute: In ice-9/boot-9.scm: > substitute: 724:2 15 (call-with-prompt _ _ #) > substitute: In ice-9/eval.scm: > substitute: 619:8 14 (_ #(#(#))) > substitute: In guix/ui.scm: > substitute: 2206:7 13 (run-guix . _) > substitute: 2169:10 12 (run-guix-command _ . _) > substitute: In ice-9/boot-9.scm: > substitute: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) > substitute: 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _) > substitute: In guix/scripts/substitute.scm: > substitute: 757:18 9 (_) > substitute: 348:26 8 (process-query # _ #:cache-urls = _ #:acl _) > substitute: In guix/substitutes.scm: > substitute: 365:27 7 (lookup-narinfos/diverse _ _ # =E2=80=A6) > substitute: 322:31 6 (lookup-narinfos _ _ #:open-connection _ # _) > substitute: 245:26 5 (fetch-narinfos _ _ #:open-connection _ # _) > substitute: In ice-9/boot-9.scm: > substitute: 1685:16 4 (raise-exception _ #:continuable? _) > substitute: 1685:16 3 (raise-exception _ #:continuable? _) > substitute: 1780:13 2 (_ #<&compound-exception components: (#<&asserti= on-fail=E2=80=A6>) > substitute: 1685:16 1 (raise-exception _ #:continuable? _) > substitute: 1685:16 0 (raise-exception _ #:continuable? _) > substitute: > substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception: > substitute: Wrong type (expecting exact integer): #f > guix system: error: `/gnu/store/kcc8zh1fhp05wgw2m48w3gk228j39f5q-guix-1.3= .0-21.e427593/bin/guix substitute' died unexpectedly > > > Unfortunately this crash happens at random. Other times it goes > through. Current checkout is ff14bc60e56fb0c6636da1da9a850b7b04abb367, > which isn't the most current, I know. I've been observing this behavior > since some time now, and haven't figured out what the reason is behind > it yet. The error message looks similar to [1]. > > The way this error appears is, that I usually have one host that I > upgrade first, and then share the checkout and the store between hosts > to speed up the upgrading process locally. Unfortunately the updater > will crash randomly whenever the host starts scanning other hosts that > are found through mDNS. Sometimes this happens while fetching new > packages into a profile. > > I've set up publishing: > > (service guix-publish-service-type > (guix-publish-configuration (host "0.0.0.0") > (port 3000) > (ttl #f) > (advertise? #t))) > > and of course host discovery in guix-service-type too. > > > Kind regards > Simon > > > [1] https://issues.guix.gnu.org/52464 Hi, I have also seen this kind of crashes on my LAN. I don't know what causes this issue, but I noticed that it has happened less often since I activated the cache for the guix-publish service. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYfhFTQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j898QD+PNojQz8a7Lq9wMwiJpnBXglOWgcX7pskNJtX rOsMI4kBAJeSEWQrmU00INAr3nO7sdWoVqWuX+qWWq/fsfSUkv6P =yNEt -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 17:16:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Simon Streit Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 31 Jan 2022 21:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Cc: 53668@debbugs.gnu.org Received: via spool by 53668-submit@debbugs.gnu.org id=B53668.164366511317877 (code B ref 53668); Mon, 31 Jan 2022 21:39:01 +0000 Received: (at 53668) by debbugs.gnu.org; 31 Jan 2022 21:38:33 +0000 Received: from localhost ([127.0.0.1]:41088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEeNd-0004eG-EB for submit@debbugs.gnu.org; Mon, 31 Jan 2022 16:38:33 -0500 Received: from smtprelay04.ispgateway.de ([80.67.31.42]:22816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEeNY-0004dz-1D for 53668@debbugs.gnu.org; Mon, 31 Jan 2022 16:38:32 -0500 Received: from [93.195.173.154] (helo=motorball) by smtprelay04.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nEeMv-0006if-Mk; Mon, 31 Jan 2022 22:37:49 +0100 From: Simon Streit References: <87r18n64du.fsf@kitej> Date: Mon, 31 Jan 2022 22:38:17 +0100 In-Reply-To: <87r18n64du.fsf@kitej> (Guillaume Le Vaillant's message of "Mon, 31 Jan 2022 20:17:34 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn X-Spam-Score: 0.0 (/) 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 (-) Hello Guillaume, Guillaume Le Vaillant writes: > I have also seen this kind of crashes on my LAN. > I don't know what causes this issue, but I noticed that it has happened > less often since I activated the cache for the guix-publish service. I just activated the cache. It hasn't crashed so far. From unknown Sun Jun 22 17:16:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Simon Streit Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 31 Jan 2022 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Cc: 53668@debbugs.gnu.org Received: via spool by 53668-submit@debbugs.gnu.org id=B53668.164366613619832 (code B ref 53668); Mon, 31 Jan 2022 21:56:02 +0000 Received: (at 53668) by debbugs.gnu.org; 31 Jan 2022 21:55:36 +0000 Received: from localhost ([127.0.0.1]:41096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEee8-00059o-4S for submit@debbugs.gnu.org; Mon, 31 Jan 2022 16:55:36 -0500 Received: from smtprelay06.ispgateway.de ([80.67.31.101]:12765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEee5-00059d-Ui for 53668@debbugs.gnu.org; Mon, 31 Jan 2022 16:55:34 -0500 Received: from [93.195.173.154] (helo=motorball) by smtprelay06.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nEedK-00087E-N8; Mon, 31 Jan 2022 22:54:46 +0100 From: Simon Streit References: <87r18n64du.fsf@kitej> Date: Mon, 31 Jan 2022 22:55:31 +0100 In-Reply-To: (Simon Streit's message of "Mon, 31 Jan 2022 22:38:17 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn X-Spam-Score: 0.0 (/) 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 (-) Simon Streit writes: > I just activated the cache. It hasn't crashed so far. No, it did crash again. From unknown Sun Jun 22 17:16:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 01 Feb 2022 02:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Streit Cc: 53668@debbugs.gnu.org Received: via spool by 53668-submit@debbugs.gnu.org id=B53668.164368121822802 (code B ref 53668); Tue, 01 Feb 2022 02:07:01 +0000 Received: (at 53668) by debbugs.gnu.org; 1 Feb 2022 02:06:58 +0000 Received: from localhost ([127.0.0.1]:41305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEiZN-0005vh-SS for submit@debbugs.gnu.org; Mon, 31 Jan 2022 21:06:58 -0500 Received: from mail-qt1-f169.google.com ([209.85.160.169]:33653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEiZM-0005vO-OX for 53668@debbugs.gnu.org; Mon, 31 Jan 2022 21:06:57 -0500 Received: by mail-qt1-f169.google.com with SMTP id i4so13300981qtr.0 for <53668@debbugs.gnu.org>; Mon, 31 Jan 2022 18:06:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=+NzxJ18UluUiJo6J/0JGAgko/BvtdnyG8e9t9ae/wC0=; b=Do+xlTW3ZznQmZgQuPewmBpinXRuhAg7Frxi9FYRmWj/tTo5L/+f2KHwdm/4sOgOhO BAizfzO/ak+RR4VPWfbvunzKHJNdhGZvEe5dFRmNUikQtWTHnHVzV8krZlkHSm8ZV9TF OyYKALTeVCRohBImrYeNz/rD8KlnYhoSb3VV2zK13fn3+fYf+filnN6uhjeHtE4SzLBE 4nMFjbYh/IEMW15mOnJQBr4w+s+r2yx/usCKck0swq8AyhBIBEn6JUt771F+EJ+dHby9 WSN8NYVIebgDUkcyhQMTb1uLrzHMQtdQiKIXhrDtDqnuPXTGf456kBxIf1jhJXdhPg9i Nz6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=+NzxJ18UluUiJo6J/0JGAgko/BvtdnyG8e9t9ae/wC0=; b=dlu8TBea8tanuwyio4G+d2BdYExlWN1+37o/HGRDrRBML/9G+Zm1cZn1ZdaJtdr5Ma eLzUhBk3UZyu10MpOtp8ye/wNjliW5X2poyweBhCcRWxspJuOES1D81wnrb5rxvOsVc2 b224a/iQfpeVu08n0InKHRtsKnEpOIEaiYdkglp6TzZVA/SNdY5TKMGD5m0fLQEeaNLk TTYQ1Kiu83V4JDsIN6fAXqM0md0KEnBzv0/sanZTHm4ezfNjtL3MA8oO82KDEjgfLx+8 iLU6kCCsR2TmIZYU+fhp7mmlRCWbw7hoP8nRuuB1hpZTvr2gJqqHQgOybO4XXsuRHc7C g1tw== X-Gm-Message-State: AOAM531FHAZNqGeeEptAjqH6d8NHdOVHYoFEXwotofN+7obCcvSln8wl Vl5PT6YzQmSVfSoEm3aw9Jo4Jy7tbPY= X-Google-Smtp-Source: ABdhPJxr0VsECkfV6LNk+nbKScbiGVHLOkZslNkxtayNHrGisMSs4A80jVtNuD3mSGnK1DcHGMoqvQ== X-Received: by 2002:ac8:7e8c:: with SMTP id w12mr17476043qtj.342.1643681211002; Mon, 31 Jan 2022 18:06:51 -0800 (PST) Received: from hurd (dsl-10-141-111.b2b2c.ca. [72.10.141.111]) by smtp.gmail.com with ESMTPSA id e17sm1387331qte.94.2022.01.31.18.06.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jan 2022 18:06:50 -0800 (PST) From: Maxim Cournoyer References: Date: Mon, 31 Jan 2022 21:06:49 -0500 In-Reply-To: (Simon Streit's message of "Mon, 31 Jan 2022 19:37:05 +0100") Message-ID: <87czk7l4qu.fsf@gmail.com> 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-Spam-Score: 0.0 (/) 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 Simon, Simon Streit writes: > Hello, > > quite often, and quite randomly I run into this situation that whenever > Guix tries to rebuild a profile, and sometimes while downloading from > local Guix hosts sharing their store items, the process will crash with > the following error: > > ~ $1 reconfigure > substitute: updating substitutes from 'http://192.168.0.157:3000'... 56.= 3%Backtrace: > substitute: In ice-9/boot-9.scm: > substitute: 1752:10 17 (with-exception-handler _ _ #:unwind? _ # _) > substitute: In unknown file: > substitute: 16 (apply-smob/0 #) > substitute: In ice-9/boot-9.scm: > substitute: 724:2 15 (call-with-prompt _ _ #) > substitute: In ice-9/eval.scm: > substitute: 619:8 14 (_ #(#(#))) > substitute: In guix/ui.scm: > substitute: 2206:7 13 (run-guix . _) > substitute: 2169:10 12 (run-guix-command _ . _) > substitute: In ice-9/boot-9.scm: > substitute: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) > substitute: 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _) > substitute: In guix/scripts/substitute.scm: > substitute: 757:18 9 (_) > substitute: 348:26 8 (process-query # _ #:cache-urls = _ #:acl _) > substitute: In guix/substitutes.scm: > substitute: 365:27 7 (lookup-narinfos/diverse _ _ # =E2=80=A6) > substitute: 322:31 6 (lookup-narinfos _ _ #:open-connection _ # _) > substitute: 245:26 5 (fetch-narinfos _ _ #:open-connection _ # _) > substitute: In ice-9/boot-9.scm: > substitute: 1685:16 4 (raise-exception _ #:continuable? _) > substitute: 1685:16 3 (raise-exception _ #:continuable? _) > substitute: 1780:13 2 (_ #<&compound-exception components: (#<&asserti= on-fail=E2=80=A6>) > substitute: 1685:16 1 (raise-exception _ #:continuable? _) > substitute: 1685:16 0 (raise-exception _ #:continuable? _) > substitute: > substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception: > substitute: Wrong type (expecting exact integer): #f > guix system: error: `/gnu/store/kcc8zh1fhp05wgw2m48w3gk228j39f5q-guix-1.3= .0-21.e427593/bin/guix substitute' died unexpectedly I suffer from this routinely on my slow HDD machine. I attribute the failure to some timeout that isn't reported correctly by guile-ssh. Perhaps related to https://github.com/artyom-poptsov/guile-ssh/issues/29; there's a new update of guile-ssh to try that Artyom has put up on guix-patches; we should test it. Thanks, Maxim From unknown Sun Jun 22 17:16:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 May 2022 14:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: Simon Streit , 53668@debbugs.gnu.org Received: via spool by 53668-submit@debbugs.gnu.org id=B53668.165228109529363 (code B ref 53668); Wed, 11 May 2022 14:59:01 +0000 Received: (at 53668) by debbugs.gnu.org; 11 May 2022 14:58:15 +0000 Received: from localhost ([127.0.0.1]:38097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nonn5-0007dX-7a for submit@debbugs.gnu.org; Wed, 11 May 2022 10:58:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nonn4-0007dH-4T for 53668@debbugs.gnu.org; Wed, 11 May 2022 10:58:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nonmy-0002uJ-Og; Wed, 11 May 2022 10:58:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Ab3MBruVYTt/ZV0jvqQf/iSKqZymaMBg5ZPiB4nLQOc=; b=fmASZ50GeQT5dZsrqSRs oNqMVVJlOlWCdYPWHsWp5VZyH6yYGjJe6jCFDYEF4gOwQ50fIMUYBzqjkhz/JpP4eQNsOmqpG2At3 22GEmQ+3mhCCH5nEpAFoUYfSvioiZHQdFpGFJ3zXvucov8DaCObrGoXuGFks2zEOKKhyzcXr6MH2R QbByZGVOwupo1Jr05DmON3uorHOYc249b/MPPwAb9pTovMjXej95d896niha7cjLrsKC5eUqvHIvB yXdCX/Lm/wD1hSjlSV1IEtTBGA1siutWUy2YLc9HOnbHm1lyDUheVRYLcOvSX9YbEgZ+2NlkWD69K yGDV+ekdIJZHKQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:61575 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nonmw-0006jn-BW; Wed, 11 May 2022 10:58:08 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87czk7l4qu.fsf@gmail.com> Date: Wed, 11 May 2022 16:58:03 +0200 In-Reply-To: <87czk7l4qu.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 31 Jan 2022 21:06:49 -0500") Message-ID: <87zgjom804.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-Spam-Score: -2.3 (--) 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 (---) Hello! Maxim Cournoyer skribis: > Simon Streit writes: > >> Hello, >> >> quite often, and quite randomly I run into this situation that whenever >> Guix tries to rebuild a profile, and sometimes while downloading from >> local Guix hosts sharing their store items, the process will crash with >> the following error: >> >> ~ $1 reconfigure >> substitute: updating substitutes from 'http://192.168.0.157:3000'... 56= .3%Backtrace: >> substitute: In ice-9/boot-9.scm: >> substitute: 1752:10 17 (with-exception-handler _ _ #:unwind? _ # _) >> substitute: In unknown file: >> substitute: 16 (apply-smob/0 #) >> substitute: In ice-9/boot-9.scm: >> substitute: 724:2 15 (call-with-prompt _ _ #) >> substitute: In ice-9/eval.scm: >> substitute: 619:8 14 (_ #(#(#))) >> substitute: In guix/ui.scm: >> substitute: 2206:7 13 (run-guix . _) >> substitute: 2169:10 12 (run-guix-command _ . _) >> substitute: In ice-9/boot-9.scm: >> substitute: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) >> substitute: 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _) >> substitute: In guix/scripts/substitute.scm: >> substitute: 757:18 9 (_) >> substitute: 348:26 8 (process-query # _ #:cache-urls= _ #:acl _) >> substitute: In guix/substitutes.scm: >> substitute: 365:27 7 (lookup-narinfos/diverse _ _ # =E2=80=A6) >> substitute: 322:31 6 (lookup-narinfos _ _ #:open-connection _ # _) >> substitute: 245:26 5 (fetch-narinfos _ _ #:open-connection _ # _) >> substitute: In ice-9/boot-9.scm: >> substitute: 1685:16 4 (raise-exception _ #:continuable? _) >> substitute: 1685:16 3 (raise-exception _ #:continuable? _) >> substitute: 1780:13 2 (_ #<&compound-exception components: (#<&assert= ion-fail=E2=80=A6>) >> substitute: 1685:16 1 (raise-exception _ #:continuable? _) >> substitute: 1685:16 0 (raise-exception _ #:continuable? _) >> substitute: >> substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception: >> substitute: Wrong type (expecting exact integer): #f >> guix system: error: `/gnu/store/kcc8zh1fhp05wgw2m48w3gk228j39f5q-guix-1.= 3.0-21.e427593/bin/guix substitute' died unexpectedly > > I suffer from this routinely on my slow HDD machine. I attribute the > failure to some timeout that isn't reported correctly by guile-ssh. Guile-SSH is not involved here though. However, this may well be this =E2=80=98guix publish=E2=80=99 bug that was = recently fixed, whereby =E2=80=98guix publish=E2=80=99 without =E2=80=98--cache=E2= =80=99 would send bogus HTTP replies: https://issues.guix.gnu.org/54723 Could you confirm? Ludo=E2=80=99. From unknown Sun Jun 22 17:16:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 May 2022 15:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer Cc: Simon Streit , 53668@debbugs.gnu.org Received: via spool by 53668-submit@debbugs.gnu.org id=B53668.165228136430011 (code B ref 53668); Wed, 11 May 2022 15:03:03 +0000 Received: (at 53668) by debbugs.gnu.org; 11 May 2022 15:02:44 +0000 Received: from localhost ([127.0.0.1]:38117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nonrQ-0007nz-Ea for submit@debbugs.gnu.org; Wed, 11 May 2022 11:02:44 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:43268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nonrP-0007ni-4Z for 53668@debbugs.gnu.org; Wed, 11 May 2022 11:02:44 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id VT2h270084UW6Th06T2hTF; Wed, 11 May 2022 17:02:41 +0200 Message-ID: From: Maxime Devos Date: Wed, 11 May 2022 17:02:41 +0200 In-Reply-To: <87zgjom804.fsf@gnu.org> References: <87czk7l4qu.fsf@gmail.com> <87zgjom804.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-KPlFv6PoSrHpr9qdI7Tj" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1652281361; bh=58wJy/ZIuQCJmQOAN+GmzFgIzsi6cM1wic0BHSO9ZBA=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=ATp3JTGUiwDkZluTkC6RewyK+jICXknEQxu2syFOgUAHGA0WeVv/vhynpPMVJquHv zCaUzR4mOTTFIvGaBpLeS73KRzZNUxZOWaf9mIquWiblsajkRSg++oFnkqYHQsteRP /xXEfumqbu53w+zfYd3tuxa0CoUnUOWdTDhQ0WpwSvUZa1pvLCOxlf5qdzr+aJiAjL PCTp/bKbrr3eUDs92p3ML0nqnsjrEOYEGWPT/kDS2jS/eZq2IXtz6KMPJlY4oyqneV tg7peYzV+v5RN3rYFEztrdZPt8s4k+I8rFCSHvrDaFSRQ2WkYHpWhTaYnKqQUni9AC 42DkIH0+zF8nQ== X-Spam-Score: -0.0 (/) 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 (-) --=-KPlFv6PoSrHpr9qdI7Tj Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op wo 11-05-2022 om 16:58 [+0200]: > However, this may well be this =E2=80=98guix publish=E2=80=99 bug that wa= s recently > fixed, whereby =E2=80=98guix publish=E2=80=99 without =E2=80=98--cache=E2= =80=99 would send bogus HTTP > replies: >=20 > =C2=A0 https://issues.guix.gnu.org/54723 >=20 > Could you confirm? >=20 > Ludo=E2=80=99. Even then, the error message says =E2=80=98wrong type error ...=E2=80=99, s= houldn't it say something like =E2=80=98bogus HTTP=E2=80=99 or =E2=80=98bogus narinfo= =E2=80=99 or such instead? Greetings, Maxime. --=-KPlFv6PoSrHpr9qdI7Tj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnvQERccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ihsAP4wVzmm5lhGs1CqMcSBHZLxzwXf nfN4mKfwfJ7a0b8URgEA/hXC2rHJF3SVgNmaAwt3OgO5yLdnhWAZjE8+a1CoawE= =KWHm -----END PGP SIGNATURE----- --=-KPlFv6PoSrHpr9qdI7Tj-- From unknown Sun Jun 22 17:16:27 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Simon Streit Subject: bug#53668: closed (Re: bug#53668: Updating substitutes on LAN hosts dies unexpectedly) Message-ID: References: <878rr8qfby.fsf@gmail.com> X-Gnu-PR-Message: they-closed 53668 X-Gnu-PR-Package: guix Reply-To: 53668@debbugs.gnu.org Date: Wed, 11 May 2022 15:07:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1652281622-30558-1" This is a multi-part message in MIME format... ------------=_1652281622-30558-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #53668: Updating substitutes on LAN hosts dies unexpectedly which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 53668@debbugs.gnu.org. --=20 53668: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53668 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1652281622-30558-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 53668-done) by debbugs.gnu.org; 11 May 2022 15:06:18 +0000 Received: from localhost ([127.0.0.1]:38130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nonus-0007vj-4R for submit@debbugs.gnu.org; Wed, 11 May 2022 11:06:18 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:46772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nonur-0007vS-6E for 53668-done@debbugs.gnu.org; Wed, 11 May 2022 11:06:17 -0400 Received: by mail-qt1-f174.google.com with SMTP id u35so2146495qtc.13 for <53668-done@debbugs.gnu.org>; Wed, 11 May 2022 08:06:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=9Jw/07DwgMd4AZw1Ih+N/dZShF/trnNfpfG3GQXGuhY=; b=Vnp4eocbwV5nHbejiL0TArJVunpUYCPSi1zUPCniVrPdnVjYhPdM6pUzwt0NTbnGgR zXvbmbX881s6BARQ4slXqzfQwPYonkrtimx3ca9SnfNRmzPKZu6WJB9iUUpxXE3eBz8B YT849RqTWJne4CZSDzC8KcU6lHMwkd61+VyRdLO/gTloCO3wQpWGO1oCle+2k9pcoCKO aB1ClGyDXer8BP/m9tTeGuXw8EiHJsGfdOQM7geX9eu1Z14VMYtBJJwMcZlwmuP3lada SIw+hXV7nwg62PTeh0Z8L5xf+NnDI4W0iwvUF0sCzzYPmdsHMDNM5pU66LqxsM8CaiCJ gm9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=9Jw/07DwgMd4AZw1Ih+N/dZShF/trnNfpfG3GQXGuhY=; b=8JZ5bR3/90wTnWTXqd87D8EApbDDAcMtCqcVMstzzJc6dzZhsqGqUONmplBJWt2vD+ YPwS6lh/SLC4cCs1pFBf9myW//ExrPxk1L5f6t8jnMKJbtn9Sb0wgx5/crB340qS/3fi uh62QWp8j6Yieskv0ysjGCFI05BDOPwoPnXznGYS+Sa7KnmiXqm6SGdbM5drsUg+c2rx 3XPmLrCM7VutCjgeF78Xh+NRgUF7h2jxPI9gWpxT8Zve1UDQ+fvGXMnJ3qUl4WiN2Rqb 0M7dS7P8I/C4OKAkVcaiN1Ib7vTnKKtkGUXhj3Hrxva0KoC9CpA0ButY3pmM6SUuLOln sA0Q== X-Gm-Message-State: AOAM531PckAxR8hbyZ2j+TBzLFrdiW6f+07feyqGadLNhTcKh1+v+Vap X2SPlMTUhC0dggp765TdPs5+C2FL9YjDZg== X-Google-Smtp-Source: ABdhPJzUlJDtaSDOdGgfsA4OZRdb0ZtZZA60E6ozXsrpDjWzMzj3RC1pQF51GbKFYwxug06GlOlXUA== X-Received: by 2002:a05:622a:10e:b0:2f3:b061:9a3d with SMTP id u14-20020a05622a010e00b002f3b0619a3dmr24249787qtw.177.1652281571215; Wed, 11 May 2022 08:06:11 -0700 (PDT) Received: from hurd (dsl-153-173.b2b2c.ca. [66.158.153.173]) by smtp.gmail.com with ESMTPSA id f4-20020ac86ec4000000b002f39b99f67bsm1322275qtv.21.2022.05.11.08.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 08:06:10 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#53668: Updating substitutes on LAN hosts dies unexpectedly References: <87czk7l4qu.fsf@gmail.com> <87zgjom804.fsf@gnu.org> Date: Wed, 11 May 2022 11:06:09 -0400 In-Reply-To: <87zgjom804.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 11 May 2022 16:58:03 +0200") Message-ID: <878rr8qfby.fsf@gmail.com> 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53668-done Cc: 53668-done@debbugs.gnu.org, Simon Streit 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: [...] > However, this may well be this =E2=80=98guix publish=E2=80=99 bug that wa= s recently > fixed, whereby =E2=80=98guix publish=E2=80=99 without =E2=80=98--cache=E2= =80=99 would send bogus HTTP > replies: > > https://issues.guix.gnu.org/54723 > > Could you confirm? I've reconfigured my offload machine and haven't seen the issue yet. Tentatively closing. Thank you for investigating and fixing the issue! Maxim ------------=_1652281622-30558-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 31 Jan 2022 18:37:50 +0000 Received: from localhost ([127.0.0.1]:40750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEbYW-0005Qd-6l for submit@debbugs.gnu.org; Mon, 31 Jan 2022 13:37:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:42116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEbYU-0005QV-K1 for submit@debbugs.gnu.org; Mon, 31 Jan 2022 13:37:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEbYT-0000Hy-H9 for bug-guix@gnu.org; Mon, 31 Jan 2022 13:37:34 -0500 Received: from smtprelay05.ispgateway.de ([80.67.18.28]:23771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEbY9-0004wW-KE for bug-guix@gnu.org; Mon, 31 Jan 2022 13:37:18 -0500 Received: from [79.252.155.190] (helo=motorball) by smtprelay05.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nEbXU-0004QO-Ct; Mon, 31 Jan 2022 19:36:32 +0100 From: Simon Streit To: bug-guix@gnu.org Subject: Updating substitutes on LAN hosts dies unexpectedly Gcc: nnfolder+archive:sent.2022-01 Date: Mon, 31 Jan 2022 19:37:05 +0100 Message-ID: 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-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn Received-SPF: none client-ip=80.67.18.28; envelope-from=simon@netpanic.org; helo=smtprelay05.ispgateway.de X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, WEIRD_PORT=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit 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 (-) Hello, quite often, and quite randomly I run into this situation that whenever Guix tries to rebuild a profile, and sometimes while downloading from local Guix hosts sharing their store items, the process will crash with the following error: --8<---------------cut here---------------start------------->8--- ~ $1 reconfigure substitute: updating substitutes from 'http://192.168.0.157:3000'... 56.3%= Backtrace: substitute: In ice-9/boot-9.scm: substitute: 1752:10 17 (with-exception-handler _ _ #:unwind? _ # _) substitute: In unknown file: substitute: 16 (apply-smob/0 #) substitute: In ice-9/boot-9.scm: substitute: 724:2 15 (call-with-prompt _ _ #) substitute: In ice-9/eval.scm: substitute: 619:8 14 (_ #(#(#))) substitute: In guix/ui.scm: substitute: 2206:7 13 (run-guix . _) substitute: 2169:10 12 (run-guix-command _ . _) substitute: In ice-9/boot-9.scm: substitute: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) substitute: 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _) substitute: In guix/scripts/substitute.scm: substitute: 757:18 9 (_) substitute: 348:26 8 (process-query # _ #:cache-urls _ = #:acl _) substitute: In guix/substitutes.scm: substitute: 365:27 7 (lookup-narinfos/diverse _ _ # =E2=80=A6) substitute: 322:31 6 (lookup-narinfos _ _ #:open-connection _ # _) substitute: 245:26 5 (fetch-narinfos _ _ #:open-connection _ # _) substitute: In ice-9/boot-9.scm: substitute: 1685:16 4 (raise-exception _ #:continuable? _) substitute: 1685:16 3 (raise-exception _ #:continuable? _) substitute: 1780:13 2 (_ #<&compound-exception components: (#<&assertion= -fail=E2=80=A6>) substitute: 1685:16 1 (raise-exception _ #:continuable? _) substitute: 1685:16 0 (raise-exception _ #:continuable? _) substitute: substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception: substitute: Wrong type (expecting exact integer): #f guix system: error: `/gnu/store/kcc8zh1fhp05wgw2m48w3gk228j39f5q-guix-1.3.0= -21.e427593/bin/guix substitute' died unexpectedly --8<---------------cut here---------------end--------------->8--- Unfortunately this crash happens at random. Other times it goes through. Current checkout is ff14bc60e56fb0c6636da1da9a850b7b04abb367, which isn't the most current, I know. I've been observing this behavior since some time now, and haven't figured out what the reason is behind it yet. The error message looks similar to [1]. The way this error appears is, that I usually have one host that I upgrade first, and then share the checkout and the store between hosts to speed up the upgrading process locally. Unfortunately the updater will crash randomly whenever the host starts scanning other hosts that are found through mDNS. Sometimes this happens while fetching new packages into a profile. I've set up publishing: --8<---------------cut here---------------start------------->8--- (service guix-publish-service-type (guix-publish-configuration (host "0.0.0.0") (port 3000) (ttl #f) (advertise? #t))) --8<---------------cut here---------------end--------------->8--- and of course host discovery in guix-service-type too. Kind regards Simon [1] https://issues.guix.gnu.org/52464 ------------=_1652281622-30558-1-- From unknown Sun Jun 22 17:16:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 May 2022 01:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Streit , 53668@debbugs.gnu.org Received: via spool by 53668-submit@debbugs.gnu.org id=B53668.165231824415826 (code B ref 53668); Thu, 12 May 2022 01:18:02 +0000 Received: (at 53668) by debbugs.gnu.org; 12 May 2022 01:17:24 +0000 Received: from localhost ([127.0.0.1]:38871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noxSG-00046w-Be for submit@debbugs.gnu.org; Wed, 11 May 2022 21:17:24 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:34731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noxSE-00041m-S5 for 53668@debbugs.gnu.org; Wed, 11 May 2022 21:17:23 -0400 Received: by mail-qk1-f176.google.com with SMTP id v11so3641420qkf.1 for <53668@debbugs.gnu.org>; Wed, 11 May 2022 18:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=dYQfpJec6DLVmaqDvDqMInyBdEtGdDOJ8Jzf6zUNCV0=; b=gHwg9W+APVqEexjxbVQGPoNEksIPYQno2V/hj1EXOJ0X4cV2XdT5i34YOpXDIKG50K XK3WhzAARfgWUrH4lJ8hxYTSO/RgJ4529pu4TC4TnhdxsE6YVAv5N34/HazyxYnfxWrs yQ1BJRLdNt8FYnVVSu1ccRVN7zeE5dteFodcCkcJVyQN3A3+2uz8sQHbdXzdAjvwJuIB CkJwSbUepqoo1p5itijEJ84ksIJZqoO9Z80AGGa8c0TAgBhT9K9Hv9DhT6/zCn5WxNiM bFQCl3o0ABcyFRqXtNddMChoXSDwmnniNtPn6ov/riEL/PrEYdKM+wYOFwgFx3GD+Wkl FOtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=dYQfpJec6DLVmaqDvDqMInyBdEtGdDOJ8Jzf6zUNCV0=; b=mnKQKADLo4qZLVQ6a501MwjBlrQo9l5YxBzK0D9ZUtgwV1n6ZbKBbmZTG+8F0EdhE0 0EzXRwxTZ3nFONQ2k/TBCp6GRhMb25/OciarPxtA8WjYEXTuDdAg12Ky/qcNlMrbB8/T lxWEAtcBPMCS+rhXj8zR5MUeGs/hQcrMYXdYyPqywaOSYg+DabjArk2pdOcW7Dmk5PqT z8f2rhoFW3SprXeLArosZz0EtEvEnEcOe/pKekrmsD9/Gcn7DRCZDBTDSU+EFJf9NV7i KD+vv/s3lBCTNtl0v02aQgsTYj0gPHNqRti/AKH99OSY8ufyCrsIQwzvx4Jv5g1eEheo yuAw== X-Gm-Message-State: AOAM532Md4h0LcihcVpO3NbZUJbSrTvg/AW/57P4zhLp3YH1XhrPYUEM GLKo6TUDYh7+qWNjvfemynVicmsDI7zyIQ== X-Google-Smtp-Source: ABdhPJzVLURlsq4I3qaJsDR5PrT4WyVmle3vRsE18dRq3Rwn5qRh/3vO9h59c0LS6J/CKOjzRqJYWw== X-Received: by 2002:a37:d245:0:b0:69b:f153:9c38 with SMTP id f66-20020a37d245000000b0069bf1539c38mr21441398qkj.692.1652318237032; Wed, 11 May 2022 18:17:17 -0700 (PDT) Received: from hurd (dsl-153-173.b2b2c.ca. [66.158.153.173]) by smtp.gmail.com with ESMTPSA id g24-20020a05620a13d800b0069fe1fc72e7sm2266865qkl.90.2022.05.11.18.17.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 18:17:16 -0700 (PDT) From: Maxim Cournoyer References: <87czk7l4qu.fsf@gmail.com> <87zgjom804.fsf@gnu.org> Date: Wed, 11 May 2022 21:17:14 -0400 In-Reply-To: (Maxime Devos's message of "Wed, 11 May 2022 17:02:41 +0200") Message-ID: <87wnerpn1h.fsf@gmail.com> 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-Spam-Score: -0.0 (/) 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 Maxime, Maxime Devos writes: > Ludovic Court=C3=A8s schreef op wo 11-05-2022 om 16:58 [+0200]: >> However, this may well be this =E2=80=98guix publish=E2=80=99 bug that w= as recently >> fixed, whereby =E2=80=98guix publish=E2=80=99 without =E2=80=98--cache= =E2=80=99 would send bogus HTTP >> replies: >>=20 >> =C2=A0 https://issues.guix.gnu.org/54723 >>=20 >> Could you confirm? >>=20 >> Ludo=E2=80=99. > > Even then, the error message says =E2=80=98wrong type error ...=E2=80=99,= shouldn't it > say something like =E2=80=98bogus HTTP=E2=80=99 or =E2=80=98bogus narinfo= =E2=80=99 or such instead? I agree that a more accurate error message would have been useful. If you have the bandwidth for a patch, I'd be more than happy reviewing it :-). Thanks, Maxim From unknown Sun Jun 22 17:16:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 May 2022 08:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: Simon Streit , Maxime Devos , 53668@debbugs.gnu.org Received: via spool by 53668-submit@debbugs.gnu.org id=B53668.165234370822468 (code B ref 53668); Thu, 12 May 2022 08:22:01 +0000 Received: (at 53668) by debbugs.gnu.org; 12 May 2022 08:21:48 +0000 Received: from localhost ([127.0.0.1]:39502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np44y-0005qK-5N for submit@debbugs.gnu.org; Thu, 12 May 2022 04:21:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np44w-0005q4-GD for 53668@debbugs.gnu.org; Thu, 12 May 2022 04:21:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np44q-0004gJ-OU; Thu, 12 May 2022 04:21:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=q51j45DleY5prp11bzH6Ns0bjiMHJPN45icwTg0c4cs=; b=bCGk1cGn1BJwBFxrDkvU woexpaEpBx8mS0bFdDnBFDGz2vuPpx+fwTZLWznvBpXNuMO0xWviNG8Wi72JW5Gd/IOyUhgda9m0n aV4+ihwqZj5AaHwfH/8gXS3OIBFeMnXNqAjDiyraspZltPVDm8RN3SKwKqSQoUyiQAarGf2q1SepQ hxQybBMo3AoqLeRDpLd7BawoaiwqtcP+/zTb4iGpEQ3ilDJBGeORMSIG0nxT24w+CyLDQt+f4D5Md mErSJvZ1eBLeJNjk2XDCrTCZE/9e5F9aKxjcjvrVIckLf4fzROjhgsw/I+yx1Wirq6CYK7JkiSb3p UBEwsiaqZYLEsA==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=44920 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np44q-0005uK-BL; Thu, 12 May 2022 04:21:40 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87czk7l4qu.fsf@gmail.com> <87zgjom804.fsf@gnu.org> <87wnerpn1h.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 =?UTF-8?Q?Flor=C3=A9al?= an 230 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: Thu, 12 May 2022 10:21:37 +0200 In-Reply-To: <87wnerpn1h.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 11 May 2022 21:17:14 -0400") Message-ID: <874k1vma9a.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-Spam-Score: -2.3 (--) 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, Maxim Cournoyer skribis: > Maxime Devos writes: > >> Ludovic Court=C3=A8s schreef op wo 11-05-2022 om 16:58 [+0200]: >>> However, this may well be this =E2=80=98guix publish=E2=80=99 bug that = was recently >>> fixed, whereby =E2=80=98guix publish=E2=80=99 without =E2=80=98--cache= =E2=80=99 would send bogus HTTP >>> replies: >>>=20 >>> =C2=A0 https://issues.guix.gnu.org/54723 >>>=20 >>> Could you confirm? >>>=20 >>> Ludo=E2=80=99. >> >> Even then, the error message says =E2=80=98wrong type error ...=E2=80=99= , shouldn't it >> say something like =E2=80=98bogus HTTP=E2=80=99 or =E2=80=98bogus narinf= o=E2=80=99 or such instead? > > I agree that a more accurate error message would have been useful. If > you have the bandwidth for a patch, I'd be more than happy reviewing it > :-). HTTP response parsing happens in (web response) though, not in Guix, so this is where things should be patch. Currently that code pretty much expects it=E2=80=99s talking to a well-beha= ved HTTP server. Changing it to gracefully deal with any kind of garbage might turn out to be quite an effort. Food for thought! Ludo=E2=80=99. From unknown Sun Jun 22 17:16:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 May 2022 13:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Simon Streit , Maxime Devos , 53668@debbugs.gnu.org Received: via spool by 53668-submit@debbugs.gnu.org id=B53668.165236327511191 (code B ref 53668); Thu, 12 May 2022 13:48:02 +0000 Received: (at 53668) by debbugs.gnu.org; 12 May 2022 13:47:55 +0000 Received: from localhost ([127.0.0.1]:40025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np9AY-0002uQ-KT for submit@debbugs.gnu.org; Thu, 12 May 2022 09:47:55 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:33309) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np9AW-0002tZ-Tv for 53668@debbugs.gnu.org; Thu, 12 May 2022 09:47:53 -0400 Received: by mail-qk1-f176.google.com with SMTP id bs17so4659463qkb.0 for <53668@debbugs.gnu.org>; Thu, 12 May 2022 06:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=yZSrS5omIipQtP9LwcXof/pdzjeSpeT2tctK5X7QlZs=; b=OotSeZBk5zaOETKBxlttFzbaCoswML95N0pWoOENL35RS8pCgcwCmbKCcfFqrTe4KN qFW/cqH75aJx6u9dMU2F8ztQNDlcpyYa0e9hH+gmo/LpR4yH1f343H1bKiyLEROhGAf0 nTW4owuKzhsAFw7/YcW58PELm1+XaVye/D5w5TF8HMfXrxsGguG9LjSaLL6/qYMWV+xO 2MJ10Ckg+Qitrd8Rcj2ZzJlPgxFKuIbI1dCXnrEl3YsupTT5eyE7vDyvG4ofFcXSrYre KsQ7oXBg/29FURoKDyoFPGNJLj+GcHbSmiYXpT5UWzzYlbUa+2kcc3cCZM1Ppof80l79 BMAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=yZSrS5omIipQtP9LwcXof/pdzjeSpeT2tctK5X7QlZs=; b=p1PLw0WPdknAMSefp4vbzugmd5R5NWHICw9xUjiyd6++UP8lc+jVsSKvllwVaUiYt8 Ww8Hp2t/XdXZe/9sfDut1E09gr9b2zb+5nskeJ2+Rh67KRsUMGEAdUYYnh5Ij4xoI8fM F1//g+lMVaPB33pwN1APfeGqgyms+4hra1P9EyaITyKmCvdp0LRmi/JomNO5z2KDbUxN +DkecXifyq7m4+BMW8vFL9AYeY4gpoEfVhqY4OhnaGNq2gHqX6cA+cyrVSmbzrdPf1qL QzPQF6qGkNjGEHxvD8qC/iR7e2vTffXMruk1N+ghP1XTm2HquSoxUeBE9QbHE1IstT16 29/A== X-Gm-Message-State: AOAM531OMex1W47rDlkzqMQNuIQy8GIViPbxdq1SP5CsQW9zbJJrIw60 9EjOZS4RU86zUqnLIatlkasmpYfWZxBjsg== X-Google-Smtp-Source: ABdhPJypepk0dZyQRMr6LLv3gdX49Nhs1vVKcqQmz7f1ELupG3bYehKAxs6nKFzanvUlkvy4ZSZZ0Q== X-Received: by 2002:a05:620a:d8d:b0:67b:e95:2975 with SMTP id q13-20020a05620a0d8d00b0067b0e952975mr23148766qkl.115.1652363267165; Thu, 12 May 2022 06:47:47 -0700 (PDT) Received: from hurd (dsl-153-173.b2b2c.ca. [66.158.153.173]) by smtp.gmail.com with ESMTPSA id e2-20020ac84902000000b002f39b99f694sm2777826qtq.46.2022.05.12.06.47.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 06:47:46 -0700 (PDT) From: Maxim Cournoyer References: <87czk7l4qu.fsf@gmail.com> <87zgjom804.fsf@gnu.org> <87wnerpn1h.fsf@gmail.com> <874k1vma9a.fsf@gnu.org> Date: Thu, 12 May 2022 09:47:45 -0400 In-Reply-To: <874k1vma9a.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 12 May 2022 10:21:37 +0200") Message-ID: <87ilqaooam.fsf@gmail.com> 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-Spam-Score: -0.0 (/) 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 (-) Hello, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> Maxime Devos writes: >> >>> Ludovic Court=C3=A8s schreef op wo 11-05-2022 om 16:58 [+0200]: >>>> However, this may well be this =E2=80=98guix publish=E2=80=99 bug that= was recently >>>> fixed, whereby =E2=80=98guix publish=E2=80=99 without =E2=80=98--cache= =E2=80=99 would send bogus HTTP >>>> replies: >>>>=20 >>>> =C2=A0 https://issues.guix.gnu.org/54723 >>>>=20 >>>> Could you confirm? >>>>=20 >>>> Ludo=E2=80=99. >>> >>> Even then, the error message says =E2=80=98wrong type error ...=E2=80= =99, shouldn't it >>> say something like =E2=80=98bogus HTTP=E2=80=99 or =E2=80=98bogus narin= fo=E2=80=99 or such instead? >> >> I agree that a more accurate error message would have been useful. If >> you have the bandwidth for a patch, I'd be more than happy reviewing it >> :-). > > HTTP response parsing happens in (web response) though, not in Guix, so > this is where things should be patch. > > Currently that code pretty much expects it=E2=80=99s talking to a well-be= haved > HTTP server. Changing it to gracefully deal with any kind of garbage > might turn out to be quite an effort. Hmm. I see. Maxime, perhaps an issue can be logged against Guile to at least remember it exists, to tackle by anyone with the interest/bandwidth. I think it'd be valuable in the long run. Thank you! Maxim