https://cgit-beta.freebsd.org/src.git: error: RPC failed; curl 18 transfer closed with outstanding read data remaining

David Wolfskill david at catwhisker.org
Tue Oct 27 14:31:02 UTC 2020


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.
> 
> Verbose output:
> 
> % GIT_CURL_VERBOSE=1 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              == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
> error: RPC failed; curl 18 transfer closed with outstanding read data remaining
> fatal: the remote end hung up unexpectedly
> 
> 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
From 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  (forced 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
-- 
David H. Wolfskill				david at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-git/attachments/20201027/c9b9f89c/attachment.sig>


More information about the freebsd-git mailing list