From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 M2B4Ko2XkGM6SwEAbAwnHQ (envelope-from ) for ; Wed, 07 Dec 2022 14:39:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IG3qKI2XkGOxGgEAG6o9tA (envelope-from ) for ; Wed, 07 Dec 2022 14:39:25 +0100 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 790DA32C10 for ; Wed, 7 Dec 2022 14:39:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2udc-00040m-2K; Wed, 07 Dec 2022 08:39:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2uda-0003xd-LM for bug-guix@gnu.org; Wed, 07 Dec 2022 08:39:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2uda-0006iA-Dc for bug-guix@gnu.org; Wed, 07 Dec 2022 08:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2uda-0000w1-8v for bug-guix@gnu.org; Wed, 07 Dec 2022 08:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#48468: substitute server connection timeout Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 07 Dec 2022 13:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48468 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 48468@debbugs.gnu.org Received: via spool by 48468-submit@debbugs.gnu.org id=B48468.16704203183583 (code B ref 48468); Wed, 07 Dec 2022 13:39:02 +0000 Received: (at 48468) by debbugs.gnu.org; 7 Dec 2022 13:38:38 +0000 Received: from localhost ([127.0.0.1]:50421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2udC-0000vj-9k for submit@debbugs.gnu.org; Wed, 07 Dec 2022 08:38:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2udA-0000vd-Bd for 48468@debbugs.gnu.org; Wed, 07 Dec 2022 08:38:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2ud5-0006eW-1B for 48468@debbugs.gnu.org; Wed, 07 Dec 2022 08:38:31 -0500 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=VMpl2g1kW8uavHNeZi6SkTR2Agv4PQwDjU2wki/AnD8=; b=XwMPTTe/8xc9QlNfP/b9 e+awrw7HWTl7bp9yYqWy6gtXg+4D7v0TBkxRIHfZAW7LwnUk0D933R79koxRm3pmPlbhg4RJ/BPL/ x0+x9Fb8dmYUOZqNHx1n0ez2u3PdZ1sg5ax7Fqi9BLpDsx1/3Rzq4XOyhYjx7TMh3IIZWAliQx7vr iIjUCfMddm0WgzJ9BtcU1/f0mLZnVdxDUojmdXCahyntERo05nV3nJO0NvBQnI6zvnvmKzfnplQ4S SFISVBIdVte8laVhNu+IbpOgikPxUpIFTpF911in6naeHirjeG4d8QjRLwB4KG0m1BYyP/8DXi5/a PGl1MRmPJtbAQg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2ud1-0000l0-Na; Wed, 07 Dec 2022 08:38:27 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87lf8e4l42.fsf@gnu.org> <87im2bfj3i.fsf@gnu.org> <87sg108vl5.fsf@gnu.org> <87lenmrnos.fsf@gnu.org> <87cz8v8s66.fsf@gnu.org> Date: Wed, 07 Dec 2022 14:38:25 +0100 In-Reply-To: <87cz8v8s66.fsf@gnu.org> (Mathieu Othacehe's message of "Wed, 07 Dec 2022 10:44:01 +0100") Message-ID: <87cz8vjpv2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670420365; 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=VMpl2g1kW8uavHNeZi6SkTR2Agv4PQwDjU2wki/AnD8=; b=bEwy7Zwy/nB2zqTjeublVYEzd41kSnXdgfWUZWvBWM4djPFD+likqHvhmZaGTZ6ds8DqZI L7G8HZna2hs/jyR69Xyhm5vTtVd1ikZjqhil8dbyOdYs+EE0mMTEGEpjcSq09NZhu4lY/E vJ8xxREZ35vbsE3+z7As2UV4/TK9JMxOuGYBGgqTqTZcnqoXk4QrOezbkzqoV3JV2Uy+l8 ERp/1VTemUyCpvNsf6h6DYKKFsX5DjP6j/Yj6LdiZQXdI3msWb7zOTCa2tIfuQL2BwatlY xU1Y/xWJfYlYRMJoFnh3NHwzvE4lPibkNZ6Y+nu6z91AUBE0jGUcsqeFMBYaPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670420365; a=rsa-sha256; cv=none; b=EnVEIFlPOBR5R5c7/81UCsTLTIK+i+B5AjTsh/zm6V4/HI4mpSXxqdDZ8/0TtIugdmdutk CwYy5iXI3Ltn2HDlJ6pJYm/tFBqfRPMLti9oeAL/Xl+NA1ErdEG3rKhvKpYWMRM8utPe+U VclLd8Y+vDlanV6hJGpJf4sGdTuKHNyOszpcYDpll9FdWW8/M6hbI+SqtLFmON/8erG35t 5M29MeVmI00HtV6X60xlKs1yVaoP4hhtkxALtqmC9xyrzqhuI63TZoOXXUqgrib4Wgjk7W zj33pkrHPVlawED+uG4cgOBBNoOJRdl0U0gSiw+MOe0qe9+YI5m97GowdRKwCQ== 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="XwMPTTe/"; 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: -2.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="XwMPTTe/"; 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: 790DA32C10 X-Spam-Score: -2.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: rOO06BibIQtI Hi, Mathieu Othacehe skribis: >> You mentioned on IRC that nginx logs show that =E2=80=98guix publish=E2= =80=99 times out. >> Looking at /var/log/nginx/error.log, I see =E2=80=9CConnection reset by = peer=E2=80=9D >> and =E2=80=9CBroken pipe=E2=80=9D, which could indicate that the client = closed the >> connection (which was open) prematurely, maybe due to an internal >> timeout. > > Could it be that the client is receiving 404 because the baking of some > NAR was deferred to a worker, and then it closes the connection? Unlikely. Take /gnu/store/qmzr030rzgikdxv3g9msqv0l8qp5j6y2-btrfs-raid-root-os.drv, which was marked as failed earlier today due to missing .drv. It=E2=80=99s= a 4KiB file, and the cache-bypass-threshold is =E2=80=98guix publish=E2=80=99= is typically set to something much higher than that. So =E2=80=98guix publish=E2=80=99 = won=E2=80=99t return 404 in that case. If you find a =E2=80=9Cmissing derivation=E2=80=9D error in Cuirass, how wo= uld you search logs to find what happened? I=E2=80=99m not sure where to look for useful debugging info. Thanks, Ludo=E2=80=99.