CodeCommit Git Windows fatal: Failed to write item to store [0x6c6]
0
Is there a solution for the fatal message 0x6c6 that shows up in git-bash for Windows? It's annoying since it appears that operations continue normally other than the "fatal" part. My coworkers using Windows experience the same problem. I've included the full error along with the GIT_TRACE=1 info.
09:45:39.933420 run-command.c:654 trace: run_command: 'git credential-manager-core store'
09:45:40.042896 exec-cmd.c:237 trace: resolved executable dir: C:/Users/xxxxxxxx/AppData/Local/Programs/Git/mingw64/libexec/git-core
09:45:40.042896 git.c:748 trace: exec: git-credential-manager-core store
09:45:40.042896 run-command.c:654 trace: run_command: git-credential-manager-core store
fatal: Failed to write item to store. [0x6c6]
fatal: The array bounds are invalid
This is a newly setup Win10 Pro system. I'm using the following: git 2.36.1, Python 3.10.4, git-remote-codecommit 1.16, and we use a non AWS identity provider for SSO.
$ aws --version
aws-cli/2.6.3 Python/3.9.11 Windows/10 exe/AMD64 prompt/off
Here's ~/.gitconfig on the affected system.
[credential "url pointing to aws codecommit"]
provider = generic
[protocol "codecommit"]
allow = always
Here's part of the repo .git/config
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[submodule]
active = .
[remote "origin"]
url = codecommit::region://repo-name
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
Linux systems don't have this problem.
asked 2 months ago253 views
1 Answers
0
This is an issue with the git credential manager. You will need to update to the latest release. I recently confirmed this on a windows machine.
answered 2 months ago
Relevant questions
Is it possible to connect CodeBuild to CodeCommit over PrivateLink ?
Accepted Answerasked 8 days agoFSx for Windows appears to be blocking WinRM
asked 2 months agoLost access to Windows server
asked 2 years agoAccess FSx for Windows over the public internet?
Accepted Answerasked 2 years agoFATAL: password authentication failed for user "postgres
asked 5 years agoCodeCommit Git Windows fatal: Failed to write item to store [0x6c6]
asked 2 months agoThe instance is unresponsive: Windows is still being configured. SysprepState=IMAGE_STATE_UNDEPLOYABLE
asked 6 months agoCan I connect a Sagemaker "Studio" instance to a private github repository?
asked 6 days agoNo Wordpress option for Windows
asked 2 years agoAccessing AWS FSX from a windows EC2 that is not joined to the same domain.
asked 20 days ago
I'm already running the lastest version of everything. Switching the credential manager to wincredman gives the same error and using dpapi causes a different error about paths.