无法使用Visual Studio 2017中的团队资源管理器进行推送或推送 [英] Can't pull or push with Team Explorer in Visual Studio 2017

查看:1141
本文介绍了无法使用Visual Studio 2017中的团队资源管理器进行推送或推送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2017中使用了Git。从昨天开始,每次我尝试使用团队资源管理器从远程存储库中推入或拉出时,出现以下错误:

  Git因致命错误失败。遇到
HttpRequestException。
发送请求时发生错误。遇到
HttpRequestException。
发送请求时发生错误。
无法产生askpass:没有这样的文件或目录
无法读取'https://github.com'的用户名:终端提示已禁用

解决方案

这很可能是由于GitHub关闭了TLS版本高于1.2的版本。 Visual Studio 2017和Git for Windows都已更新。更多信息可以在这里找到:



https://developercommunity.visualstudio.com/content/problem/201457/unable-to-connect-to-github-由于tls-12-only-cha.html



希望这有助于您!


I use Git with Visual Studio 2017. Since yesterday every time I try to push or pull from the remote repository with Team Explorer I get the following error:

Git failed with a fatal error.
HttpRequestException encountered.
   An error occurred while sending the request.
HttpRequestException encountered.
   An error occurred while sending the request.
cannot spawn askpass: No such file or directory
could not read Username for 'https://github.com': terminal prompts disabled

解决方案

This is very likely due to GitHub turning off versions of TLS older than 1.2. Visual Studio 2017 and Git for Windows have both been updated. More information can be found here:

https://developercommunity.visualstudio.com/content/problem/201457/unable-to-connect-to-github-due-to-tls-12-only-cha.html

Hope this helps!

这篇关于无法使用Visual Studio 2017中的团队资源管理器进行推送或推送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆