简体   繁体   中英

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

I am trying to set up My AWS code commit to my local system.

I am trying to clone the repo

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

when I tried to do that I get this window where I enter my IAM user credentials.

在此处输入图片说明

Soon after this, I get

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

I am wondering what I am doing wrong.

I also tried things in this link

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

Could anyone help me out of this?

Check the AWS docs out here for the fix on windows : https://docs.aws.amazon.com/codecommit/latest/userguide/troubleshooting-ch.html It should be due to credential helper doesn't connect to the credentials properly for some reason.

(I had the same issue on Mac. Once the aws credential helper and osxkeychain credential helper were restored as instructed in the doc, things were working fine.)

See if that helps. - Cheers

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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