【发布时间】:2015-04-22 19:39:36
【问题描述】:
我是 Bluemix 服务的新手。我找不到这个问题的确切解决方案。
我在 Bluemix 上有一个 Web 应用程序,在 DevOps 上有一个 Git 存储库。我正在开发 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 中会出现这个问题。
【问题讨论】:
标签: git github ibm-cloud devops