Visitar URL original
Error while clicking on Sync · Issue #1668 · github/VisualStudio · GitHub
The Wayback Machine - https://web.archive.org/web/20201215060858/https://github.com/github/VisualStudio/issues/1668
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

Error while clicking on Sync #1668

Closed
laurentkempe opened this issue May 16, 2018 · 6 comments
Closed

Error while clicking on Sync #1668

laurentkempe opened this issue May 16, 2018 · 6 comments
Labels

Comments

@laurentkempe
Copy link

@laurentkempe laurentkempe commented May 16, 2018

Working on the #1667 I tried from Visual Studio to click on Sync to get one update of the sub modules

image

Here is the error in text

Synchronizing submodule url for 'script'
Synchronizing submodule url for 'submodules/akavache'
Synchronizing submodule url for 'submodules/octokit.net'
Synchronizing submodule url for 'submodules/reactiveui'
Synchronizing submodule url for 'submodules/splat'
Cloning into 'C:/Users/laure/projects/GithubVisualStudio/script'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:github/VisualStudioBuildScripts' into submodule path 'C:/Users/laure/projects/GithubVisualStudio/script' failed
Failed to clone 'script'. Retry scheduled
Cloning into 'C:/Users/laure/projects/GithubVisualStudio/script'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:github/VisualStudioBuildScripts' into submodule path 'C:/Users/laure/projects/GithubVisualStudio/script' failed
Failed to clone 'script' a second time, aborting

Any clue what could be the problem?

@jcansdale
Copy link
Collaborator

@jcansdale jcansdale commented May 16, 2018

Oops, this is unfortunate. The submodule that needed to be updated in this case was akavache. You don't have access to github/VisualStudioBuildScripts because it's private to GitHub. All it means is that external developers need to manually populate the src/GitHub.Api/ApiClientConfiguration_User.cs key.

Don't worry about this unless you're experiencing other issues with it.

@grokys
Copy link
Contributor

@grokys grokys commented May 16, 2018

@laurentkempe did you do run git submodule deinit script after checkout as described in the build instructions? If so, then I think we have a bug because the submodule update shouldn't be trying to update that submodule.

@laurentkempe
Copy link
Author

@laurentkempe laurentkempe commented May 17, 2018

@grokys I think I did, but I have a doubt now! I will do it again to see

@laurentkempe
Copy link
Author

@laurentkempe laurentkempe commented May 17, 2018

@grokys I did a new checkout and followed the process and still get the same error!

@meaghanlewis meaghanlewis added this to Medium Priority in BUGS May 29, 2018
@sguthals
Copy link
Contributor

@sguthals sguthals commented Jun 28, 2018

I've had a similar error:
screen shot 2018-06-28 at 10 28 34 am

@jcansdale
Copy link
Collaborator

@jcansdale jcansdale commented Aug 7, 2018 •

I think this is a bit of a special case. It happens when a user does a Sync submodules on a repository that includes a submodule they don't have access to (in this case the script submodule).

I'm not sure what it would be best to do in this situation. The default error includes the following:

image

This error is correct and includes a reasonable suggestion.

Since this is an edge case and the error is correct, I'm going to close. Please let me know if you think I'm being too hasty!

@jcansdale jcansdale closed this Aug 7, 2018
BUGS automation moved this from Medium Priority to Done Aug 7, 2018
@meaghanlewis meaghanlewis removed this from Done in BUGS Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.