【发布时间】:2018-09-16 10:14:54
【问题描述】:
我正在设置 Eclipse 以使用 AWS 工具包。我已经安装了它,它会在 AWS Explorer 中显示所有 CodeCommit 存储库。当我去克隆任何 repo 时,会出现这样的错误:
org.eclipse.jgit.api.errors.TransportException: https://git-codecommit.eu-west-2.amazonaws.com/v1/repos/RepoName: git-upload-pack not permitted on 'https://git-codecommit.eu-west-2.amazonaws.com/v1/repos/RepoName/'
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:222)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:160)
at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:114)
at com.amazonaws.eclipse.core.egit.ui.SourceBranchPage$8.run(SourceBranchPage.java:340)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.eclipse.jgit.errors.TransportException: https://git-codecommit.eu-west-2.amazonaws.com/v1/repos/RepoName: git-upload-pack not permitted on 'https://git-codecommit.eu-west-2.amazonaws.com/v1/repos/RepoName/'
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:537)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:341)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:199)
... 4 more
任何想法如何解决这个错误?我已插入所有凭据,并尝试将 sslVerify 设置为 false,但没有成功。
我们将不胜感激。
【问题讨论】:
标签: eclipse git amazon-web-services aws-codecommit