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

Can't clone repo #277

Closed
dukejones opened this issue May 23, 2024 · 2 comments
Closed

Can't clone repo #277

dukejones opened this issue May 23, 2024 · 2 comments

Comments

@dukejones
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

$ git clone --depth 1 https://github.com/OpenInterpreter/01.git 
Cloning into '01'...
remote: Enumerating objects: 212, done.
remote: Counting objects: 100% (212/212), done.
remote: Compressing objects: 100% (196/196), done.
error: 5410 bytes of body are still expected| 300.00 KiB/s
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

Plugged into ethernet on fiber, so not a bandwidth issue.

Expected behavior
A clear and concise description of what you expected to happen.
It clones.

Desktop (please complete the following information):

  • OS: MacOS, ZSH
  • Python Version: n/a
  • git: Tried with 2.44.0 and 2.45.1
@dukejones
Copy link
Author

I forked it and then I could clone from my fork.

@dukejones
Copy link
Author

Ran across this issue on another large repo today. Seems like OS/X and HTTP/2 issue. Other fixes didn't work.

Works if you switch it to use SSH rather than HTTP. That's why the fork + clone works.

(Didn't work:)

git config --global http.version HTTP/1.1

source

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