0

Below error received while installing Homebrew

remote: Enumerating objects: 244358, done.
remote: Counting objects: 100% (627/627), done.
remote: Compressing objects: 100% (408/408), done.
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 4757 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Failed during: /usr/bin/git fetch --force origin

1 Answers1

0

Below link is very useful Link

Solution

  1. Solution is if you have good internet connection then ideally you should not face this issue.
  2. Still if you are facing issue then follow this simple steps.
  3. I ensured my email is assigned to account on github

git config --global user.email yourgitemail@example.com

  1. as you did increase the post buffer value

    git config --global http.postBuffer 5242880000

  2. modify the security setting on ssl transfer

    git config --global http.sslVerify "false"