From owner-freebsd-git@freebsd.org Mon Nov 30 15:06:53 2020 Return-Path: Delivered-To: freebsd-git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6CCFB47F061 for ; Mon, 30 Nov 2020 15:06:53 +0000 (UTC) (envelope-from david@isnic.is) Received: from mx01.isnic.is (mx01.isnic.is [IPv6:2001:67c:6c:58::133]) by mx1.freebsd.org (Postfix) with ESMTP id 4Cl7qc3Tn9z3mTb; Mon, 30 Nov 2020 15:06:52 +0000 (UTC) (envelope-from david@isnic.is) Received: from localhost (wg-client01.isnic.is [185.93.159.98]) by mx01.isnic.is (Postfix) with ESMTPS id 48C1E1F56B; Mon, 30 Nov 2020 15:06:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isnic.is; s=20200921; t=1606748803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LoY6ZMLKMA6gR8nmr7PaSI2meQYvLr9ZmphP8gtktvE=; b=yVNd7NtZtCWFTvpnQ+ie81yNT+RVKglNZWbJy8C4+xzb8xOlSyEEzeXfzMMsTY6rS/L0qE o3fXmXbkDua0794IIEgn3Lw3BMoH8g5RzKpfVIAE748GS/BRgHJmqo43/EOv45M9LizDbJ MPqi1bb5mFDV5RDo6uME+uaxWVc4QChU4170i+34Apu/N/k78XE3aVjXgW+PBrMX7jmmef kCDfBbo+jciwaRA2X8k1a44MHRvtFbiUtxRQTmog5REK+u1e28CghxyVgA2x4eeiuRx8Ri mlvF1zAI/s2wZDyAnvKsvbQDJPDUu+Ylu3j4G0e/Y7ti8T2Ka/HsXEmdqrgMWA== Date: Mon, 30 Nov 2020 15:06:42 +0000 From: =?iso-8859-1?B?RGF27fA=?= Steinn Geirsson To: Li-Wen Hsu Cc: freebsd-git@freebsd.org Subject: Re: 504 errors from cgit-beta Message-ID: <20201130150642.GB6221@mail> References: <20201112155659.GQ913@mail> <20201113.032709.2108746957258946268.yasu@utahime.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="t0UkRYy7tHLRMCai" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 4Cl7qc3Tn9z3mTb X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=isnic.is header.s=20200921 header.b=yVNd7NtZ; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@isnic.is designates 2001:67c:6c:58::133 as permitted sender) smtp.mailfrom=david@isnic.is X-Spamd-Result: default: False [-3.89 / 15.00]; MID_RHS_NOT_FQDN(0.50)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:67c:6c:58::133:from]; R_DKIM_ALLOW(-0.20)[isnic.is:s=20200921]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:67c:6c::/48]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[isnic.is]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2001:67c:6c:58::133:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[isnic.is:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_MIXED_CHARSET(1.11)[subject]; ASN(0.00)[asn:1850, ipnet:2001:67c:6c::/48, country:EU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-git] X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2020 15:06:53 -0000 --t0UkRYy7tHLRMCai Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 13, 2020 at 05:33:12PM +0800, Li-Wen Hsu wrote: > On Fri, Nov 13, 2020 at 2:28 AM Yasuhiro KIMURA wrote: > > > > From: Dav=ED=F0 Steinn Geirsson > > Subject: 504 errors from cgit-beta > > Date: Thu, 12 Nov 2020 15:56:59 +0000 > > > > > We are getting frequent 504 errors when running `git fetch` against an > > > existing checkout of `ports.git` from https://cgit-beta.freebsd.org/p= orts.git: > > > > > > ``` > > > $ git fetch cgit-beta > > > error: RPC failed; HTTP 504 curl 22 The requested URL returned error:= 504 > > > fatal: the remote end hung up unexpectedly > > > ``` > > > > I experienced same error when accessing Emacs git remository with > > HTTPS. Following is bug report that I submitted to report the issue. > > > > https://savannah.nongnu.org/support/?110322 > > > > As you can see, site administrator fixed the issue by icreasing > > `fastcgi_read_timeout` and `proxy_read_timeout` parameters of > > nginx. Since cgit-beta also uses nginx this may also fix your > > error. In my case, however, access always failed and never > > succeeded. So cause may be different from the one of my case. >=20 > Thanks, I have checked this, indeed some requests' handlers don't have > a long enough timeout setting and I've relaxed them. Hope this solves > some people's issues. Please check it again, and if it still fails for > you, we might need to have more information to debug. This problem disappeared after your changes, but as of this weekend seems to be happening again: user@ssh:~/foo/ports$ git fetch -v cgit-beta POST git-upload-pack (gzip 3272 to 1703 bytes) POST git-upload-pack (gzip 2577 to 1354 bytes) error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504 G= ateway Time-out fatal: the remote end hung up unexpectedly Is it possible some web server config got overwritten during the last batch of changes? Thanks! -Dav=ED=F0 >=20 > Li-Wen > _______________________________________________ > freebsd-git@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-git > To unsubscribe, send any mail to "freebsd-git-unsubscribe@freebsd.org" --t0UkRYy7tHLRMCai Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEvylfYbt7o3c60Grm/+HlKLuPmJoFAl/FCoIACgkQ/+HlKLuP mJpqsgf/ShByUmIQzC+S1DQKDQBXHhhwebLyXeJfTOUBhA9uVKlb/qaIw9G4egQL vaxyw+hmb6tv/BtwAXXWWL+LMSYRq+iwtWuAd8H1vL5Ur0sB2tMTKDmYKFGQZ0qN 21jF3eN8M4beYuwD00PH9UsOWiZ1Yl2vwXXCH/Z8OBdXZ2kZ+cZSX9BpylsxueLg Ef5C8HuaKfwBy4Pth8nB1GYXKhY2/AJe8KVu9QDMvT6ZReVRQ72ExEmLHE3V3Wbm eKx2IvmSeTrof0YFm5FrJYM62YCVoJspkBIjcaTpcT4yrR944pBhen8c8MdbKT+R vVxtejTSqJnSeouxjhx5QLIeF7Bphg== =Kprv -----END PGP SIGNATURE----- --t0UkRYy7tHLRMCai--