jitpack.io icon indicating copy to clipboard operation
jitpack.io copied to clipboard

Git Submodule not loading - remote hung up unexpectedly

Open stephan-mediamonks opened this issue 5 years ago • 2 comments

  • Link to build log from https://jitpack.io https://jitpack.io/org/bitbucket/mediamonksovp/mobile-android-app/develop-SNAPSHOT/build.log

  • Does the project build on your machine with the same commands (e.g. ./gradlew install) ? Project is checked out and builds fine

  • What error are you seeing? Git error. [email protected]:mediamonksovp/mobile-shared.git: remote hung up unexpectedly

The repository mobile-shared is defined as a submodule on the mobile-android-app repository. With --recursive flag, this checks out nicely locally. Feeding that repository url shows the content of the repository. Building it will not work because the repository only contains assets.

Please advise on what needs to be done to make this work. Thanks!

stephan-mediamonks avatar Feb 14 '20 12:02 stephan-mediamonks

Hi,

This seems like an authentication issue since the submodule is a private repository. JitPack clones the app repository using https so cloning the submodule using git+ssh fails. Is it an option for you to change the submodule to https?

jitpack-io avatar Feb 21 '20 08:02 jitpack-io

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jul 28 '22 02:07 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 12 '22 02:08 github-actions[bot]