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

Dimitry Andric dim at FreeBSD.org
Tue Oct 27 14:13:20 UTC 2020


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
14:58:56.050029 http.c:756              == Info: Couldn't find host cgit-beta.freebsd.org in the .netrc file; using defaults
14:58:56.052120 http.c:756              == Info:   Trying 2610:1c1:1:606c::16:65:443...
14:58:56.133920 http.c:756              == Info: Connected to cgit-beta.freebsd.org (2610:1c1:1:606c::16:65) port 443 (#0)
14:58:56.134850 http.c:756              == Info: ALPN, offering h2
14:58:56.134869 http.c:756              == Info: ALPN, offering http/1.1
14:58:56.143526 http.c:756              == Info: successfully set certificate verify locations:
14:58:56.143547 http.c:756              == Info:   CAfile: /usr/local/share/certs/ca-root-nss.crt
  CApath: none
14:58:56.143784 http.c:756              == Info: TLSv1.3 (OUT), TLS handshake, Client hello (1):
14:58:56.223672 http.c:756              == Info: TLSv1.3 (IN), TLS handshake, Server hello (2):
14:58:56.223736 http.c:756              == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
14:58:56.224258 http.c:756              == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
14:58:56.224341 http.c:756              == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
14:58:56.224468 http.c:756              == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
14:58:56.224601 http.c:756              == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
14:58:56.224677 http.c:756              == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
14:58:56.306638 http.c:756              == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
14:58:56.306675 http.c:756              == Info: SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
14:58:56.306681 http.c:756              == Info: ALPN, server accepted to use http/1.1
14:58:56.306688 http.c:756              == Info: Server certificate:
14:58:56.306702 http.c:756              == Info:  subject: CN=cgit-beta.freebsd.org
14:58:56.306709 http.c:756              == Info:  start date: Aug 10 08:45:19 2020 GMT
14:58:56.306713 http.c:756              == Info:  expire date: Nov  8 08:45:19 2020 GMT
14:58:56.306724 http.c:756              == Info:  subjectAltName: host "cgit-beta.freebsd.org" matched cert's "cgit-beta.freebsd.org"
14:58:56.306734 http.c:756              == Info:  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
14:58:56.306737 http.c:756              == Info:  SSL certificate verify ok.
14:58:56.306780 http.c:703              => Send header, 0000000175 bytes (0x000000af)
14:58:56.306826 http.c:715              => Send header: GET /src.git/info/refs?service=git-upload-pack HTTP/1.1
14:58:56.306829 http.c:715              => Send header: Host: cgit-beta.freebsd.org
14:58:56.306831 http.c:715              => Send header: User-Agent: git/2.28.0
14:58:56.306833 http.c:715              => Send header: Accept: */*
14:58:56.306835 http.c:715              => Send header: Accept-Encoding: deflate, gzip
14:58:56.306837 http.c:715              => Send header: Pragma: no-cache
14:58:56.306840 http.c:715              => Send header:
14:58:56.634261 http.c:756              == Info: Mark bundle as not supporting multiuse
14:58:56.634289 http.c:703              <= Recv header, 0000000017 bytes (0x00000011)
14:58:56.634295 http.c:715              <= Recv header: HTTP/1.1 200 OK
14:58:56.634298 http.c:703              <= Recv header, 0000000015 bytes (0x0000000f)
14:58:56.634301 http.c:715              <= Recv header: Server: nginx
14:58:56.634304 http.c:703              <= Recv header, 0000000037 bytes (0x00000025)
14:58:56.634307 http.c:715              <= Recv header: Date: Tue, 27 Oct 2020 13:58:56 GMT
14:58:56.634310 http.c:703              <= Recv header, 0000000059 bytes (0x0000003b)
14:58:56.634313 http.c:715              <= Recv header: Content-Type: application/x-git-upload-pack-advertisement
14:58:56.634316 http.c:703              <= Recv header, 0000000028 bytes (0x0000001c)
14:58:56.634319 http.c:715              <= Recv header: Transfer-Encoding: chunked
14:58:56.634321 http.c:703              <= Recv header, 0000000024 bytes (0x00000018)
14:58:56.634324 http.c:715              <= Recv header: Connection: keep-alive
14:58:56.634327 http.c:703              <= Recv header, 0000000040 bytes (0x00000028)
14:58:56.634329 http.c:715              <= Recv header: Expires: Fri, 01 Jan 1980 00:00:00 GMT
14:58:56.634332 http.c:703              <= Recv header, 0000000018 bytes (0x00000012)
14:58:56.634334 http.c:715              <= Recv header: Pragma: no-cache
14:58:56.634337 http.c:703              <= Recv header, 0000000053 bytes (0x00000035)
14:58:56.634340 http.c:715              <= Recv header: Cache-Control: no-cache, max-age=0, must-revalidate
14:58:56.634342 http.c:703              <= Recv header, 0000000060 bytes (0x0000003c)
14:58:56.634345 http.c:715              <= Recv header: Strict-Transport-Security: max-age=3600; includeSubDomains
14:58:56.634348 http.c:703              <= Recv header, 0000000002 bytes (0x00000002)
14:58:56.634351 http.c:715              <= Recv header:
14:58:58.221815 http.c:756              == Info: Connection #0 to host cgit-beta.freebsd.org left intact
14:58:58.302689 http.c:756              == Info: Couldn't find host cgit-beta.freebsd.org in the .netrc file; using defaults
14:58:58.302734 http.c:756              == Info: Found bundle for host cgit-beta.freebsd.org: 0x801243600 [serially]
14:58:58.302739 http.c:756              == Info: Can not multiplex, even if we wanted to!
14:58:58.302746 http.c:756              == Info: Re-using existing connection! (#0) with host cgit-beta.freebsd.org
14:58:58.302753 http.c:756              == Info: Connected to cgit-beta.freebsd.org (2610:1c1:1:606c::16:65) port 443 (#0)
14:58:58.302832 http.c:703              => Send header, 0000000272 bytes (0x00000110)
14:58:58.302839 http.c:715              => Send header: POST /src.git/git-upload-pack HTTP/1.1
14:58:58.302842 http.c:715              => Send header: Host: cgit-beta.freebsd.org
14:58:58.302844 http.c:715              => Send header: User-Agent: git/2.28.0
14:58:58.302846 http.c:715              => Send header: Accept-Encoding: deflate, gzip
14:58:58.302849 http.c:715              => Send header: Content-Type: application/x-git-upload-pack-request
14:58:58.302851 http.c:715              => Send header: Accept: application/x-git-upload-pack-result
14:58:58.302853 http.c:715              => Send header: Content-Encoding: gzip
14:58:58.302855 http.c:715              => Send header: Content-Length: 2118
14:58:58.302857 http.c:715              => Send header:
14:58:58.302866 http.c:756              == Info: upload completely sent off: 2118 out of 2118 bytes
14:58:58.453929 http.c:756              == Info: Mark bundle as not supporting multiuse
14:58:58.453957 http.c:703              <= Recv header, 0000000017 bytes (0x00000011)
14:58:58.453963 http.c:715              <= Recv header: HTTP/1.1 200 OK
14:58:58.453967 http.c:703              <= Recv header, 0000000015 bytes (0x0000000f)
14:58:58.453970 http.c:715              <= Recv header: Server: nginx
14:58:58.453972 http.c:703              <= Recv header, 0000000037 bytes (0x00000025)
14:58:58.453975 http.c:715              <= Recv header: Date: Tue, 27 Oct 2020 13:58:58 GMT
14:58:58.453979 http.c:703              <= Recv header, 0000000052 bytes (0x00000034)
14:58:58.453981 http.c:715              <= Recv header: Content-Type: application/x-git-upload-pack-result
14:58:58.453984 http.c:703              <= Recv header, 0000000028 bytes (0x0000001c)
14:58:58.453987 http.c:715              <= Recv header: Transfer-Encoding: chunked
14:58:58.453990 http.c:703              <= Recv header, 0000000024 bytes (0x00000018)
14:58:58.453993 http.c:715              <= Recv header: Connection: keep-alive
14:58:58.453995 http.c:703              <= Recv header, 0000000040 bytes (0x00000028)
14:58:58.453998 http.c:715              <= Recv header: Expires: Fri, 01 Jan 1980 00:00:00 GMT
14:58:58.454001 http.c:703              <= Recv header, 0000000018 bytes (0x00000012)
14:58:58.454003 http.c:715              <= Recv header: Pragma: no-cache
14:58:58.454006 http.c:703              <= Recv header, 0000000053 bytes (0x00000035)
14:58:58.454008 http.c:715              <= Recv header: Cache-Control: no-cache, max-age=0, must-revalidate
14:58:58.454011 http.c:703              <= Recv header, 0000000060 bytes (0x0000003c)
14:58:58.454013 http.c:715              <= Recv header: Strict-Transport-Security: max-age=3600; includeSubDomains
14:58:58.454017 http.c:703              <= Recv header, 0000000002 bytes (0x00000002)
14:58:58.454019 http.c:715              <= Recv header:

... dozens of screenfuls of this ...

14:59:34.090471 http.c:756              == Info: Connection #0 to host cgit-beta.freebsd.org left intact
14:59:34.090512 http.c:756              == Info: Couldn't find host cgit-beta.freebsd.org in the .netrc file; using defaults
14:59:34.090551 http.c:756              == Info: Found bundle for host cgit-beta.freebsd.org: 0x801243600 [serially]
14:59:34.090561 http.c:756              == Info: Can not multiplex, even if we wanted to!
14:59:34.090567 http.c:756              == Info: Re-using existing connection! (#0) with host cgit-beta.freebsd.org
14:59:34.090574 http.c:756              == Info: Connected to cgit-beta.freebsd.org (2610:1c1:1:606c::16:65) port 443 (#0)
14:59:34.090772 http.c:703              => Send header, 0000000254 bytes (0x000000fe)
14:59:34.090792 http.c:715              => Send header: POST /src.git/git-upload-pack HTTP/1.1
14:59:34.090796 http.c:715              => Send header: Host: cgit-beta.freebsd.org
14:59:34.090798 http.c:715              => Send header: User-Agent: git/2.28.0
14:59:34.090800 http.c:715              => Send header: Accept-Encoding: deflate, gzip
14:59:34.090803 http.c:715              => Send header: Content-Type: application/x-git-upload-pack-request
14:59:34.090805 http.c:715              => Send header: Accept: application/x-git-upload-pack-result
14:59:34.090807 http.c:715              => Send header: Transfer-Encoding: chunked
14:59:34.090809 http.c:715              => Send header:
14:59:36.012604 http.c:756              == Info: Signaling end of chunked upload via terminating chunk.
14:59:36.370298 http.c:756              == Info: Mark bundle as not supporting multiuse
14:59:36.370330 http.c:703              <= Recv header, 0000000017 bytes (0x00000011)
14:59:36.370336 http.c:715              <= Recv header: HTTP/1.1 200 OK
14:59:36.370340 http.c:703              <= Recv header, 0000000015 bytes (0x0000000f)
14:59:36.370342 http.c:715              <= Recv header: Server: nginx
14:59:36.370345 http.c:703              <= Recv header, 0000000037 bytes (0x00000025)
14:59:36.370348 http.c:715              <= Recv header: Date: Tue, 27 Oct 2020 13:59:34 GMT
14:59:36.370351 http.c:703              <= Recv header, 0000000052 bytes (0x00000034)
14:59:36.370354 http.c:715              <= Recv header: Content-Type: application/x-git-upload-pack-result
14:59:36.370357 http.c:703              <= Recv header, 0000000028 bytes (0x0000001c)
14:59:36.370359 http.c:715              <= Recv header: Transfer-Encoding: chunked
14:59:36.370362 http.c:703              <= Recv header, 0000000024 bytes (0x00000018)
14:59:36.370365 http.c:715              <= Recv header: Connection: keep-alive
14:59:36.370367 http.c:703              <= Recv header, 0000000040 bytes (0x00000028)
14:59:36.370370 http.c:715              <= Recv header: Expires: Fri, 01 Jan 1980 00:00:00 GMT
14:59:36.370373 http.c:703              <= Recv header, 0000000018 bytes (0x00000012)
14:59:36.370375 http.c:715              <= Recv header: Pragma: no-cache
14:59:36.370378 http.c:703              <= Recv header, 0000000053 bytes (0x00000035)
14:59:36.370380 http.c:715              <= Recv header: Cache-Control: no-cache, max-age=0, must-revalidate
14:59:36.370383 http.c:703              <= Recv header, 0000000060 bytes (0x0000003c)
14:59:36.370385 http.c:715              <= Recv header: Strict-Transport-Security: max-age=3600; includeSubDomains
14:59:36.370389 http.c:703              <= Recv header, 0000000002 bytes (0x00000002)
14:59:36.370391 http.c:715              <= Recv header:
15:01:18.716556 http.c:756              == Info: transfer closed with outstanding read data remaining
15:01:18.716613 http.c:756              == Info: Closing connection 0
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?

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-git/attachments/20201027/d4b5b66d/attachment.sig>


More information about the freebsd-git mailing list