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

Unable to push, pull, clone, etc... from Git repo through Visual Studio. #4579

Closed
JThomas28 opened this issue Mar 14, 2018 · 3 comments
Closed

Comments

@JThomas28
Copy link

You are opening a bug report against the libgit2 project. If you have a
question about an API or usage, please ask on StackOverflow:
http://stackoverflow.com/questions/tagged/libgit2. Please fill out the
reproduction steps (below) and delete this introductory paragraph. Thanks!

Reproduction steps

Create new project in VS2013
Add to git and do initial commit

When trying to publish(push), I paste the link in to the github/bitbucket repo and get the following error:
"An error occurred. Detailed message: An error was raised by libgit2. Category=Net (Error). An error occurred while sending the request"

I have tried reentering my credentials into credential manager, tried multiple repos (bitbucket and github), turned http.sslverify to false, all with no success. Don't know what to try next.

Expected behavior

Push/clone to be successful

Git command line works fine, as well as tortoise Git, so I know it's not a Git problem. Also, Visual Studio 2017 works through IDE, but my research has shown me VS2017 does NOT use libgit2, which is another reason to think this is a libgit2 bug

Actual behavior

Fails every time

Version of libgit2 (release number or SHA1)

unsure. Is libgit2 not automatically installed in VS2013?

Operating system(s) tested

Windows7

@ethomson
Copy link
Member

Hi! I’m sorry that you’re having trouble but there’s little that the libgit2 project can do for you here. Even if there is a bug in libgit2, there’s little that could be done by you to resolve this.

You could open a support ticket with Microsoft, but I’m reasonably sure that they will indicate to you that you’re hitting an issue with TLS support on Windows 7.

Please check out some of the Microsoft resources like https://developercommunity.visualstudio.com/content/problem/201457/unable-to-connect-to-github-due-to-tls-12-only-cha.html and other similar resources. (StackOverflow may also be able to help.)

@ethomson
Copy link
Member

Did this fix your issue, @JThomas28?

@JThomas28
Copy link
Author

I've opened a case with Microsoft on this issue. I am looking into TLS like you suggested. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants