Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git clone on RPi fails : RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly #663

Open
dario-spagnolo opened this issue Jan 19, 2025 · 0 comments

Comments

@dario-spagnolo
Copy link

When executing git clone https://github.com/SeedSigner/seedsigner from the Raspberry Pi OS Local Dev Build Instructions I encountered this error:

pi@raspberrypi:~ $ git clone https://github.com/SeedSigner/seedsigner
Cloning into 'seedsigner'...
remote: Enumerating objects: 13015, done.
remote: Counting objects: 100% (3587/3587), done.
remote: Compressing objects: 100% (754/754), done.
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

I restarted it twice with the same result.

After some googling I found this :

git config --global http.version HTTP/1.1
git config --global http.postBuffer 157286400

It worked, although I am not sure what was wrong in the first place. Is the Rpi's Raspbian Buster network stack incompatible with HTTP/2?

I'll wait for someone to confirm this issue or shed some light before contributing a PR to update the doc.

System info

Board : Raspberry Pi Zero W v1.1

Connected via SSH over Wifi

cat /etc/os-release

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant