自从我们将 TFS 服务器从 2017 update 1 更新到 update 3.1 后,我们遇到了身份验证问题。 (更新前一切正常)
大多数时候,身份验证有效,但有时无效。我真的无法解释发生了什么。
EG:用户能够从 Poweshell 的 Web 界面连接,但无法再使用 sourceTree。
此外,在服务部分创建的端点也有同样的问题,我们无法使用 Git 获取。相同的错误消息。
严重:'http://********:********@xxxx 的身份验证失败
有什么建议吗?
最佳答案
只需尝试以下项目来缩小问题范围:
更新 git 的缓存凭据:
转到
控制面板 -> 凭据管理器 -> Windows 凭据(通用凭据)
然后更新
git的密码:http://ServerName:xxx/
如果没有以
git:http...
开头的内容,请添加通用凭据:
使用 credential managers 设置身份验证或 SSH .
下载并运行最新的 Git for Windows 安装程序,其中包括适用于 Windows 的 Git Credential Manager。确保在出现提示时启用 Git Credntial Manager 安装选项。
对于 SourceTree:
导航到
C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree
并删除passwd
文件。也可以尝试其他人在此线程中提到的其他方法:https://community.atlassian.com/t5/Sourcetree-questions/Getting-quot-fatal-Authentication-failed-for-quot-error/qaq-p/624663
关于tfs - 致命的 : Authentication failed since update to 2017 Update 3. 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49945232/