Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gKfiU-0006RS-GR for buildfarm-members@arkaria.postgresql.org; Thu, 08 Nov 2018 08:31:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gKfiS-0000Pq-PU for buildfarm-members@arkaria.postgresql.org; Thu, 08 Nov 2018 08:31:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gKfiS-0000PF-Hm; Thu, 08 Nov 2018 08:31:04 +0000 Received: from imp.madness.at ([2a02:16a8:dc41::218]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gKfiO-0007Z8-JT; Thu, 08 Nov 2018 08:31:04 +0000 Received: from kast.v6.conova.com ([2a02:16a8:662:2200:1337:1:0:1]) by imp.madness.at with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gKfiL-0002VA-0o; Thu, 08 Nov 2018 09:30:59 +0100 Subject: Re: 503 Backend fetch failed errors To: Magnus Hagander Cc: remi_zara@mac.com, buildfarm-members@lists.postgresql.org, sysadmins References: <428FDD47-5325-4904-9306-F2D6F9D8232D@mac.com> From: Stefan Kaltenbrunner Message-ID: <8832f403-b6ea-e581-b631-a6253731fde6@kaltenbrunner.cc> Date: Thu, 8 Nov 2018 09:30:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/8/18 9:19 AM, Magnus Hagander wrote: > > > On Thu, Nov 8, 2018 at 9:01 AM Stefan Kaltenbrunner > wrote: > > On 11/7/18 6:40 PM, Rémi Zara wrote: > > Hi, > > Hi Rémi! > > > > > I’m getting a lot of these errors with coypu (several per day), > but not systematically. > > Is this a problem on my end, or is this on the sever end ? > > > > Query for: stage=OK&animal=coypu&ts=1541573277 > > Target: > https://buildfarm.postgresql.org/cgi-bin/pgstatus.pl/53b137e7c765b781699bbe73e3aec7751a8c4ab7 > > Status Line: 503 Backend fetch failed > > Web txn failed with status: 1 > > Query for: stage=OK&animal=coypu&ts=1541575423 > > Target: > https://buildfarm.postgresql.org/cgi-bin/pgstatus.pl/5e8e0913dc9f9a580a4125264d74fff95f26c926 > > Status Line: 503 Backend fetch failed > > Web txn failed with status: 1 > > given the error this is something that is created by the varnish > instance that is in front of the buildfarm. On a quick look I could > immediately figure out what the problem is - but it looks like you (or > somebody else) tried at least to click one of the links above using > hist > desktop browser and got an error about a missing branch specification ;) > > > > AFAICT: > > A quick look in the logs indicates that the buildfarm is responding: > -   RespHeader     Status: 492 bad branch parameter > > However, 492 is not a valid http status code, so Varnish can't handle it > and thus returns 503 failure to the client. I think that is not the actual error that Rémi is experiencing- the 492 case (which is indeed an invalid http error code) only happens when one actually klicks the link in the mail above(which I guess some did and you found in the logs) because the actual BF client will add a parameter to the "Target" URL. The actual "errors" dont seem to show up in the lighttpd logs afaiks.