Hello Etienne, On 6/23/25 07:27, Etienne Buira wrote: > Hi all, > > I try to fetch newer commits from denx.de server, but it keeps failing > the same way: > > u-boot.git $ git fetch > remote: Enumerating objects: 81513, done. > remote: Counting objects: 100% (25013/25013), done. > remote: Compressing objects: 100% (3154/3154), done. > error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0 > error: 51980 bytes of body are still expected > fetch-pack: unexpected disconnect while reading sideband packet > fatal: early EOF > fatal: fetch-pack: invalid index-pack output > > Maybe a hint: numbers are constant. > > Can a sysadm have a look at it and report please? > > Regards >
This is a common situation with git from many locations, it is dependent on routing and your specific location in the network. Also, the common workaround is well-known to start with a shallow fetch strategy, and then incrementally get additional depth as needed with later "un-shallow" operation if all history is required. An example: https://docs.u-boot.org/en/latest/build/source.html git clone --depth 1 https://source.denx.de/u-boot/u-boot.git u-boot.git git -C u-boot.git fetch --depth 2 git -C u-boot.git fetch --depth 3 git -C u-boot.git fetch --depth 4 git -C u-boot.git fetch --depth 5 ... git -C u-boot.git pull --unshallow Best regards, - E Shattow