kblincoe / VisualGit_SE701_2019_4

1 stars 0 forks source link

Clone Failed - Error: failed to get server certificate. The handle is in the wrong state for the requested operation. #169

Closed ljon567 closed 5 years ago

ljon567 commented 5 years ago

I used to receive this error for a while now every time I tried to clone any repository (private or public) on VisualGit.

certificate CertificateError

However, it was resolved not too long ago by of one of the recent commits from earlier this week or last week (I have yet to find out exactly which commit fixed this). Unfortunately, the error had returned again after I rebased the latest commits. I suspected that this may be a nodegit issue, so I git checkout the commit where the nodegit version was still 0.22.2 (before #145) and the issue was fixed.

Fortunately, this is not really a major issue for most people to be concerned with, as this seemed to be a rare issue. I have googled this error and found a stackoverflow solution https://stackoverflow.com/questions/48985995/gitkraken-and-github-failed-to-get-server-certificate-the-handle-is-in-the-wr which seemed to have fixed my issue, hopefully once and for all. The solution implied that this issue could be due to the fact that I'm using Windows 7.

Hopefully, the above solution can help anybody experiencing the same error.

ljon567 commented 5 years ago

Since this issue is technically resolved for me, I'll be closing it.