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
Related
When pod install I get
Analyzing dependencies
Downloading dependencies
Installing libpd-ios (0.11.0)
[!] Error installing libpd-ios
[!] /usr/bin/git -C /var/folders/2w/0wtczkq94c9ch_y6m89gg29m0000jq/T/d20221207-77916-57ccbt submodule update --init --recursive
Submodule 'jni/opensl_stream' (git://github.com/nettoyeurny/opensl_stream.git) registered for path 'jni/opensl_stream'
Submodule 'pure-data' (git://git.code.sf.net/p/pure-data/pure-data) registered for path 'pure-data'
Cloning into '/private/var/folders/2w/0wtczkq94c9ch_y6m89gg29m0000jq/T/d20221207-77916-57ccbt/jni/opensl_stream'...
fatal: unable to connect to github.com:
github.com[0: 140.82.121.4]: errno=Operation timed out
according to fatal: unable to connect to github.com: github.com[0: 140.82.121.3]: errno=Operation timed out this is related to ssh
but how do I fix it?
I have the following vars in place in my Macbook. However when I try to install gh I get the ERROR below:
export HTTPS_PROXY=http://myproxy.com:8080
export HTTP_PROXY=http://myproxy.com:8080
wferreir#QQN6DR99LY ~ % brew install gh
Warning: git 2.36.1 is already installed and up-to-date.
To reinstall 2.36.1, run:
brew reinstall git
Warning: No remote 'origin' in /opt/homebrew, skipping update!
Warning: No remote 'origin' in /opt/homebrew/Library/Taps/homebrew/homebrew-core, skipping update!
==> Downloading https://ghcr.io/v2/homebrew/core/gh/manifests/2.10.1
curl: (22) The requested URL returned error: 407
Error: gh: Failed to download resource "gh_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/gh/manifests/2.10.1
wferreir#QQN6DR99LY ~ %
I revolved the issue by configuring a proxy for GIT:
git config --global http.proxy http://proxyUsername:proxyPassword#proxy.server.com:port
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
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
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.