OpenSSL SSL_connect: SSL_ERROR_SYSCALL VS2017 Comm

2019-08-04 08:23发布

问题:

I can't sync my local git with visual studio online. This is the error I get

Git failed with a fatal error. unable to access 'https://mysite.visualstudio.com/DefaultCollection/_git/MajorMaintScopeChallenge/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mysite.visualstudio.com:443

Update: It's on a PC Windows 8

回答1:

It sounds like an issue in your network setting then (maybe a proxy or a firewall blocking access to the remote repository), as indicated by this line:

OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to :

Double check if your machine is in a network with proxy/firewalls. Turn it off and try again. If you have an additional standalone pc with a direct internet connection also give a try on this machine directly.



回答2:

Thanks, managed to resolve it by running the following from cmd

git config --global http.proxy myproxy.com:8080


回答3:

In my case it's a proxy issue, my company's firewall is blocking access and I don't have rights to change it. So, I switched to our company's mobile version of wifi network and managed to clone locally!