From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iMTeHyTuUWLnegAAgWs5BA (envelope-from ) for ; Sat, 09 Apr 2022 22:35:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EBxXGCTuUWIsFwEAG6o9tA (envelope-from ) for ; Sat, 09 Apr 2022 22:35:48 +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 AC37E19D6C for ; Sat, 9 Apr 2022 22:35:47 +0200 (CEST) Received: from localhost ([::1]:59974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndHoA-0002FU-8z for larch@yhetil.org; Sat, 09 Apr 2022 16:35:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndHmU-0000Rh-Be for guix-patches@gnu.org; Sat, 09 Apr 2022 16:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndHmU-0002nJ-2H for guix-patches@gnu.org; Sat, 09 Apr 2022 16:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndHmT-000363-VQ for guix-patches@gnu.org; Sat, 09 Apr 2022 16:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54723] [PATCH] Check URI when verifying narinfo validity. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 Apr 2022 20:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54723 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Guillaume Le Vaillant Cc: 54723@debbugs.gnu.org Received: via spool by 54723-submit@debbugs.gnu.org id=B54723.164953640211856 (code B ref 54723); Sat, 09 Apr 2022 20:34:01 +0000 Received: (at 54723) by debbugs.gnu.org; 9 Apr 2022 20:33:22 +0000 Received: from localhost ([127.0.0.1]:38783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndHlq-00035A-K1 for submit@debbugs.gnu.org; Sat, 09 Apr 2022 16:33:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndHlp-00034y-8F for 54723@debbugs.gnu.org; Sat, 09 Apr 2022 16:33:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndHlU-0002ir-BJ; Sat, 09 Apr 2022 16:33:15 -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=HunWTa1OSUUcJVQSoSlt/bL4en8agfZBthxdm25xdec=; b=MlfNCDiGMV+JUbnV29Nd 8mbkfsl6GmD794JbcSNmm69pfKzDxBteoxiKoyiTODQPfHmdyYMqxLaZ+KtlzCOI/aEHi3PGMwQMG xbb5Otyx3C9tsrOb+imVdZNdPVsXEm7OC9Is3AGsM+Waf1xgvjMC+aXEmgnrR5tyiqp6XvVU4K7ua lH2AW9PPNEWAOObGxSmrbVpRYg85VKLotvAMqd9yHEZUBxlkj2Uub2LR+++eB+eVAUXxtnp+Lfztd LfH3x4ktpjsblPuGTc0dtJYEBfBppHgtCE7c1vhFQ+lr4hvY6DrN9vFs7yaaYBfUhcGq3xaS0Y/20 VBPOuIaxsFGq0A==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:62854 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndHl9-0001vw-Jm; Sat, 09 Apr 2022 16:32:59 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87a6czbzvh.fsf@kitej> <877d83lapv.fsf@gnu.org> <875ynnbe65.fsf@kitej> Date: Sat, 09 Apr 2022 22:32:38 +0200 In-Reply-To: <875ynnbe65.fsf@kitej> (Guillaume Le Vaillant's message of "Tue, 05 Apr 2022 17:51:47 +0000") Message-ID: <87pmlq6lqx.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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1649536547; 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=HunWTa1OSUUcJVQSoSlt/bL4en8agfZBthxdm25xdec=; b=T1tDS0VOrIzsyCPfoqfJxVgIG8CmrDOMzgWbPQs63uKHVKvdY/nD9a0X9HaH0WDCCv6mIm QHrB6mNFCwnortCiPpUnfwYCLX0o2Q/mqtYKgPiKyTqMDixMDfYCHeBFhXIuPGX2yPcOLA nfd02JPmUsftB9dzKKUDjJc3Z4PqyfdX+nT6PI3Rrz5pk+E2VgBdH9l+VUE2LlTdm5Va/2 wrbNlQ+WdNM+wFsivoWAxj83hmZJCMaQqdypWUbOxb79He2CT2cMHk6hpuGRRmJf2x5/+L TO+LVAOUJ1m7+cwgszSOSglLZ9SoQtN+PW7HIDb3D0t3fTdu/lCjgVq8H/Mrzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649536547; a=rsa-sha256; cv=none; b=pezCOUGi3yA65/U9U2DIml15Fcqevcc2NlVSS2+SN8dKz7j7A2dnulwgz2+1ey2A9diSYS jxUWskOyvo4b98RHefRrs8cuyBkxPLJkxOljy7UfP7au8eBCeFLjLHgZ41Jl0j2ihDF8g6 9UDiGYS0+eUebxg7kvCQQ0ZUIOInlk4WX7aN8S4pT2tFFQG5TPKvg2T2uBvnY/8NjpTwvI pSdBIEJOOkAYGW0ljocLDo72UR7UCR2l4yGSsnOsEDJl4BWOpQTrC664SaeeQ71nzT665j OFW8evx46jnJ0H5DjujhpOLcG8QEo0O7UDc8y8tTt1PVvn6OmtVHynG1NuEwcg== 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=MlfNCDiG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.27 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=MlfNCDiG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AC37E19D6C X-Spam-Score: -4.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: lr+Q6Tafepv7 Hi, Guillaume Le Vaillant skribis: > However for one of them it looks like the guix-publish server got stuck > on the request for several minutes (the second attempt worked): > > wget http://192.168.0.22:8080/184b50qkcrkchc6dpwwcd7ypqb5yvrm3.narinfo > --2022-04-05 19:33:56-- http://192.168.0.22:8080/184b50qkcrkchc6dpwwcd7y= pqb5yvrm3.narinfo > Connexion =C3=A0 192.168.0.22:8080=E2=80=A6 connect=C3=A9. > requ=C3=AAte HTTP transmise, en attente de la r=C3=A9ponse=E2=80=A6 Erreu= r de lecture (Connexion r=C3=A9-initialis=C3=A9e par le correspondant) dans= les en-t=C3=AAtes. > Nouvel essai. > > --2022-04-05 19:36:40-- (essai=C2=A0: 2) http://192.168.0.22:8080/184b= 50qkcrkchc6dpwwcd7ypqb5yvrm3.narinfo > Connexion =C3=A0 192.168.0.22:8080=E2=80=A6 connect=C3=A9. > requ=C3=AAte HTTP transmise, en attente de la r=C3=A9ponse=E2=80=A6 200 OK > Taille=C2=A0: 7428 (7,3K) [application/x-nix-narinfo] > Sauvegarde en=C2=A0: =C2=AB=C2=A0184b50qkcrkchc6dpwwcd7ypqb5yvrm3.narinfo= =C2=A0=C2=BB > > 184b50qkcrkchc6dpwwcd7ypqb5yvrm3.narinfo 100%[=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>] 7,25K --.= -KB/s ds 0,02s=20=20=20 > > 2022-04-05 19:36:40 (391 KB/s) =E2=80=94 =C2=AB=C2=A0184b50qkcrkchc6dpwwc= d7ypqb5yvrm3.narinfo=C2=A0=C2=BB sauvegard=C3=A9 [7428/7428] > > Could that be the cause of the issue? Yes, it could be the issue. Is there any clue as to why =E2=80=98guix publ= ish=E2=80=99 hung up first? Something in its log maybe? Ludo=E2=80=99.