Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to clone this repository in Windows 8 RC with Github for Windows

I get the following error message when trying to clone one of my GitHub repositories in Windows 8 RC using GitHub for Windows:

Unable to clone this repository. Please check your internet connection.

  • When I try to clone the same repository in Windows 7 using GitHub for Windows, it succeeds.
  • Cloning in Windows 8 progresses to about 9% before the error message appears.

I've checked the log file TheLog.txt, that says there's an error setting certificate verify locations:

2012-06-02 20:28:12.5876|INFO|GitHub.Extensions.ReactiveScreen|Activating GitHub.ViewModels.AboutViewModel.
2012-06-02 20:28:57.4916|INFO|GitHub.Extensions.ReactiveScreen|Deactivating GitHub.ViewModels.AboutViewModel.
2012-06-02 20:28:57.4916|INFO|GitHub.Extensions.ReactiveScreen|Closed GitHub.ViewModels.AboutViewModel.
2012-06-02 20:28:59.0532|INFO|GitHub.Models.RepositoryModel|Cloning [repository-url].git
2012-06-02 20:28:59.0532|INFO|GitHub.Helpers.GitRemote|Cloning '[repository-url].git' to 'Spotify-Metro-Style-App' in directory 'C:\GitHub
2012-06-02 20:28:59.0562|INFO|GitHub.PortableGit.Helpers.GitEnvSetupExtensions|Configuring SSH Agent: :
2012-06-02 20:28:59.0562|INFO|GitHub.PortableGit.Helpers.GitEnvSetupExtensions|PATH is C:\Users\EivindGussiås\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a\cmd;C:\Users\EivindGussiås\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a\bin;C:\Users\EivindGussiås\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a\mingw\bin;C:\Users\EivindGussiås\AppData\Local\Apps\2.0\7VOQ2HDO.HJX\5506OVG3.2LE\gith..tion_8f45a2159c87c850_0001.0000_70cd4637d2963700;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319;C:\WINDOWS\System32
2012-06-02 20:28:59.0782|INFO|GitHub.IO.ObservableProcess|git.exe clone --progress --recursive [repository-url].git "Spotify-Metro-Style-App" 
2012-06-02 20:29:02.2949|WARN|GitHub.Extensions.StandardUserErrors|Showing user and error Please check your internet connection.
GitHub.IO.ProcessException: Cloning into 'Spotify-Metro-Style-App'...
error: error setting certificate verify locations:
  CAfile: C:\Users\EivindGussiås\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a/bin/curl-ca-bundle.crt
  CApath: none
 while accessing [repository-url].git/info/refs
fatal: HTTP request failed
2012-06-02 20:29:02.2949|WARN|GitHub.ViewModels.ShellViewModel|User error encountered: Unable to clone this repository.
  • In Windows 7, where cloning the repository succeeds, nothing is written to TheLog.txt.
  • In Windows 8 RC the same error occurs on any repository I try to clone.
  • I sign in to Windows 8 using a Microsoft account, which has been a problem in Windows 8 CP with GitBash, because the user name is automatically set to include norwegian characters not supported by GitBash. As you can see, my home directory is C:\Users\EivindGussiås\.
like image 290
Eivind Gussiås Løkseth Avatar asked Jun 02 '12 19:06

Eivind Gussiås Løkseth


2 Answers

Disclosure: I am a developer at GitHub.

This should be fixed in the v1.0.8.4 update we just released.

like image 55
Adam Roben Avatar answered Oct 31 '22 15:10

Adam Roben


When I get this I usually just close it and reopen it, if that doesn't solve it then I log out and log back in, usually one of these fixes it.

like image 1
artfulhacker Avatar answered Oct 31 '22 16:10

artfulhacker