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

Carthage cloning issues #49

Closed
rhaining opened this issue Aug 24, 2017 · 6 comments
Closed

Carthage cloning issues #49

rhaining opened this issue Aug 24, 2017 · 6 comments

Comments

@rhaining
Copy link

I'm seeing this frequently since I started pointing my Cartfile to mparticle v6.15.0:

A shell task (/usr/bin/env git submodule --quiet update --init --recursive) failed with exit code 1:
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.
 
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:mparticle-integrations/mparticle-apple-integration-urbanairship.git' into submodule path '…Carthage/Checkouts/mparticle-apple-sdk/Kits/urbanairship-kit' failed
Failed to clone 'Kits/urbanairship-kit'. Retry scheduled
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.

it happens on a lot of htese 'kits'. then if i retry, they're okay.

is this happening to anyone else? is there a way around this? thanks!

@samdozor
Copy link
Member

@rhaining we recently added the Kits as submodules so perhaps that's the issue - that said we've been unable to reproduce this on our side, even after blowing away the SSH keys in our environment. Do you have any more details as to when you're seeing this? Is it specific to any particular kit, or only urban? And, does this happen with carthage update, or some other command? Thanks!

@rhaining
Copy link
Author

@samdozor it seems to happen sometimes, but not all the time. I'm seeing it after running carthage bootstrap --no-build --use-ssh --use-submodules.

it seems to happen with any of the kits, which we're not using, but are cloned anyways.

@eseay
Copy link

eseay commented Aug 25, 2017

@samdozor I am experiencing the same issue. The Carthage checkout hangs at:
*** Checking out mparticle-apple-sdk at "6.15.0" and then after some time, the next line reads out:
A shell task (/usr/bin/env git clone --quiet [email protected]:mparticle-integrations/mparticle-apple-integration-adjust.git% with the process quitting.

@samdozor
Copy link
Member

hey @eseay and @rhaining we think this is related to using ssh vs. https for our submodule entries. For now we're going to remove the submodules from the repo which should resolve the issue. I'll ping here again once we've done so, thanks!

@samdozor
Copy link
Member

@eseay and @rhaining we've pushed 6.15.3, removing submodules - please let me know if you're still seeing issues.

@rhaining
Copy link
Author

thanks!

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

3 participants