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

Repository cloning does not works due to permissions issue #170

Open
DmitriyYakovlev opened this issue Mar 5, 2020 · 8 comments
Open

Repository cloning does not works due to permissions issue #170

DmitriyYakovlev opened this issue Mar 5, 2020 · 8 comments

Comments

@DmitriyYakovlev
Copy link

Android studio shows
[email protected]: Permission denied (publickey). Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

@yunikkk
Copy link
Collaborator

yunikkk commented Mar 5, 2020

Hey @DmitriyYakovlev, suppose it's something wrong with your ssh key since the repo is public, please check https://help.github.com/en/github/authenticating-to-github/error-permission-denied-publickey

@DmitriyYakovlev
Copy link
Author

DmitriyYakovlev commented Mar 5, 2020

Hey @DmitriyYakovlev, suppose it's something wrong with your ssh key since the repo is public, please check https://help.github.com/en/github/authenticating-to-github/error-permission-denied-publickey

But, I was able to clone other repositories. Even for other MapBox related samples and all is ok with them. The only this repo gives such a problem.

@DmitriyYakovlev
Copy link
Author

I have just tried to clone https://github.com/mapbox/mapbox-android-demo.git and all works fine.

@yunikkk
Copy link
Collaborator

yunikkk commented Mar 5, 2020

We cannot reproduce the issue you describe. Are you sure you clone both repos using https (not ssh)? Could you try to clone from command line and share the results?

@DmitriyYakovlev
Copy link
Author

Hi @yunikkk . Cloning from the command line works ok for both repositories.
screenshot_1
but, Android Studio can not clone teaser directly but can clone other repositories
screenshot
But there used the same https link. For the command line and for studio approach.
Too strange issue. It is possible, that bug of Android Studio.
Guess, we can close this issue.
Thanks.

@yunikkk
Copy link
Collaborator

yunikkk commented Mar 5, 2020

Good to hear it works from command line.
Guess it's really some issue for Android Studio, either some specific git/ssh configuration or a bug.

@yunikkk yunikkk closed this as completed Mar 5, 2020
@yunikkk
Copy link
Collaborator

yunikkk commented Mar 5, 2020

Looking closer to the screenshot you've shared I can see the url that fails for you is [email protected]:mapbox/mapbox-vision.git, eg. different repository, which is private, and is used for us internally to build Teaser from Vision sources instead of maven dependencies. Apparently, Studio also fetches submodules when clone is used, and fails with this private submodule.

We shall handle this somehow, I'll reopen issue to track progress.

Thanks for reporting!

@yunikkk yunikkk reopened this Mar 5, 2020
@DmitriyYakovlev
Copy link
Author

Ok, 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

2 participants