Skip to content

Instantly share code, notes, and snippets.

@louicoder
Last active October 2, 2024 14:11
Show Gist options
  • Save louicoder/b0765a7d752ed0ba8c7aee2af72a3f9c to your computer and use it in GitHub Desktop.
Save louicoder/b0765a7d752ed0ba8c7aee2af72a3f9c to your computer and use it in GitHub Desktop.
Pod instllation Errors [FIXES]
If BORINGSSL IS NOT INSTALLING OR TAKING FOREVER TRY
::::::::::: ERROR :::::::::::
[!] Error installing BoringSSL-GRPC
[!] /usr/bin/git clone https://github.com/google/boringssl.git /var/folders/27/913q89096q9dbzypqxdw7jsh0000gp/T/d20241002-39067-6cns7m --template=
Cloning into '/var/folders/27/913q89096q9dbzypqxdw7jsh0000gp/T/d20241002-39067-6cns7m'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 730 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
::::::::::: FIXES :::::::::::
1. pod clean cache --all and try to reinstall the Pods.
2. Try changing the network because it's usually a network related issue
3. Try creating the dir and cloning the repo inside the created directory as below
- Create the directory manually:
mkdir -p /var/folders/27/913q89096q9dbzypqxdw7jsh0000gp/T/d20241002-39067-6cns7m
- Clone the repository manually:
git clone https://github.com/google/boringssl.git /var/folders/27/913q89096q9dbzypqxdw7jsh0000gp/T/d20241002-39067-6cns7m
4. Increase Git Buffer Size
- git config --global http.postBuffer 524288000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment