gpt4 book ai didi

Eclipse:尝试克隆 CodeCommit 存储库并收到以下错误: "...git-upload-pack not permitted on..."

转载 作者:行者123 更新时间:2023-12-05 08:11:49 35 4
gpt4 key购买 nike

我正在设置 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,但没有成功。

我们将不胜感激。

最佳答案

看来是 AWS CodeCommit 的问题。对于新配置的项目,我有两次。我可以解决它为用户生成新的 GIT 凭据。

关于Eclipse:尝试克隆 CodeCommit 存储库并收到以下错误: "...git-upload-pack not permitted on...",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49691860/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com