I had this error while installing cocoapods - cocoapods

error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Related

Error installing Homebrew "unexpected disconnect while reading sideband packet"

I tried installing Homebrew on the M1 Mac Mini using the command
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
as it is on the docs.
Then mid-way got this error
==> Tapping homebrew/core
remote: Enumerating objects: 1107077, done.
remote: Counting objects: 100% (228/228), done.
remote: Compressing objects: 100% (157/157), done.
error: 545 bytes of body are still expected.44 MiB | 341.00 KiB/s
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed
Failed during: git fetch --force origin refs/heads/master:refs/remotes/origin/master
myuser~ %
This is more of github checkout issue rather than Homebrew issue, checkout this suggestion:
It might be your network issue. If the network is too slow, then it might disconnect connection unexpectedly.
If you are having a good internet and still getting this message then it might be an issue with post buffer. You can resolve it by executing the following command in your cmd.
git config --global http.postBuffer 157286400

What a error with Composer

What a error with Composer
here's an error
Cloning into ''...
Permission denied (publickey).
fatal: Could not read from remote repository.
ssh is installed. And I have access to the repository (bitbuket). I'm cloning it on ssh

Using Xcode 8 install Cocoapods and AFNetworking

[!] /usr/bin/git clone https://github.com/AFNetworking/AFNetworking.git /var/folders/vm/2w09wypj79931z2gbs0zvcv80000gn/T/d20161018-7424-1oqafh4 --template= --single-branch --depth 1 --branch 3.1.0
Cloning into '/var/folders/vm/2w09wypj79931z2gbs0zvcv80000gn/T/d20161018-7424-1oqafh4'...
fatal: unable to access Failed to connect to github.com port 443: Operation timed out:

Pod setup failed

When I run pod setup, I get this error:
LeodeMacBook-Pro:repos Leo$ pod setup
Setting up CocoaPods master repo
[!] /usr/local/bin/git clone https://github.com/CocoaPods/Specs.git master
Cloning into 'master'...
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Maybe, because my bad networking?
Do this:
sudo rm -rf ~/.cocoapods/repos/master
git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
Than run pod setup again.

While running 'pod setup' in terminal, it fails with below error -

While running 'pod setup' in terminal, it fails with below error:
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF fatal: index-pack failed
Increase the http buffer
git config http.postBuffer 524288000
and still gettin the issue please
Please open the terminal and execute this
git config --global user.email "youremail#xxx.xxx"
then try pod setup

Resources