github visual studio 2015 的分机失去连接
github extension for visual studio 2015 loses connection
我偶尔会收到此错误。这真的很烦人,因为有时它会自行修复,但大多数时候我只需要关闭 VS 并重新打开,然后它会再次工作一段时间。
当我尝试从分支(或任何其他 git 网络交互)拉取时发生。
Error encountered while fetching: An error occurred while sending the request.
Inner Exception:
The remote name could not be resolved: 'github.com'
- 有时它会在一段未知的时间后自行修复。
- 有时我在那段时间什么都不做。
- 有时我会四处点击并查看其他分支并执行拉取请求,然后它再次运行。
- 大多数情况下,我必须重新启动 VS 才能使其再次运行。
还有其他人遇到过这个问题吗?你是怎么解决的?
我也在使用双因素身份验证。如果这是问题所在。 (似乎不是问题所在)
我有时在启动 VS 时也会收到此错误:
We were unable to automatically populate your Visual Studio Team Services accounts.
The following error was encountered: TF400813:
Resource not available for anonymous access. Client authentication required.
所以可能是 github.com 身份验证在交互过程中的某个时刻丢失,重新启动 VS 修复它。
还有一个线索是,当github.com无法到达时,在Visual Studio中浏览器是无法浏览到的。可以在Chrome(或FireFox或IE)中正常浏览。 Visual Studio 似乎也偶尔会与 nuget.org 失去联系,效果似乎是一样的。
可能的相关问题:
Visual Studio/C#: Nuget Unable to connect to remote server
更新: 这发生在两个不同的 ISP 上,其中一个不在公司防火墙上(这排除了网络问题)。当问题发生时,它实际上会关闭 Visual Studio 内的所有网络通信,因此这不仅仅是 github.com 问题。我有一张与 Microsoft 的票,希望我们能解决它,我可以 post 为大家解答。
在与 Microsoft 支持和 VS 2017 的发布来回交流之后。
答案是升级!
我偶尔会收到此错误。这真的很烦人,因为有时它会自行修复,但大多数时候我只需要关闭 VS 并重新打开,然后它会再次工作一段时间。
当我尝试从分支(或任何其他 git 网络交互)拉取时发生。
Error encountered while fetching: An error occurred while sending the request.
Inner Exception:
The remote name could not be resolved: 'github.com'
- 有时它会在一段未知的时间后自行修复。
- 有时我在那段时间什么都不做。
- 有时我会四处点击并查看其他分支并执行拉取请求,然后它再次运行。
- 大多数情况下,我必须重新启动 VS 才能使其再次运行。
还有其他人遇到过这个问题吗?你是怎么解决的?
我也在使用双因素身份验证。如果这是问题所在。 (似乎不是问题所在)
我有时在启动 VS 时也会收到此错误:
We were unable to automatically populate your Visual Studio Team Services accounts.
The following error was encountered: TF400813:
Resource not available for anonymous access. Client authentication required.
所以可能是 github.com 身份验证在交互过程中的某个时刻丢失,重新启动 VS 修复它。
还有一个线索是,当github.com无法到达时,在Visual Studio中浏览器是无法浏览到的。可以在Chrome(或FireFox或IE)中正常浏览。 Visual Studio 似乎也偶尔会与 nuget.org 失去联系,效果似乎是一样的。
可能的相关问题: Visual Studio/C#: Nuget Unable to connect to remote server
更新: 这发生在两个不同的 ISP 上,其中一个不在公司防火墙上(这排除了网络问题)。当问题发生时,它实际上会关闭 Visual Studio 内的所有网络通信,因此这不仅仅是 github.com 问题。我有一张与 Microsoft 的票,希望我们能解决它,我可以 post 为大家解答。
在与 Microsoft 支持和 VS 2017 的发布来回交流之后。
答案是升级!