From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kPITLRsQfWJ7FwEAbAwnHQ (envelope-from ) for ; Thu, 12 May 2022 15:48:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +D8tLBsQfWLMmwAAG6o9tA (envelope-from ) for ; Thu, 12 May 2022 15:48:11 +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 54CBEB722 for ; Thu, 12 May 2022 15:48:11 +0200 (CEST) Received: from localhost ([::1]:51504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1np9Ao-0003Mv-Gg for larch@yhetil.org; Thu, 12 May 2022 09:48:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np9Ag-0003Fl-Ky for bug-guix@gnu.org; Thu, 12 May 2022 09:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46128) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1np9Ag-0002nF-Cx for bug-guix@gnu.org; Thu, 12 May 2022 09:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1np9Ag-0002vI-BP for bug-guix@gnu.org; Thu, 12 May 2022 09:48:02 -0400 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-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=1652363291; 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=yZSrS5omIipQtP9LwcXof/pdzjeSpeT2tctK5X7QlZs=; b=K/NBk5mv6j1VCXcpqTQltpKisshgq6HoNMVQDt9WrvIiNUhgjkAE6lL9kjIN6oOPIisKKL XY4z6f02dJLlB9tewR3gZ36w3YrJJ2P6smZNCMfebet+UTNzS6BFKK1z1lF44QaNVxhKFk TfZnKyO6eGNCezOnqt2uVLqDn+JkWsX9uMevs8BJYWgeqkzyke9wSVWHNmTOwD60O8mVxe uNOZethSAFdYW+RuVOJYv4zf779rZTFXjKm5bEF/lrGkFYXUQibQ5VJ9+qGy3nyyivYkfR X/XKnIMfcjdlgsQ0mVCTKeQbvJQRQyn2+O/oocaqQFllb5JClT9C/oLaCNsZYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652363291; a=rsa-sha256; cv=none; b=pEkSv4Lb+DqILCH99v0Ucm0vsdEbMyKE+BkZXb5TxmPHzJzGie2fT8iyDWKeowkcJxUgyk yhycE3+81iBi9lJcI+s0IQuWhrTdJAPoOPECdE8OJ3IsUFvRs7nePgpGWZwiBli6J3LMN8 p3p92wDi9dLT5g8FD270lcXcEJR4nJ9GWtqfnXOTmeweUHndeF+E3s+tSlTj5N83W/u8qr v3PVNAZ7BcLcaJhoQ2rI2zq8STZcPKfwFa7owMsgAWqeE37h6hFg8wm5APJItmJmprsdiA LVUSbP9fOlikwAiVF68G4NM/exn5cQvLeOMtE+gfuFFNm9iM5yPiKm0rQp7jsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OotSeZBk; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7.49 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OotSeZBk; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 54CBEB722 X-Spam-Score: 7.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7n9h6c4psCb/ 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