无法使用EGit 4.6将TFS git存储库克隆到Eclipse Oxygen - 尝试联系时出错:https://tfs.testqa.zionsbank.com/DevelopmentCollection/ZionsTools/git/zions-services-framework
Java 1.8
tfs站点的cert已被导入到eclipse正在使用的java信任库中
TFS服务器2018
我可以通过Mac终端成功克隆git存储库
gitconig文件
-------------------------
[http]
sslCAInfo = /Users/z070187/ca-bundle.crt
sslVerify = false
[user]
name = z070187
email = michael.angelastro@zionsbancorp.com
[http "https://tfs.testqa.zionsbank.com"]
sslVerify = true
---------------------
复制步骤:
error occured while trying to contact
https://tfs.testqa.zionsbank.com/DevelopmentCollection/ZionsTools/git/zions-services-framework:未经授权
org.eclipse.jgit.api.errors.TransportException: https://tfs.testqa.zionsbank.com/DevelopmentCollection/ZionsTools/git/zions-services-framework: not authorized
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:223)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:161)
at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:114)
at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:335)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.eclipse.jgit.errors.TransportException: https://tfs.testqa.zionsbank.com/DevelopmentCollection/ZionsTools/git/zions-services-framework: not authorized
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:529)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:345)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:200)
... 4 more
答案 0 :(得分:0)
无法重现此问题。
使用Version: Oxygen.3a Release (4.7.3a)
Build id: 20180405-1200
测试Eclipse Oxygen(似乎在此版本中使用EGit 4.9
),eveything按预期工作。
只需尝试以下项目即可缩小问题范围: