Does anyone have ideas or suggestions for resolving this error?

Hi everyone, I'm trying to clone the Zephyr repository, but I'm encountering the following error:
Cloning into 'zephyrproject'...
remote: Enumerating objects: 1150419, done.
remote: Counting objects: 100% (495/495), done.
remote: Compressing objects: 100% (281/281), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 3650 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Cloning into 'zephyrproject'...
remote: Enumerating objects: 1150419, done.
remote: Counting objects: 100% (495/495), done.
remote: Compressing objects: 100% (281/281), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 3650 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
- I’ve already tried increasing the Git buffer size (git config --global http.postBuffer 524288000). - My internet connection is stable, and I have sufficient disk space. - I also tried using a shallow clone (--depth 1), but the issue persists. Does anyone have ideas or suggestions for resolving this?
5 Replies
melta101
melta1012mo ago
How are you cloning it?
wafa_ath
wafa_ath2mo ago
I’m using the command:
git clone https://github.com/zephyrproject-rtos/zephyr.git C:/Users/CLIENT/source/repos/zephir/zephyrproject
git clone https://github.com/zephyrproject-rtos/zephyr.git C:/Users/CLIENT/source/repos/zephir/zephyrproject

I also tried increasing the buffer size with:
git config --global http.postBuffer 524288000
git config --global http.postBuffer 524288000
melta101
melta1012mo ago
i would suggest you to use west instead if git.
melta101
melta1012mo ago
it handles most of the exceptions cases
wafa_ath
wafa_ath2mo ago
I actually start using west first but i can't recall why i switched to git 😅 I will retry and see , thank you

Did you find this page helpful?