我是Bluemix服务中的新成员。我找不到这个问题的确切解决方案。在Eclipse上克隆Git存储库(传输错误)
我在DevOps上的Bluemix和Git存储库上有一个Web应用程序。我正在开发Eclipse(包含Git和Bluemix插件),并对该项目进行了一些更改。现在,我在Local和Bluemix方面拥有最新版本的项目,并且需要更新存储库(仍然是启动器代码)。
作为第一步,我试图克隆Git仓库(在Eclipse上)。在填充URI和认证字段后,我收到如下所示的错误。我可以通过设置http.sslVerify=false
来通过SSL错误,但无法解决其他问题。谢谢。
错误日志:
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=tr_TR
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
org.eclipse.egit.ui
Error
Thu Apr 23 12:46:33 EEST 2015
https://hub.jazz.net/git/***/***: authentication not supported
org.eclipse.jgit.api.errors.TransportException: https://hub.jazz.net/git/***/***: authentication not supported
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:223)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:99)
at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:324)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.eclipse.jgit.errors.TransportException: https://hub.jazz.net/git/***/***: authentication not supported
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:494)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:202)
... 4 more
注:寻找错误日志后,我认为这是一种基于身份验证问题。但是,我使用的是用于登录到Bluemix的电子邮件和密码。 顺便说一句,我在Git命令行上试了一下。它被成功克隆,提交并推送。我不明白为什么这个问题发生在Eclipse中。
嗨,谢谢你的回答。我在“分支选择对话框”步骤中收到此错误,并且没有显示任何分支。 – samet
啊,另一个线索......所以,我能够通过在Git URL中拼错项目名称来重新创建问题。你能否检查一下你是否正确地指定了Git URL?同样,请参阅上文了解如何在IDS中查找该值。 – christo4ferris
是的,我直接从Bluemix页面复制它。它在Git Command Line上没有错误,但在Eclipse上没有错误。 – samet