繁体   English   中英

致命:无法访问“https://git-codecommit.us-east-1.amazonaws.com/v1/repos/lambda-pipeline-repo/”:请求的 URL 返回错误:403

[英]fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/lambda-pipeline-repo/': The requested URL returned error: 403

我正在尝试将我的 AWS 代码提交设置到我的本地系统。

我正在尝试克隆 repo

git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/lambda-pipeline-repo  

当我尝试这样做时,我会在此窗口中输入我的 IAM 用户凭据。

在此处输入图片说明

在这之后不久,我得到

Cloning into 'lambda-pipeline-repo'...
fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/lambda-pipeline-repo/': The requested URL returned error: 403

我想知道我做错了什么。

我也尝试过这个链接中的东西

https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-windows.html

有人能帮我解决这个问题吗?

在此处查看 AWS 文档以获取 Windows 上的修复程序: https : //docs.aws.amazon.com/codecommit/latest/userguide/troubleshooting-ch.html这应该是由于凭证助手未正确连接到凭证因为某些原因。

(我在 Mac 上遇到了同样的问题。一旦按照文档中的说明恢复了 aws 凭证助手和 osxkeychain 凭证助手,一切就正常了。)

看看是否有帮助。 - 干杯

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM