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

Another pod install failed. Either CDN or by cloning Specs repo. #11873

Closed
1 task done
xgenem opened this issue Apr 20, 2023 · 2 comments
Closed
1 task done

Another pod install failed. Either CDN or by cloning Specs repo. #11873

xgenem opened this issue Apr 20, 2023 · 2 comments

Comments

@xgenem
Copy link

xgenem commented Apr 20, 2023

Report

What did you do?

pod repo add cocoapods https://github.com/CocoaPods/Specs.git

What did you expect to happen?

Downloads cocoapods repo since. I did it by the command line's instruction to do it that way since pod install failed.

What happened instead?

Fails at 79% and then throws error:

error: RPC failed; curl 56 Recv failure: Operation timed out00 KiB/s
error: 4067 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

CocoaPods Environment

Stack

   CocoaPods : 1.12.1
        Ruby : ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [arm64-darwin22]
    RubyGems : 3.1.6
        Host : macOS 13.3.1 (22E261)
       Xcode : 14.2 (14C18)
         Git : git version 2.37.1 (Apple Git-137.1)
Ruby lib dir : /Users/<username>/.rubies/ruby-2.7.6/lib
Repositories : banuba - git - https://github.com/Banuba/specs.git @ 2213aa7f8c508948507e5b19564970292db403b1

               trunk - CDN - https://cdn.cocoapods.org/

Installation Source

Executable Path: /Users/<username>/.gem/ruby/2.7.6/bin/pod

Plugins

cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

Project that demonstrates the issue

Actually happens on any new project I created in React Native.

@xgenem
Copy link
Author

xgenem commented Apr 20, 2023

This is bs. I just need a faster internet connection for it to happen successfully. I switched to using ethernet cable.

@xgenem xgenem closed this as completed Apr 20, 2023
@anton-plebanovich
Copy link

In my case, this discussion helped https://stackoverflow.com/questions/66366582/github-unexpected-disconnect-while-reading-sideband-packet
I am not 100% sure which specific proposal helped in my case though, I tried 3 or 5 the most popular ones to update git global config. pod install was failing on ~300mb repository clone

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

2 participants