From owner-freebsd-git@freebsd.org Tue Oct 27 14:31:02 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 92A0644FC04 for ; Tue, 27 Oct 2020 14:31:02 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CLDdy02G7z4vDG; Tue, 27 Oct 2020 14:31:01 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 09REUrl1025507; Tue, 27 Oct 2020 14:30:53 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 09REUrDj025506; Tue, 27 Oct 2020 07:30:53 -0700 (PDT) (envelope-from david) Date: Tue, 27 Oct 2020 07:30:53 -0700 From: David Wolfskill To: Dimitry Andric Cc: freebsd-git@freebsd.org Subject: Re: https://cgit-beta.freebsd.org/src.git: error: RPC failed; curl 18 transfer closed with outstanding read data remaining Message-ID: <20201027143053.GJ1430@albert.catwhisker.org> References: <4260438E-0F95-4A59-8CD1-7DCF47B56D45@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7UxcOAJ07vnNm5/N" Content-Disposition: inline In-Reply-To: <4260438E-0F95-4A59-8CD1-7DCF47B56D45@FreeBSD.org> X-Rspamd-Queue-Id: 4CLDdy02G7z4vDG X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; REPLY(-4.00)[] X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.33 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: Tue, 27 Oct 2020 14:31:02 -0000 --7UxcOAJ07vnNm5/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 27, 2020 at 03:13:09PM +0100, Dimitry Andric wrote: > I consistently get this error when doing a "git fetch", on a already > populated clone. This is with git 2.28.0, on a FreeBSD 13-CURRENT > client. On the same system, git fetching over https from e.g. GitHub all > work fine, even for the FreeBSD repository. Therefore, I am inclined to > think that some cgit-beta server timeout setting is to blame. >=20 > Verbose output: >=20 > % GIT_CURL_VERBOSE=3D1 git fetch --prune > ... Hmmm... My experience differs: I'm not seeing an issue. Some (likely) differences between our environments: * I'm running stable/12 when I update my local private mirror. * I'm only using IPv4 (in case you might be using IPv6). * As hinted at above, I'm updating a mirror -- created via "git clone --mirror https://cgit-beta.freebsd.org/src.git" * Thus, the fetch is "git fecth --all" > 15:01:18.716765 http.c:756 =3D=3D Info: TLSv1.2 (OUT), TLS a= lert, close notify (256): > error: RPC failed; curl 18 transfer closed with outstanding read data rem= aining > fatal: the remote end hung up unexpectedly >=20 > So the server is not giving any answer for about 102 seconds, then > apparently the client hangs up? Is the server just extremely slow? > ... I haven't tried a verbose invocation (as I haven't been seeing a problem), but here are some timestamps to illustrate what I'm seeing: g1-55(12.2-S)[4] grep '^git ' /var/log/git.log | tail -12 git repo sync started at Mon Oct 26 10:15:00 UTC 2020 git repo sync for src ended at Mon Oct 26 10:15:01 UTC 2020 exit status 0 git repo sync for ports ended at Mon Oct 26 10:15:02 UTC 2020 exit status 0 git repo sync for doc ended at Mon Oct 26 10:15:02 UTC 2020 exit status 0 git repo sync started at Tue Oct 27 09:15:00 UTC 2020 git repo sync for src ended at Tue Oct 27 09:16:03 UTC 2020 exit status 0 git repo sync for ports ended at Tue Oct 27 09:16:41 UTC 2020 exit status 0 git repo sync for doc ended at Tue Oct 27 09:16:48 UTC 2020 exit status 0 git repo sync started at Tue Oct 27 10:15:00 UTC 2020 git repo sync for src ended at Tue Oct 27 10:15:02 UTC 2020 exit status 0 git repo sync for ports ended at Tue Oct 27 10:15:02 UTC 2020 exit status 0 git repo sync for doc ended at Tue Oct 27 10:15:02 UTC 2020 exit status 0 For the src update that started Tue Oct 27 09:15:00 UTC 2020, I see: git repo sync started at Tue Oct 27 09:15:00 UTC 2020 Fetching origin =46rom https://cgit-beta.freebsd.org/src a381af222511..eb90a5ae1f41 main -> main 39483f16a15e..22fd9e462f15 stable/11 -> stable/11 0830a1fadd0b..7eb4feecfd75 stable/12 -> stable/12 + 63cd65e9aa40...311dd869130d refs/notes/commits -> refs/notes/commits (f= orced update) git repo sync for src ended at Tue Oct 27 09:16:03 UTC 2020 exit status 0 While I'm certain that won't solve the issue for you, I hope it helps somoewhat. Peace, david --=20 David H. Wolfskill david@catwhisker.org Donald Trump: the pandemic is "rounding the turn." (WH Chief of Staff) Mark Meadows: "We are not going to control the pandemic." See http://www.catwhisker.org/~david/publickey.gpg for my public key. --7UxcOAJ07vnNm5/N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl+YLx1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PcnQOwf+ObuKFk7mtIHyNlYlGGGDqVyniXfNgUdWPeYXtWiH62wwG34A5y4o2ZcR a69B+Rh3aSdHN5O9CpAZM4kg/4ndyDE4Ip2Fzx/ZBRBys9CLTWES7ESMbt3hG4Dg 6c6PyYlekfQWz2sM628zDj0o1yovpGIYU6Veu0DwGXb3KSb0TawDu6BtdKiSLPst G9Q8tmpoefEV4MznD/P/AEOQ6knTYAHJeMSJxdeso5g0lu4v9X9/wHSniTcQVR5V oQXVYCX453op+y9dbAm10yTOHMhHxqzgOm8gWB16OhaaGsBEatoh0Up3+sJf+D5T 9OyK+wT/rhwCWajGJK1Ej9bNLTvInA== =HaLn -----END PGP SIGNATURE----- --7UxcOAJ07vnNm5/N--