-
Notifications
You must be signed in to change notification settings - Fork 591
fatal: Authentication failed for 'repoUrl' #886
Comments
I am having the same issue sporadically happening on different machines. It is the same as #879 . There I thought it was due to a Windows update, but now I am seeing it happening on other places. Tracing fails with the same line: Please help us diagnose that issue. Happens on AzureDevOps OnPrem, also for me! |
Interestingly, on some occasions the advice given in the other issue, to change the security channel helped on one of the machines. On the others there is no change in the behavior... |
So after digging a little it, I have found the following strange behavior.
I believe this is GIT's trace. Then credential-manager's code (C#) is being invoked and succeeds with
This is where things differ. On the machine where things work, after this line, I get:
While on the machine where it fails, I get:
I am still trying to figure out why it is trying to erase credentials there. After it tries that, it did not find them and fails. If I add my credentials manually inside So my question here is: Isn't Any help from the maintainers here would be awesome. UpdateWhen I add the credentials manually in When I run If I delete the second one, it gets recreated when I call |
Which Version of GCM are you using ?
Git Credential Manager for Windows version 1.20.0
Which service are you trying to connect to
Expected behavior
I should be able to pull and pull from/to the origin repository.
Actual behavior
Error:
fatal: Authentication failed for 'http://mydomain.com:8181/tfs/Dev/_git/AP/'
I've deleted all credentials for that domain in the Windows Credential Manager as I did in the past expecting to get a challenge to enter them again, but this is not happening.
Set the env variables GCM_TRACE=1 and GIT_TRACE=1 and run your git command. Redact any private information and attach the log
The text was updated successfully, but these errors were encountered: