Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013 won't sync unpushed commits to Git

"An error occurred. Detailed message: An error occurred while sending the request." This is the error I get when trying to sync commits with server from VS. Although, pushing to Git from command line works fine. Tried restarting Visual Studio and reinstalled Git. Didn't help. How can I fix this problem?

like image 208
Dazhush Avatar asked Feb 27 '18 09:02

Dazhush


3 Answers

The installation of Security Protocol Manager in the VS extension did solve the problem for me by just ticking the Tls12. The image below FYI.

enter image description here

like image 198
Teller Avatar answered Jan 01 '23 00:01

Teller


Some additional information relating to Teller's post:

I was able to download the Security Protocol Manager for VS2013 here.

After it is installed you'll want to restart Visual Studio.

You can access the dialog mentioned by going to TOOLS => Security Protocol Manager 2013

like image 32
Colin Avatar answered Dec 31 '22 23:12

Colin


Here is the answer I got from GitHub

[ Yesterday GitHub turned off TLSv1 and 1.1 in efforts to permanently deprecate several weak cryptographic standards. You could read more about that here: https://githubengineering.com/crypto-removal-notice/.

To fix this issue, you should upgrade to the latest version of Visual Studio, 15.5.7- which provides support for TLSV1.2. This update allows Git to connect to services that have deprecated support for TLSv1 and TLSv1.1. ]

It looks like VS2013 is no longer supported.

This is a big problem from me because the team I am part of only has VS2013.

like image 33
earlxtr Avatar answered Jan 01 '23 00:01

earlxtr