AWS CodeCommit & Git on OSX fatal unable to access returned error: 403
You had setup AWS CLI tools with AWS CodeCommit included and integrated it all to Git using the credential.helper config line. All was working correctly, then you tried to clone or push and got an error similar to:
*** fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/YOUR_REPO/': The requested URL returned error: 403 ***
Solution 1 :
Run in terminal
security delete-internet-password -l git-codecommit.us-east-1.amazonaws.com
It's is not a permanent solution, now the clock is ticking down to the next password reset done on AWS.
Solution 2 :
As per Amazon Docs:
1) Open the Keychain Access utility. (You can use Finder to locate it.)
2) Search for git-codecommit.us-east-1.amazonaws.com . Highlight the row, open the context menu or right-click it, and then choose Get Info.
3) Choose the Access Control tab.
4) In Always allow access by these applications, choose git-credential-osxkeychain, and then choose the minus sign to remove it from the list.
Solution 3 :
Install a version of Git that does not use the keychain by default.
!!!!!!!!!! just use SSH. !!!!!!!!!!!
Reference : https://docs.aws.amazon.com/codecommit/latest/userguide/troubleshooting-ch.html#troubleshooting-macoshttps
*** fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/YOUR_REPO/': The requested URL returned error: 403 ***
Solution 1 :
Run in terminal
security delete-internet-password -l git-codecommit.us-east-1.amazonaws.com
It's is not a permanent solution, now the clock is ticking down to the next password reset done on AWS.
Solution 2 :
As per Amazon Docs:
1) Open the Keychain Access utility. (You can use Finder to locate it.)
2) Search for git-codecommit.us-east-1.amazonaws.com . Highlight the row, open the context menu or right-click it, and then choose Get Info.
3) Choose the Access Control tab.
4) In Always allow access by these applications, choose git-credential-osxkeychain, and then choose the minus sign to remove it from the list.
Solution 3 :
Install a version of Git that does not use the keychain by default.
!!!!!!!!!! just use SSH. !!!!!!!!!!!
Reference : https://docs.aws.amazon.com/codecommit/latest/userguide/troubleshooting-ch.html#troubleshooting-macoshttps
It's very useful article with inforamtive and insightful content and i had good experience with this information.Enroll today to get free access to our live demo session which is a great opportunity to interact with the trainer directly which is a placement based Salesforce training India with job placement and certification . I strongly recommend my friends to join this Salesforce training institutes in hyderabad practical course, great curriculum Salesforce training institutes in Bangalore with real time experienced faculty Salesforce training institutes in Chennai. Never delay to enroll for a free demo at Salesforce training institutes in Mumbai who are popular for Salesforce training institutes in Pune.
ReplyDeleteGreat Article
ReplyDeleteCloud Computing Projects
Networking Projects
Final Year Projects for CSE
JavaScript Training in Chennai
JavaScript Training in Chennai
The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training