Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2020 07:30:53 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Dimitry Andric <dim@freebsd.org>
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>
In-Reply-To: <4260438E-0F95-4A59-8CD1-7DCF47B56D45@FreeBSD.org>
References:  <4260438E-0F95-4A59-8CD1-7DCF47B56D45@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201027143053.GJ1430>