Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2023 13:34:05 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        freebsd-git <freebsd-git@freebsd.org>
Subject:   Odd fetch failure when using https://git.FreeBSD.org/src.git ("curl 18 transfer closed with outstanding read data remaining")
Message-ID:  <B32AFB6F-0398-4E28-BEAD-BDE3EC2C6174@yahoo.com>
References:  <B32AFB6F-0398-4E28-BEAD-BDE3EC2C6174.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On multiple system on the same local network, when I have:

[remote "freebsd"]
        fetch =3D +refs/notes/*:refs/notes/*
        url =3D https://git.FreeBSD.org/src.git
        fetch =3D +refs/heads/*:refs/remotes/freebsd/*

I've been getting:

# git -C /usr/main-src/ fetch
error: RPC failed; curl 18 transfer closed with outstanding read data =
remaining
error: 59 bytes of body are still expected
fatal: expected flush after ref listing


But with:

[remote "freebsd"]
        fetch =3D +refs/notes/*:refs/notes/*
        url =3D ssh://anongit@git.FreeBSD.org/src.git
        fetch =3D +refs/heads/*:refs/remotes/freebsd/*

I got on those same systems:

# git -C /usr/main-src/ fetch
The authenticity of host 'git.freebsd.org (192.158.248.9)' can't be =
established.
ED25519 key fingerprint is . . .
. . .
remote: Enumerating objects: 1736, done.
remote: Counting objects: 100% (626/626), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 1736 (delta 622), reused 622 (delta 622), pack-reused 1110
Receiving objects: 100% (1736/1736), 1.96 MiB | 2.76 MiB/s, done.
Resolving deltas: 100% (1096/1096), completed with 306 local objects.
=46rom ssh://git.FreeBSD.org/src
   7d0ee5ebd052..c711af772782  main                  -> freebsd/main
   7f1c8b021bfe..da6997b05390  releng/12.3           -> =
freebsd/releng/12.3
   1f71f08e3b18..b5ad6b488d9e  releng/12.4           -> =
freebsd/releng/12.4
   08225c10315a..e8439726cfa5  releng/13.2           -> =
freebsd/releng/13.2
   305be1f36b3e..06497fbd52e2  releng/14.0           -> =
freebsd/releng/14.0
   2e6541b943ef..80560eec655a  stable/12             -> =
freebsd/stable/12
   336d8c4a79e9..07fa8d431c0e  stable/13             -> =
freebsd/stable/13
   118b866d9c39..4161f141aa79  stable/14             -> =
freebsd/stable/14
   a03ebd9beec6..450f2d0b08e7  vendor/openzfs/master -> =
freebsd/vendor/openzfs/master


Reverting to: url =3D https://git.FreeBSD.org/src.git

# git -C /usr/main-src/ fetch
error: RPC failed; curl 18 transfer closed with outstanding read data =
remaining
error: 59 bytes of body are still expected
fatal: expected flush after ref listing

on all those systems.


For reference (examples):

# uname -apKU
FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT #132 =
main-n266795-7d0ee5ebd052-dirty: Sun Dec  3 15:07:48 PST 2023     =
root@7950X3D-ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64=
.amd64/sys/GENERIC-NODBG amd64 amd64 1500005 1500005

# uname -apKU
FreeBSD CA72-16Gp-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT #122 =
main-n266795-7d0ee5ebd052-dirty: Sun Dec  3 15:20:34 PST 2023     =
root@CA72-16Gp-ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm6=
4.aarch64/sys/GENERIC-NODBG-CA72 arm64 aarch64 1500005 1500005



=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B32AFB6F-0398-4E28-BEAD-BDE3EC2C6174>