From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EBrsG7DJfGKwSgAAbAwnHQ (envelope-from ) for ; Thu, 12 May 2022 10:47:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qCKhG7DJfGIKBQAAauVa8A (envelope-from ) for ; Thu, 12 May 2022 10:47:44 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 275FDE577 for ; Thu, 12 May 2022 10:47:44 +0200 (CEST) Received: from localhost ([::1]:54284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1np4U2-0003I4-S2 for larch@yhetil.org; Thu, 12 May 2022 04:47:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np45C-0008AU-VY for bug-guix@gnu.org; Thu, 12 May 2022 04:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45605) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1np45B-0004hY-VD for bug-guix@gnu.org; Thu, 12 May 2022 04:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1np45B-0005qr-PX for bug-guix@gnu.org; Thu, 12 May 2022 04:22:01 -0400 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652345264; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=q51j45DleY5prp11bzH6Ns0bjiMHJPN45icwTg0c4cs=; b=HBwuegyUkDLcsnrFHzLHncX/48oMxWUsKisZYoksqfRjAYgb9yU0gLRocc1iarAlRKSMPU SH4WW8rWiB4FT2qTZueelX1ZkFsiENgejcQkqGXtmgFHBx0NKuUJq0X3wURIk/9KOJ8lSF MnaIqgF2YBHkwCQ82xEv+uRGUMFg7glMH0G/RO6TjTAlMzfaz992VC2B3njXEV/+iOOsA6 5Hkm84OXMk7m59Nlg9qfByzV15mvPtXoDEPODgviLAEWmsFGif84VSJttlbqm6yie5C4gL Oii0k7ayDNQfaCF+Qpzd4xresfyCld2pKRREp5hDAMIJBf1GUEyVTDTybhbTSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652345264; a=rsa-sha256; cv=none; b=IWMqbKXIgyNEBKk7CZ5TQ6oIr6mGhfDN3+VWhjSbtE2Pzsox4Yd/4+wg66DGy3pnn5TBUJ cP91zIH4ORnX7+GtBULslWfhU+XPfiBMzUO6v2JMtB4l5FgL2sn6WIxJty36ed86wVm3e4 y0spmeiPbCqB/nKk5rhwK0+keDnzi1ZndnedbkAlSgQhOinGqjpq1bBVN3YWSo0eDQIjpS Yhl9eft0JpQrhMqM5Y7Vk0T0wV+amNO5TO1x+ftjQy1t1nkSB6Uh6kPPZs4AEfmzLWmCLm 3HIllH5pEaIns+gMfOr7cO7QYuUUKms/2h/WU88Yv397DXy/66xWNDTM0Tsr2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=bCGk1cGn; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.51 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=bCGk1cGn; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 275FDE577 X-Spam-Score: -3.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: R/4MndOE7H3V 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.