-
Notifications
You must be signed in to change notification settings - Fork 591
Since Windows update to version 19041.1 authentication does not work #879
Comments
Anybody have any idea on this one? I had to disable the manager and enter my credentials manually every time I interact with the remote... |
I had similar symptoms, but I could not access the repository at all from windows, only from the linux subsystem. |
This might be a duplicate of one or more of #703, #750, and/or #793, but it's hard to tell because you've REDACTED the repo URL. If your original logs show that the "get" pass has no username in the URL, but your "delete" pass does, that points to it being similar. I have a similar problem and am about to go and add a comment on #703. I'm on Windows 10 Pro Version 1909 build 18363.535, Git for Windows 2.24.1.windows.2, and GCM v1.20.0. |
As it turns out, I am having issues even installing and removing the manager. When I use
|
Try using SysInternals Process Explorer to find which process uses that dll?
… 11:40:46.119746 ...\Installer.cs:863 trace: [CopyFiles] ! error: 'The process cannot access the file 'C:\Program Files\Git\mingw64\libexec\git-core\AzureDevOps.Authentication.dll' because it is being used by another process.'.
|
I tried that. I think that the |
Why are you trying to install it, when it is already installed? |
I get the same error when I try to remove it. First I tried that. I thought that if I remove and deploy it again, it might fix it. => Nope. |
The If that helps... |
Go to team explorer->settings->git->global settings and check the cryptographic network provider. I guess you have OpenSSL or unset there? Try changing it to Secure Channel. |
O.M.G!!!! |
Well, I'm not involved with the project, I'm just a user like you. And, AFAIK, there are valid use cases for the other provider. |
Which Version of GCM are you using ?
Git Credential Manager for Windows version 1.20.0
Which service are you trying to connect to
If you're using Azure DevOps, can you access the repository in the browser via the same URL?
Expected behavior
When doing
git pull
,git push
orgit clone
credentials stored in Credentials Manager to be used or if missing, to be prompted to enter them.Actual behavior
It just yields
fatal: Authentication failed for 'MY TFS URL'
It worked just fine before the Windows update on two of my machines. Same outcome afterwards.
Even after clearing ALL the credentials in Windows Credentials Manager still does not ask me for my credentials, but just fails.
Set the env variables GCM_TRACE=1 and GIT_TRACE=1 and run your git command. Redact any private information and attach the log
11:15:59.396386 exec_cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
11:15:59.396386 git.c:344 trace: built-in: git clone '
REDACTED
'Cloning into '
REDACTED
'...11:15:59.448320 run-command.c:640 trace: run_command: git remote-https origin '
REDACTED
'11:15:59.463933 exec_cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:15:59.463933 git.c:576 trace: exec: git-remote-https origin '
REDACTED
'11:15:59.463933 run-command.c:640 trace: run_command: git-remote-https origin '
REDACTED
'11:15:59.479543 exec_cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:16:00.913859 run-command.c:640 trace: run_command: 'git credential-manager get'
11:16:01.083184 exec_cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:16:01.083184 git.c:576 trace: exec: git-credential-manager get
11:16:01.083184 run-command.c:640 trace: run_command: git-credential-manager get
11:16:01.167610 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.20.0) 'get'
11:16:01.236642 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:16:01.236642 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 16 entries.
11:16:01.331571 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for '
REDACTED
'.11:16:01.336576 ...\Common.cs:224 trace: [CreateAuthentication] authority for '
REDACTED
' is basic with NTLM=Auto.11:16:01.336576 ...\Common.cs:765 trace: [QueryCredentials] querying 'Auto' for credentials.
11:16:01.352212 ...\Common.cs:780 trace: [QueryCredentials] credentials found.
11:16:02.602163 run-command.c:640 trace: run_command: 'git credential-manager erase'
11:16:02.639897 exec_cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:16:02.639897 git.c:576 trace: exec: git-credential-manager erase
11:16:02.639897 run-command.c:640 trace: run_command: git-credential-manager erase
11:16:02.732291 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.20.0) 'erase'
11:16:02.793290 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:16:02.808915 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 16 entries.
11:16:02.871378 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for '
REDACTED
'.11:16:02.886996 ...\Common.cs:224 trace: [CreateAuthentication] authority for '
REDACTED
' is basic with NTLM=Auto.11:16:02.886996 ...\Common.cs:252 trace: [DeleteCredentials] deleting basic credentials for '
REDACTED
'.11:16:02.886996 ...aseSecureStore.cs:59 trace: [Delete] credentials not found for 'git:
REDACTED
'.fatal: Authentication failed for '
REDACTED
'The text was updated successfully, but these errors were encountered: