From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id fSoYJ7zaoGRfugAASxT56A (envelope-from ) for ; Sun, 02 Jul 2023 04:02:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cIBDJrzaoGRpDQAA9RJhRA (envelope-from ) for ; Sun, 02 Jul 2023 04:02:36 +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 3FDE49B03 for ; Sun, 2 Jul 2023 04:02:36 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=lSo7nUew; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688263356; a=rsa-sha256; cv=none; b=GWtAqBXVgmI/KdhZt/X9sFOinf96R34kqJc3ClWZywJwUKnAkgsqDJWcvd/X0qadU/tdma UU7k3MDowZpDvQ6izqK0u0VXOh7J1Ua9OUK0jF1N/sn9Q/iNPLI3TMRi6tjrivbF/a8dzL 0cfzmS/6XMc9WClo7GqCvm7keayjCUYGAPqfrm59XPT6AoqAPWrjD8ANvuKMxFVAAmiU4/ rlnidU0Kt0XCdcGReLiV8M0kqDgc9nA4L0FEq3+D96Mwx7Tf2/vCOlqNpBdaCp4XZNd0x/ WewXdAfFS0/q+5/WnsQZ8UIFwq5pA7yVg3fXPQ3pnCKPBdnwCVpD4mGK86Aufg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=lSo7nUew; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688263356; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to: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=Ydwm0GiuYGuMa0BX3nmoUHI19Xy+U+leEAvyLOWFma4=; b=Qxo6i7L0VWXtIxSB7xDPHTLpeVr10l9qv69UHtw7fd/83xlB0ll6AO/6mJitsmPub0nUs7 VGFZuNVK1yAWbKv/z8KKOBYkwRirgKPl4gBGkzJ43zZOyiNpRMaCkzuM+anITYPEVhE2ly 6rkD/6eGbfknr7YAAzL5QtvPgimQj3/B8cKI6R6Tsl6H/oczS2Mf+kDgCScNSe23VhOhqM o+uG5fWqNTgawqqwf6eJlHfrUv31Dwp5WPnu3p+TCS+du3JQcDskQn6liDKQZ5JM40BpGv 4tFXIq+Wa35k848PdGqwhSIEVxRpNFRl5tWnBH3vtEJA4zQyQAgRqe6opUMKdA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFmPm-0004FH-Co; Sat, 01 Jul 2023 22:02:14 -0400 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 1qFmPc-0004Et-Vg for bug-guix@gnu.org; Sat, 01 Jul 2023 22:02:05 -0400 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 1qFmPa-0004Eu-BE for bug-guix@gnu.org; Sat, 01 Jul 2023 22:02:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFmPa-0007lH-6t for bug-guix@gnu.org; Sat, 01 Jul 2023 22:02:02 -0400 Subject: bug#49205: Closing Bug#49205: Usually caused by misconfigurations of Nginx References: In-Reply-To: Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sun, 02 Jul 2023 02:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 49205 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49205-done@debbugs.gnu.org Cc: Raghav Gururajan , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice Mail-Followup-To: 49205@debbugs.gnu.org, felix.lechner@lease-up.com, rg@raghavgururajan.name Received: via spool by 49205-done@debbugs.gnu.org id=D49205.168826329129797 (code D ref 49205); Sun, 02 Jul 2023 02:02:02 +0000 Received: (at 49205-done) by debbugs.gnu.org; 2 Jul 2023 02:01:31 +0000 Received: from localhost ([127.0.0.1]:58925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFmP5-0007kX-Bv for submit@debbugs.gnu.org; Sat, 01 Jul 2023 22:01:31 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]:57946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFmP1-0007kL-0r for 49205-done@debbugs.gnu.org; Sat, 01 Jul 2023 22:01:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=QdWCn9yplm6OTze ik15nQPsu36jGVT8T8biEEuBSB3k=; h=cc:to:subject:date:from; d=lease-up.com; b=lSo7nUew+UbJjLF/C1P3fDprbvBwRdyYjdPwiwJLnsB68U902n55 AH7BzPaxrlQJmjIeyXgdGwkiw2xSrI4sAdrPVQvcBN3LE0DVUVk1ywNQdYTfWHTTTvgpXp mN7fVk5hGjPi8QYDtQJP+aT48QKPLhoaMFD+6Cx/RbM4jsrjo= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 7b31f268 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <49205-done@debbugs.gnu.org>; Sun, 2 Jul 2023 02:01:25 +0000 (UTC) Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-98e109525d6so584245866b.0 for <49205-done@debbugs.gnu.org>; Sat, 01 Jul 2023 19:01:24 -0700 (PDT) X-Gm-Message-State: ABy/qLZbhMPbo4XS8l+Gednm8pRH84U84oNWHR/1opX/hBEgAPOxl2Gp P6EeFtMlGaqLGbOPLA5uD+ghu503BUHszgDnBhE= X-Google-Smtp-Source: APBJJlFXs/SQa8Vu3PAeVxxrqerpDSO4K+y3m6OSnWLIub3iPrFCIeSa2mbBVhds3L3en+FJudUVrmH4xlyeFLHad7Q= X-Received: by 2002:a05:6512:33c9:b0:4fb:7624:85a5 with SMTP id d9-20020a05651233c900b004fb762485a5mr1682439lfg.0.1688179134936; Fri, 30 Jun 2023 19:38:54 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 30 Jun 2023 19:38:18 -0700 X-Gmail-Original-Message-ID: Message-ID: Content-Type: text/plain; charset="UTF-8" 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: , Reply-to: Felix Lechner From: Felix Lechner via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.25 X-Migadu-Queue-Id: 3FDE49B03 X-Spam-Score: -2.25 X-TUID: 0coVW6Xj5GPM Hi, I have also seen this error several times. In my experience, it is almost always caused by a misconfiguration of Nginx. On my equipment, there is an exception to that rule when Nginx serves outside connections as a reverse proxy to the local network, i.e. something like: [1] (body (list "proxy_pass http://lechner-desktop.us-core.com:3011;" "proxy_set_header Host $host;" "proxy_set_header X-Real-IP $remote_addr;" "proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;")) but that's somewhat exotic. It triggers a "host not found" in the logs. My particular failure may have to do with the service ordering in Shepherd, although I have not been able to fix it. For example, the default prerequisites for Nginx do not even include 'networking. [2] Either way, Nginx is configured to respawn, so my bug is probably elsewhere. Closing this issue. Kind regards Felix [1] https://codeberg.org/lechner/system-config/src/commit/fca07b73068b043d57930266a2102af05b0b0aa9/host/wallace-server/operating-system.scm#L892-L895 [2] https://codeberg.org/lechner/guix/src/commit/f25529b08e356f89ca7cecc44295085531a8faba/gnu/services/web.scm#L567