Skip to content

Server advertises Kerberos, but GCM ignores it #2290

Closed

Description

@rm-code

Version

2.7.3+5fa7116896c82164996a609accd1c5ad90fe730a

Operating system

Windows

OS version or distribution

Windows 11 Enterprise

Git hosting provider(s)

Azure DevOps Server (TFS/on-prem)

Other hosting provider

No response

(Azure DevOps only) What format is your remote URL?

None

Can you access the remote repository directly in the browser?

Yes, I can access the repository

Expected behavior

Git should use Kerberos to authenticate.

Actual behavior

When trying to authenticate against our azure devops server (on premise), we are hit by the warning added in version 2.7.3 even though the server is configured for kerberos auth and (afaict) correctly advertises it via WWW-Authenticate: Negotiate:

Due to its cryptographic weaknesses, NTLM authentication has been disabled in Git by default.

I added logs for GIT_CURL_VERBOSE=1 git pull and GCM_TRACE=1 GIT_TRACE=1 git pull below.

When we activate the NTLM workaround the authentication passes, but this isn't an option going forward as NTLM is being phased out completely.

This is the .gitconfig our team uses:

[http]
	sslVerify = true
	sslBackend = schannel

[credential "<redacted>"]
	provider = generic
[credential "<redacted>"]
	provider = generic
[credential]
	helper = manager

Logs

GCM_TRACE=1 GIT_TRACE=1 git pull

10:27:19.752238 ...\Application.cs:106  trace: [RunInternalAsync] Version: 2.7.3.0
10:27:19.753238 ...\Application.cs:107  trace: [RunInternalAsync] Runtime: .NET Framework 4.8.9310.0
10:27:19.753238 ...\Application.cs:108  trace: [RunInternalAsync] Platform: Windows (x86-64)
10:27:19.753238 ...\Application.cs:109  trace: [RunInternalAsync] OSVersion: 10.0 (build 26100)
10:27:19.753238 ...\Application.cs:110  trace: [RunInternalAsync] AppPath: <redacted>\git-credential-manager.exe
10:27:19.753238 ...\Application.cs:111  trace: [RunInternalAsync] InstallDir: <redacted>\
10:27:19.753238 ...\Application.cs:112  trace: [RunInternalAsync] Arguments: get
10:27:19.796815 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'get' command...
10:27:19.810300 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
10:27:19.812301 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	capability[]=authtype
10:27:19.812301 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	capability[]=state
10:27:19.812301 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	ntlm=suppressed
10:27:19.812301 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	protocol=https
10:27:19.813301 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	host=<redacted>
10:27:19.813301 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Bearer
10:27:19.813301 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Basic realm="https://<redacted>/tfs"
10:27:19.813301 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Negotiate
10:27:19.813301 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=NTLM
10:27:19.818300 ...oviderRegistry.cs:99 trace: [GetProviderAsync] Host provider override was set id='generic'
10:27:19.821588 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Generic' was selected.
10:27:19.824588 ...icHostProvider.cs:71 trace: [GetCredentialAsync] Looking for existing credential in store with service=https://<redacted> account=...
10:27:19.831591 ...icHostProvider.cs:76 trace: [GetCredentialAsync] No existing credentials found.
10:27:19.831591 ...icHostProvider.cs:79 trace: [GetCredentialAsync] Creating new credential...
10:27:19.839243 ...ricOAuthConfig.cs:38 trace: [TryGet] Invalid OAuth configuration - missing/invalid authorize endpoint: 
10:27:19.839243 ...cHostProvider.cs:176 trace: [GenerateCredentialAsync] Checking host 'https://<redacted>/' for Windows Integrated Authentication...
10:27:19.842236 ...Authentication.cs:90 trace: [GetAuthenticationTypesAsync] HTTP: HEAD https://<redacted>/
10:27:19.844236 ...pClientFactory.cs:60 trace: [CreateClient] Creating new HTTP client instance...
10:27:19.868690 ...pClientFactory.cs:80 trace: [CreateClient] Git's SSL/TLS backend is: Schannel
10:27:20.618627 ...Authentication.cs:93 trace: [GetAuthenticationTypesAsync] HTTP: Response code ignored.
10:27:20.618627 ...Authentication.cs:95 trace: [GetAuthenticationTypesAsync] Inspecting WWW-Authenticate headers...
10:27:20.627704 ...cHostProvider.cs:182 trace: [GenerateCredentialAsync] Host does not support WIA.
10:27:20.627704 ...cHostProvider.cs:243 trace: [GenerateCredentialAsync] Prompting for basic credentials...
10:30:10.270302 ...\GetCommand.cs:46    trace: [ExecuteInternalAsync] Writing credentials to output:
10:30:10.270302 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	protocol=https
10:30:10.270302 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	host=<redacted>
10:30:10.270302 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	username=<redacted>
10:30:10.270302 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	password=<redacted>
10:30:10.271301 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'get' command...
10:30:11.153075 ...\Application.cs:106  trace: [RunInternalAsync] Version: 2.7.3.0
10:30:11.153075 ...\Application.cs:107  trace: [RunInternalAsync] Runtime: .NET Framework 4.8.9310.0
10:30:11.153075 ...\Application.cs:108  trace: [RunInternalAsync] Platform: Windows (x86-64)
10:30:11.154073 ...\Application.cs:109  trace: [RunInternalAsync] OSVersion: 10.0 (build 26100)
10:30:11.154073 ...\Application.cs:110  trace: [RunInternalAsync] AppPath: <redacted>\git-credential-manager.exe
10:30:11.154073 ...\Application.cs:111  trace: [RunInternalAsync] InstallDir: <redacted>\
10:30:11.154073 ...\Application.cs:112  trace: [RunInternalAsync] Arguments: erase
10:30:11.196756 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'erase' command...
10:30:11.210002 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
10:30:11.212055 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	ntlm=suppressed
10:30:11.212055 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	protocol=https
10:30:11.212055 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	host=<redacted>
10:30:11.212055 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	username=<redacted>
10:30:11.212055 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	password=<redacted>
10:30:11.212055 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Bearer
10:30:11.212055 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Basic realm="https://<redacted>/tfs"
10:30:11.212055 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Negotiate
10:30:11.212055 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=NTLM
10:30:11.217073 ...oviderRegistry.cs:99 trace: [GetProviderAsync] Host provider override was set id='generic'
10:30:11.220073 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Generic' was selected.
10:30:11.221073 ...cHostProvider.cs:117 trace: [EraseCredentialAsync] Erasing stored credential in store with service=https://<redacted> account=<redacted>...
10:30:11.228498 ...cHostProvider.cs:124 trace: [EraseCredentialAsync] No credential was erased.
10:30:11.228498 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'erase' command...
10:30:11.694436 ...\Application.cs:106  trace: [RunInternalAsync] Version: 2.7.3.0
10:30:11.695434 ...\Application.cs:107  trace: [RunInternalAsync] Runtime: .NET Framework 4.8.9310.0
10:30:11.695434 ...\Application.cs:108  trace: [RunInternalAsync] Platform: Windows (x86-64)
10:30:11.695434 ...\Application.cs:109  trace: [RunInternalAsync] OSVersion: 10.0 (build 26100)
10:30:11.695434 ...\Application.cs:110  trace: [RunInternalAsync] AppPath: <redacted>\git-credential-manager.exe
10:30:11.695434 ...\Application.cs:111  trace: [RunInternalAsync] InstallDir: <redacted>\
10:30:11.695434 ...\Application.cs:112  trace: [RunInternalAsync] Arguments: erase
10:30:11.735951 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'erase' command...
10:30:11.749630 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
10:30:11.751630 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	ntlm=suppressed
10:30:11.751630 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	protocol=https
10:30:11.751630 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	host=<redacted>
10:30:11.751630 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	username=<redacted>
10:30:11.751630 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	password=<redacted>
10:30:11.751630 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Bearer
10:30:11.751630 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Basic realm="https://<redacted>/tfs"
10:30:11.751630 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Negotiate
10:30:11.751630 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=NTLM
10:30:11.757120 ...oviderRegistry.cs:99 trace: [GetProviderAsync] Host provider override was set id='generic'
10:30:11.760120 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Generic' was selected.
10:30:11.761120 ...cHostProvider.cs:117 trace: [EraseCredentialAsync] Erasing stored credential in store with service=https://<redacted> account=<redacted>...
10:30:11.768120 ...cHostProvider.cs:124 trace: [EraseCredentialAsync] No credential was erased.
10:30:11.768120 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'erase' command...
warning: Due to its cryptographic weaknesses, NTLM authentication has been
disabled in Git by default. You can re-enable it for trusted servers
by running:

git config set http.https://<redacted>.allowNTLMAuth true
fatal: Authentication failed for 'https://<redacted>/tfs/<redacted>/'

GIT_CURL_VERBOSE=1 git pull

09:49:10.835147 http.c:930              == Info: Could not find host <redacted> in the .netrc file; using defaults
09:49:10.846626 http.c:930              == Info: Host <redacted>:443 was resolved.
09:49:10.846626 http.c:930              == Info: IPv6: (none)
09:49:10.846626 http.c:930              == Info: IPv4: <redacted>
09:49:10.846626 http.c:930              == Info:   Trying <redacted>:443...
09:49:10.877147 http.c:930              == Info: schannel: disabled automatic use of client certificate
09:49:10.879618 http.c:930              == Info: ALPN: curl offers http/1.1
09:49:10.949361 http.c:930              == Info: ALPN: server accepted http/1.1
09:49:10.949361 http.c:930              == Info: Established connection to <redacted> (<redacted> port 443) from <redacted> port <redacted> 
09:49:10.949361 http.c:930              == Info: using HTTP/1.x
09:49:10.949361 http.c:877              => Send header, 0000000318 bytes (0x0000013e)
09:49:10.949361 http.c:889              => Send header: GET /tfs/<redacted>/_git/<redacted>/info/refs?service=git-upload-pack HTTP/1.1
09:49:10.949361 http.c:889              => Send header: Host: <redacted>
09:49:10.949361 http.c:889              => Send header: User-Agent: git/2.53.0.windows.2
09:49:10.949361 http.c:889              => Send header: Accept: */*
09:49:10.949361 http.c:889              => Send header: Accept-Encoding: deflate, gzip, br, zstd
09:49:10.949361 http.c:889              => Send header: Pragma: no-cache
09:49:10.949361 http.c:889              => Send header: Git-Protocol: version=2
09:49:10.950365 http.c:889              => Send header:
09:49:10.950365 http.c:930              == Info: Request completely sent off
09:49:10.997673 http.c:877              <= Recv header, 0000000027 bytes (0x0000001b)
09:49:10.997673 http.c:889              <= Recv header: HTTP/1.1 401 Unauthorized
09:49:10.997673 http.c:877              <= Recv header, 0000000040 bytes (0x00000028)
09:49:10.997673 http.c:889              <= Recv header: Content-Type: text/html; charset=utf-8
09:49:10.997673 http.c:877              <= Recv header, 0000000055 bytes (0x00000037)
09:49:10.997673 http.c:889              <= Recv header: X-TFS-ProcessId: <redacted>
09:49:10.997673 http.c:877              <= Recv header, 0000000050 bytes (0x00000032)
09:49:10.997673 http.c:889              <= Recv header: ActivityId: <redacted>
09:49:10.997673 http.c:877              <= Recv header, 0000000053 bytes (0x00000035)
09:49:10.997673 http.c:889              <= Recv header: X-TFS-Session: <redacted>
09:49:10.997673 http.c:877              <= Recv header, 0000000051 bytes (0x00000033)
09:49:10.997673 http.c:889              <= Recv header: X-VSS-E2EID: <redacted>
09:49:10.997673 http.c:877              <= Recv header, 0000000064 bytes (0x00000040)
09:49:10.997673 http.c:889              <= Recv header: X-VSS-SenderDeploymentId: <redacted>
09:49:10.997673 http.c:877              <= Recv header, 0000000706 bytes (0x000002c2)
09:49:10.997673 http.c:889              <= Recv header: X-TFS-SoapException: <redacted>
09:49:10.997673 http.c:877              <= Recv header, 0000000144 bytes (0x00000090)
09:49:10.997673 http.c:889              <= Recv header: X-TFS-ServiceError: <redacted>
09:49:10.997673 http.c:877              <= Recv header, 0000000026 bytes (0x0000001a)
09:49:10.997673 http.c:889              <= Recv header: WWW-Authenticate: Bearer
09:49:10.998674 http.c:877              <= Recv header, 0000000073 bytes (0x00000049)
09:49:10.998674 http.c:889              <= Recv header: WWW-Authenticate: Basic realm="https://<redacted>/tfs"
09:49:10.998674 http.c:877              <= Recv header, 0000000029 bytes (0x0000001d)
09:49:10.998674 http.c:889              <= Recv header: WWW-Authenticate: Negotiate
09:49:10.999671 http.c:877              <= Recv header, 0000000024 bytes (0x00000018)
09:49:10.999671 http.c:889              <= Recv header: WWW-Authenticate: NTLM
09:49:10.999671 http.c:877              <= Recv header, 0000000023 bytes (0x00000017)
09:49:10.999671 http.c:889              <= Recv header: X-Powered-By: ASP.NET
09:49:10.999671 http.c:877              <= Recv header, 0000000124 bytes (0x0000007c)
09:49:10.999671 http.c:889              <= Recv header: ...
09:49:10.999671 http.c:877              <= Recv header, 0000000024 bytes (0x00000018)
09:49:10.999671 http.c:889              <= Recv header: Lfs-Authenticate: NTLM
09:49:10.999671 http.c:877              <= Recv header, 0000000033 bytes (0x00000021)
09:49:10.999671 http.c:889              <= Recv header: X-Content-Type-Options: nosniff
09:49:10.999671 http.c:877              <= Recv header, 0000000037 bytes (0x00000025)
09:49:11.000842 http.c:889              <= Recv header: Date: Fri, 13 Mar 2026 08:49:10 GMT
09:49:11.000842 http.c:877              <= Recv header, 0000000023 bytes (0x00000017)
09:49:11.000842 http.c:889              <= Recv header: Content-Length: 20271
09:49:11.000842 http.c:877              <= Recv header, 0000000002 bytes (0x00000002)
09:49:11.000842 http.c:889              <= Recv header:
09:49:11.027697 http.c:930              == Info: Connection #0 to host <redacted>:443 left intact
09:49:21.070875 http.c:930              == Info: Reusing existing https: connection with host <redacted>
09:49:21.070875 http.c:877              => Send header, 0000000318 bytes (0x0000013e)
09:49:21.070875 http.c:889              => Send header: GET /tfs/<redacted>/_git/<redacted>/info/refs?service=git-upload-pack HTTP/1.1
09:49:21.070875 http.c:889              => Send header: Host: <redacted>
09:49:21.070875 http.c:889              => Send header: User-Agent: git/2.53.0.windows.2
09:49:21.070875 http.c:889              => Send header: Accept: */*
09:49:21.070875 http.c:889              => Send header: Accept-Encoding: deflate, gzip, br, zstd
09:49:21.070875 http.c:889              => Send header: Pragma: no-cache
09:49:21.070875 http.c:889              => Send header: Git-Protocol: version=2
09:49:21.070875 http.c:889              => Send header:
09:49:21.070875 http.c:930              == Info: Request completely sent off
09:49:21.104110 http.c:877              <= Recv header, 0000000027 bytes (0x0000001b)
09:49:21.104110 http.c:889              <= Recv header: HTTP/1.1 401 Unauthorized
09:49:21.104110 http.c:877              <= Recv header, 0000000040 bytes (0x00000028)
09:49:21.104110 http.c:889              <= Recv header: Content-Type: text/html; charset=utf-8
09:49:21.104110 http.c:877              <= Recv header, 0000000055 bytes (0x00000037)
09:49:21.105112 http.c:889              <= Recv header: X-TFS-ProcessId: <redacted>
09:49:21.105112 http.c:877              <= Recv header, 0000000050 bytes (0x00000032)
09:49:21.105112 http.c:889              <= Recv header: ActivityId: <redacted>
09:49:21.105112 http.c:877              <= Recv header, 0000000053 bytes (0x00000035)
09:49:21.105112 http.c:889              <= Recv header: X-TFS-Session: <redacted>
09:49:21.105112 http.c:877              <= Recv header, 0000000051 bytes (0x00000033)
09:49:21.105112 http.c:889              <= Recv header: X-VSS-E2EID: <redacted>
09:49:21.105112 http.c:877              <= Recv header, 0000000064 bytes (0x00000040)
09:49:21.105112 http.c:889              <= Recv header: X-VSS-SenderDeploymentId: <redacted>
09:49:21.105112 http.c:877              <= Recv header, 0000000706 bytes (0x000002c2)
09:49:21.105112 http.c:889              <= Recv header: X-TFS-SoapException: <redacted>
09:49:21.105112 http.c:877              <= Recv header, 0000000144 bytes (0x00000090)
09:49:21.105112 http.c:889              <= Recv header: X-TFS-ServiceError: <redacted>
09:49:21.105112 http.c:877              <= Recv header, 0000000026 bytes (0x0000001a)
09:49:21.105112 http.c:889              <= Recv header: WWW-Authenticate: Bearer
09:49:21.105112 http.c:877              <= Recv header, 0000000073 bytes (0x00000049)
09:49:21.105112 http.c:889              <= Recv header: WWW-Authenticate: Basic realm="https://<redacted>/tfs"
09:49:21.105112 http.c:877              <= Recv header, 0000000029 bytes (0x0000001d)
09:49:21.105112 http.c:889              <= Recv header: WWW-Authenticate: Negotiate
09:49:21.105112 http.c:877              <= Recv header, 0000000024 bytes (0x00000018)
09:49:21.105112 http.c:889              <= Recv header: WWW-Authenticate: NTLM
09:49:21.105112 http.c:877              <= Recv header, 0000000023 bytes (0x00000017)
09:49:21.105112 http.c:889              <= Recv header: X-Powered-By: ASP.NET
09:49:21.105112 http.c:877              <= Recv header, 0000000124 bytes (0x0000007c)
09:49:21.105112 http.c:889              <= Recv header: ...
09:49:21.105112 http.c:877              <= Recv header, 0000000024 bytes (0x00000018)
09:49:21.105112 http.c:889              <= Recv header: Lfs-Authenticate: NTLM
09:49:21.105112 http.c:877              <= Recv header, 0000000033 bytes (0x00000021)
09:49:21.105112 http.c:889              <= Recv header: X-Content-Type-Options: nosniff
09:49:21.105112 http.c:877              <= Recv header, 0000000037 bytes (0x00000025)
09:49:21.105112 http.c:889              <= Recv header: Date: Fri, 13 Mar 2026 08:49:21 GMT
09:49:21.105112 http.c:877              <= Recv header, 0000000023 bytes (0x00000017)
09:49:21.105112 http.c:889              <= Recv header: Content-Length: 20271
09:49:21.105112 http.c:930              == Info: Ignoring the response-body
09:49:21.105112 http.c:930              == Info: setting size while ignoring
09:49:21.105112 http.c:877              <= Recv header, 0000000002 bytes (0x00000002)
09:49:21.105112 http.c:889              <= Recv header:
09:49:21.106112 http.c:930              == Info: Connection #0 to host <redacted>:443 left intact
09:49:21.106112 http.c:930              == Info: Issue another request to this URL: 'https://<redacted>/tfs/<redacted>/_git/<redacted>/info/refs?service=git-upload-pack'
09:49:21.106112 http.c:930              == Info: Reusing existing https: connection with host <redacted>
09:49:21.106112 http.c:930              == Info: Server auth using Basic with user '<redacted>'
09:49:21.106112 http.c:877              => Send header, 0000000365 bytes (0x0000016d)
09:49:21.106112 http.c:889              => Send header: GET /tfs/<redacted>/_git/<redacted>/info/refs?service=git-upload-pack HTTP/1.1
09:49:21.106112 http.c:889              => Send header: Host: <redacted>
09:49:21.106112 http.c:889              => Send header: Authorization: Basic <redacted>
09:49:21.106112 http.c:889              => Send header: User-Agent: git/2.53.0.windows.2
09:49:21.106112 http.c:889              => Send header: Accept: */*
09:49:21.106112 http.c:889              => Send header: Accept-Encoding: deflate, gzip, br, zstd
09:49:21.106112 http.c:889              => Send header: Pragma: no-cache
09:49:21.106112 http.c:889              => Send header: Git-Protocol: version=2
09:49:21.106112 http.c:889              => Send header:
09:49:21.106112 http.c:930              == Info: Request completely sent off
09:49:21.139695 http.c:877              <= Recv header, 0000000027 bytes (0x0000001b)
09:49:21.139695 http.c:889              <= Recv header: HTTP/1.1 401 Unauthorized
09:49:21.139695 http.c:877              <= Recv header, 0000000040 bytes (0x00000028)
09:49:21.139695 http.c:889              <= Recv header: Content-Type: text/html; charset=utf-8
09:49:21.139695 http.c:877              <= Recv header, 0000000055 bytes (0x00000037)
09:49:21.139695 http.c:889              <= Recv header: X-TFS-ProcessId: <redacted>
09:49:21.139695 http.c:877              <= Recv header, 0000000050 bytes (0x00000032)
09:49:21.139695 http.c:889              <= Recv header: ActivityId: <redacted>
09:49:21.139695 http.c:877              <= Recv header, 0000000053 bytes (0x00000035)
09:49:21.140838 http.c:889              <= Recv header: X-TFS-Session: <redacted>
09:49:21.140838 http.c:877              <= Recv header, 0000000051 bytes (0x00000033)
09:49:21.140838 http.c:889              <= Recv header: X-VSS-E2EID: <redacted>
09:49:21.140838 http.c:877              <= Recv header, 0000000064 bytes (0x00000040)
09:49:21.140838 http.c:889              <= Recv header: X-VSS-SenderDeploymentId: <redacted>
09:49:21.140838 http.c:877              <= Recv header, 0000000706 bytes (0x000002c2)
09:49:21.140838 http.c:889              <= Recv header: X-TFS-SoapException: <redacted>
09:49:21.140838 http.c:877              <= Recv header, 0000000144 bytes (0x00000090)
09:49:21.140838 http.c:889              <= Recv header: X-TFS-ServiceError: <redacted>
09:49:21.140838 http.c:877              <= Recv header, 0000000026 bytes (0x0000001a)
09:49:21.140838 http.c:889              <= Recv header: WWW-Authenticate: Bearer
09:49:21.140838 http.c:930              == Info: Basic authentication problem, ignoring.
09:49:21.140838 http.c:877              <= Recv header, 0000000073 bytes (0x00000049)
09:49:21.140838 http.c:889              <= Recv header: WWW-Authenticate: Basic realm="https://<redacted>/tfs"
09:49:21.140838 http.c:877              <= Recv header, 0000000029 bytes (0x0000001d)
09:49:21.140838 http.c:889              <= Recv header: WWW-Authenticate: Negotiate
09:49:21.140838 http.c:877              <= Recv header, 0000000024 bytes (0x00000018)
09:49:21.140838 http.c:889              <= Recv header: WWW-Authenticate: NTLM
09:49:21.140838 http.c:877              <= Recv header, 0000000023 bytes (0x00000017)
09:49:21.140838 http.c:889              <= Recv header: X-Powered-By: ASP.NET
09:49:21.140838 http.c:877              <= Recv header, 0000000124 bytes (0x0000007c)
09:49:21.140838 http.c:889              <= Recv header: ...
09:49:21.140838 http.c:877              <= Recv header, 0000000024 bytes (0x00000018)
09:49:21.140838 http.c:889              <= Recv header: Lfs-Authenticate: NTLM
09:49:21.140838 http.c:877              <= Recv header, 0000000033 bytes (0x00000021)
09:49:21.140838 http.c:889              <= Recv header: X-Content-Type-Options: nosniff
09:49:21.140838 http.c:877              <= Recv header, 0000000037 bytes (0x00000025)
09:49:21.140838 http.c:889              <= Recv header: Date: Fri, 13 Mar 2026 08:49:21 GMT
09:49:21.140838 http.c:877              <= Recv header, 0000000023 bytes (0x00000017)
09:49:21.140838 http.c:889              <= Recv header: Content-Length: 20271
09:49:21.140838 http.c:877              <= Recv header, 0000000002 bytes (0x00000002)
09:49:21.141847 http.c:889              <= Recv header:
09:49:21.141847 http.c:930              == Info: Connection #0 to host <redacted>:443 left intact
warning: Due to its cryptographic weaknesses, NTLM authentication has been
disabled in Git by default. You can re-enable it for trusted servers
by running:

git config set http.https://<redacted>.allowNTLMAuth true
fatal: Authentication failed for 'https://<redacted>/tfs/<redacted>/_git/<redacted>/'

Activity

  1. added
    auth-issue
    on Mar 13, 2026
  2. Vikitorony commented on Mar 26, 2026

    @Vikitorony

    Hi,
    I wanted to follow up on this issue and ask if there have been any updates or progress so far.
    I am also experiencing this problem on my side, so I’m quite interested in a potential fix.

    Thank you for your work!

  3. darxis commented on Mar 29, 2026

    @darxis

    Same problem here using Git for Windows 2.53.0.2 and Azure DevOps Server 25H2. I hope it will get fixed in the next release.

    A temporary workaround is to add the following to .gitconfig - just replace <repository-host> with the actual repository host, for example mydomain.com:

    [http "https://<repository-host>"]
    	allowNTLMAuth = true
    
  4. mjcheetham commented on Apr 23, 2026

    @mjcheetham
    Contributor

    Hello all - we are aware of several compounding issues in the NTLM/Kerberos space right now that will be causing this.

    We have a patch out with upstream Git to fix a long standing bug where Git does not try Kerberos authentication when it should: https://lore.kernel.org/git/[email protected]/T/#t

    This fix has been fast-forwarded into Git for Windows so hopefully the next Git release after this should help fix the problem. Watch this space!

  5. added
    platform:windows
    auth:wia
    on Apr 23, 2026
  6. tbolon commented on May 12, 2026

    @tbolon

    Just a follow up. I am not sure the fix in Git for Windows is supposed to be enough, but we just tested using the latest git-for-windows (2.54.0.windows.1) and still can't auth with a Azure DevOps Server with NTLM disabled.

    For now we have re-enabled NTLM.

    Here are the log for a custom IIS website on port 4443:

    > $env:GCM_TRACE=1;$env:GIT_TRACE=1;
    > git --version
    15:20:29.087837 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
    15:20:29.092836 git.c:502               trace: built-in: git version
    git version 2.54.0.windows.1
    > git clone https://xxx.lan:4443/DefaultCollection/Setup/_git Setup2
    15:18:48.523929 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
    15:18:48.528926 git.c:502               trace: built-in: git clone https://xxx.lan:4443/DefaultCollection/Setup/_git Setup2
    Cloning into 'Setup2'...
    15:18:48.537432 run-command.c:673       trace: run_command: git remote-https origin https://xxx.lan:4443/DefaultCollection/Setup/_git
    15:18:48.537432 run-command.c:934       trace: start_command: git remote-https origin https://xxx.lan:4443/DefaultCollection/Setup/_git
    15:18:48.546949 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.548946 git.c:810               trace: exec: git-remote-https origin https://xxx.lan:4443/DefaultCollection/Setup/_git
    15:18:48.548946 run-command.c:673       trace: run_command: git-remote-https origin https://xxx.lan:4443/DefaultCollection/Setup/_git
    15:18:48.548946 run-command.c:934       trace: start_command: git-remote-https origin https://xxx.lan:4443/DefaultCollection/Setup/_git
    15:18:48.558949 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.627034 run-command.c:673       trace: run_command: 'git credential-manager get'
    15:18:48.627034 run-command.c:934       trace: start_command: 'C:/Program Files/Git/usr/bin/sh.exe' -c 'git credential-manager get' 'git credential-manager get'
    15:18:48.659055 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.661056 git.c:810               trace: exec: git-credential-manager get
    15:18:48.661056 run-command.c:673       trace: run_command: git-credential-manager get
    15:18:48.661056 run-command.c:934       trace: start_command: git-credential-manager get
    15:18:48.715433 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.718434 git.c:502               trace: built-in: git config --null --list
    15:18:48.750590 ...\Application.cs:106  trace: [RunInternalAsync] Version: 2.7.3.0
    15:18:48.750590 ...\Application.cs:107  trace: [RunInternalAsync] Runtime: .NET Framework 4.8.9325.0
    15:18:48.750590 ...\Application.cs:108  trace: [RunInternalAsync] Platform: Windows (x86-64)
    15:18:48.751589 ...\Application.cs:109  trace: [RunInternalAsync] OSVersion: 10.0 (build 26200)
    15:18:48.751589 ...\Application.cs:110  trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\bin\git-credential-manager.exe
    15:18:48.751589 ...\Application.cs:111  trace: [RunInternalAsync] InstallDir: C:\Program Files\Git\mingw64\bin\
    15:18:48.751589 ...\Application.cs:112  trace: [RunInternalAsync] Arguments: get
    15:18:48.780165 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'get' command...
    15:18:48.789165 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
    15:18:48.790668 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   capability[]=authtype
    15:18:48.790668 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   capability[]=state
    15:18:48.790668 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   protocol=https
    15:18:48.790668 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   host=xxx.lan:4443
    15:18:48.790668 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   wwwauth=Negotiate oWswaaADCgEBomIEYGBeBgkqhkiG9xIBAgIDAH5PME2gAwIBBaEDAgEepBEYDzIwMjYwNTEyMTMxODQ4WqUFAgMN4rOmAwIBKakKGwhNQjNNLkxBTqoWMBSgAwIBAaENMAsbCWJvbWJhZGlsJA==
    15:18:48.793672 ...oviderRegistry.cs:99 trace: [GetProviderAsync] Host provider override was set id='generic'
    15:18:48.795673 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Generic' was selected.
    15:18:48.798374 ...icHostProvider.cs:71 trace: [GetCredentialAsync] Looking for existing credential in store with service=https://xxx.lan:4443 account=...
    15:18:48.805384 ...icHostProvider.cs:76 trace: [GetCredentialAsync] No existing credentials found.
    15:18:48.805384 ...icHostProvider.cs:79 trace: [GetCredentialAsync] Creating new credential...
    15:18:48.809384 ...ricOAuthConfig.cs:38 trace: [TryGet] Invalid OAuth configuration - missing/invalid authorize endpoint:
    15:18:48.810381 ...cHostProvider.cs:176 trace: [GenerateCredentialAsync] Checking host 'https://xxx.lan:4443/' for Windows Integrated Authentication...
    15:18:48.811380 ...Authentication.cs:90 trace: [GetAuthenticationTypesAsync] HTTP: HEAD https://xxx.lan:4443/
    15:18:48.812382 ...pClientFactory.cs:60 trace: [CreateClient] Creating new HTTP client instance...
    15:18:48.828894 ...pClientFactory.cs:80 trace: [CreateClient] Git's SSL/TLS backend is: Schannel
    15:18:48.837895 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.839894 git.c:502               trace: built-in: git version
    15:18:48.849409 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.851407 git.c:502               trace: built-in: git config --null --type=path http.https://xxx.lan:4443.sslCAInfo
    15:18:48.859917 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.861916 git.c:502               trace: built-in: git config --null --type=path http.xxx.lan:4443.sslCAInfo
    15:18:48.870425 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.871425 git.c:502               trace: built-in: git config --null --type=path http.https://mb3m.lan:4443.sslCAInfo
    15:18:48.880449 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.882449 git.c:502               trace: built-in: git config --null --type=path http.mb3m.lan:4443.sslCAInfo
    15:18:48.893036 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.894038 git.c:502               trace: built-in: git config --null --type=path http.sslCAInfo
    15:18:48.904063 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.906062 git.c:502               trace: built-in: git config --null --type=path http.https://xxx.lan:4443.cookieFile
    15:18:48.914065 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.916065 git.c:502               trace: built-in: git config --null --type=path http.xxx.lan:4443.cookieFile
    15:18:48.924575 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.926573 git.c:502               trace: built-in: git config --null --type=path http.https://mb3m.lan:4443.cookieFile
    15:18:48.935576 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.937576 git.c:502               trace: built-in: git config --null --type=path http.mb3m.lan:4443.cookieFile
    15:18:48.947085 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:48.949085 git.c:502               trace: built-in: git config --null --type=path http.cookieFile
    15:18:49.006380 ...Authentication.cs:93 trace: [GetAuthenticationTypesAsync] HTTP: Response code ignored.
    15:18:49.006380 ...Authentication.cs:95 trace: [GetAuthenticationTypesAsync] Inspecting WWW-Authenticate headers...
    15:18:49.006380 ...uthentication.cs:100 trace: [GetAuthenticationTypesAsync] Found WWW-Authenticate header for Negotiate
    15:18:49.007385 ...cHostProvider.cs:186 trace: [GenerateCredentialAsync] Host supports WIA.
    15:18:49.007385 ...cHostProvider.cs:223 trace: [GenerateCredentialAsync] Returning empty username/password to trigger current user auth with WIA.
    15:18:49.007385 ...\GetCommand.cs:46    trace: [ExecuteInternalAsync] Writing credentials to output:
    15:18:49.007385 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync]   protocol=https
    15:18:49.007385 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync]   host=xxx.lan:4443
    15:18:49.007385 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync]   username=
    15:18:49.007385 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync]   password=********
    15:18:49.008383 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'get' command...
    15:18:49.024213 run-command.c:673       trace: run_command: 'git credential-manager erase'
    15:18:49.024213 run-command.c:934       trace: start_command: 'C:/Program Files/Git/usr/bin/sh.exe' -c 'git credential-manager erase' 'git credential-manager erase'
    15:18:49.053842 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:49.055845 git.c:810               trace: exec: git-credential-manager erase
    15:18:49.055845 run-command.c:673       trace: run_command: git-credential-manager erase
    15:18:49.055845 run-command.c:934       trace: start_command: git-credential-manager erase
    15:18:49.111308 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    15:18:49.114309 git.c:502               trace: built-in: git config --null --list
    15:18:49.149415 ...\Application.cs:106  trace: [RunInternalAsync] Version: 2.7.3.0
    15:18:49.150416 ...\Application.cs:107  trace: [RunInternalAsync] Runtime: .NET Framework 4.8.9325.0
    15:18:49.150416 ...\Application.cs:108  trace: [RunInternalAsync] Platform: Windows (x86-64)
    15:18:49.150416 ...\Application.cs:109  trace: [RunInternalAsync] OSVersion: 10.0 (build 26200)
    15:18:49.150416 ...\Application.cs:110  trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\bin\git-credential-manager.exe
    15:18:49.150416 ...\Application.cs:111  trace: [RunInternalAsync] InstallDir: C:\Program Files\Git\mingw64\bin\
    15:18:49.150416 ...\Application.cs:112  trace: [RunInternalAsync] Arguments: erase
    15:18:49.179971 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'erase' command...
    15:18:49.189975 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
    15:18:49.191975 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   protocol=https
    15:18:49.191975 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   host=xxx.lan:4443
    15:18:49.191975 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   username=
    15:18:49.191975 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   password=********
    15:18:49.191975 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   wwwauth[]=Bearer
    15:18:49.191975 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   wwwauth[]=Basic realm="https://xxx.lan/"
    15:18:49.191975 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   wwwauth[]=Negotiate
    15:18:49.195975 ...oviderRegistry.cs:99 trace: [GetProviderAsync] Host provider override was set id='generic'
    15:18:49.197483 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Generic' was selected.
    15:18:49.198482 ...cHostProvider.cs:117 trace: [EraseCredentialAsync] Erasing stored credential in store with service=https://xxx.lan:4443 account=...
    15:18:49.206571 ...cHostProvider.cs:124 trace: [EraseCredentialAsync] No credential was erased.
    15:18:49.206571 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'erase' command...
    fatal: Authentication failed for 'https://xxx.lan:4443/DefaultCollection/Setup/_git/'
    
  7. outils-tiers-metafactory commented on May 26, 2026

    @outils-tiers-metafactory

    Problem description

    Since upgrading to Git 2.54.0.1, a dialog box appears on every git fetch/push:

    NTLM support in Git has been disabled. Do you wish to re-enable NTLM authentication?

    This dialog does not appear with Git 2.53.0.3.

    Environment

    Git 2.54.0.1
    GCM 2.7.3.0 (.NET Framework 4.8)
    OS Windows 11 (build 26100)
    Server On-premise Azure DevOps (TFS)

    Context

    We do not want to re-enable NTLM. Our on-premise server supports Windows Integrated Authentication via Negotiate/Kerberos, and we have already configured http.https://<host>.emptyAuth=true as documented in GCM NTLM/Kerberos built-in support.

    Observations (from GCM_TRACE with Git 2.54.0.1)

    The credential helper input contains ntlm=suppressed, and the server's WWW-Authenticate headers advertise both Negotiate and NTLM. GCM correctly detects WIA support, yet the warning dialog is still triggered:

    ntlm=suppressed
    wwwauth[]=Bearer
    wwwauth[]=Basic realm="https://<host>/"
    wwwauth[]=Negotiate
    wwwauth[]=NTLM
    ...
    [GenerateCredentialAsync] Host supports WIA.
    [GenerateCredentialAsync] NTLM support has been suppressed by Git - showing warning.
    

    We were unable to reproduce the same trace with Git 2.53.0.3 to compare the two inputs side by side, so we cannot confirm whether ntlm=suppressed is new in 2.54 or was already present.

    Expected behavior

    The warning dialog should only be shown when NTLM is the only available Windows authentication scheme (i.e. Negotiate is absent from WWW-Authenticate). When Negotiate is present alongside NTLM, GCM should silently proceed with Kerberos/Negotiate and suppress the dialog entirely.

    Additional Datas

    If useful, here are the full GCM_TRACE logs :

    17:44:57.973948 ...\Application.cs:106  trace: [RunInternalAsync] Version: 2.7.3.0
    17:44:57.973948 ...\Application.cs:107  trace: [RunInternalAsync] Runtime: .NET Framework 4.8.9324.0
    17:44:57.973948 ...\Application.cs:108  trace: [RunInternalAsync] Platform: Windows (x86-64)
    17:44:57.973948 ...\Application.cs:109  trace: [RunInternalAsync] OSVersion: 10.0 (build 26100)
    17:44:57.973948 ...\Application.cs:110  trace: [RunInternalAsync] AppPath: D:\Utils\Git\2.54.0.1\mingw64\bin\git-credential-manager.exe
    17:44:57.973948 ...\Application.cs:111  trace: [RunInternalAsync] InstallDir: D:\Utils\Git\2.54.0.1\mingw64\bin\
    17:44:57.973948 ...\Application.cs:112  trace: [RunInternalAsync] Arguments: get
    17:44:58.015951 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'get' command...
    17:44:58.031844 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
    17:44:58.033380 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	capability[]=authtype
    17:44:58.033380 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	capability[]=state
    17:44:58.033380 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	ntlm=suppressed
    17:44:58.033380 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	protocol=https
    17:44:58.033380 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	host=<ado_onprem_url>
    17:44:58.033380 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Bearer
    17:44:58.033380 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Basic realm="https://<ado_onprem_url>/"
    17:44:58.033380 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Negotiate
    17:44:58.033380 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=NTLM
    17:44:58.040548 ...oviderRegistry.cs:99 trace: [GetProviderAsync] Host provider override was set id='generic'
    17:44:58.042592 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Generic' was selected.
    17:44:58.046178 ...icHostProvider.cs:71 trace: [GetCredentialAsync] Looking for existing credential in store with service=https://<ado_onprem_url> account=...
    17:44:58.054373 ...icHostProvider.cs:76 trace: [GetCredentialAsync] No existing credentials found.
    17:44:58.054373 ...icHostProvider.cs:79 trace: [GetCredentialAsync] Creating new credential...
    17:44:58.062564 ...ricOAuthConfig.cs:38 trace: [TryGet] Invalid OAuth configuration - missing/invalid authorize endpoint: 
    17:44:58.064096 ...cHostProvider.cs:176 trace: [GenerateCredentialAsync] Checking host 'https://<ado_onprem_url>/' for Windows Integrated Authentication...
    17:44:58.066142 ...Authentication.cs:90 trace: [GetAuthenticationTypesAsync] HTTP: HEAD https://<ado_onprem_url>/
    17:44:58.068192 ...pClientFactory.cs:60 trace: [CreateClient] Creating new HTTP client instance...
    17:44:58.073823 ...ClientFactory.cs:323 trace: [TryCreateProxy] Created a WebProxy instance:
    17:44:58.073823 ...ClientFactory.cs:324 trace: [TryCreateProxy] 	address=http://127.0.0.1:9000/
    17:44:58.073823 ...ClientFactory.cs:324 trace: [TryCreateProxy] 	useDefaultCredentials=true
    17:44:58.073823 ...ClientFactory.cs:324 trace: [TryCreateProxy] 	noProxy=localhost,127.0.0.1,corp.local
    17:44:58.073823 ...ClientFactory.cs:324 trace: [TryCreateProxy] 	bypass=(\.|\:\/\/)localhost$,(\.|\:\/\/)127\.0\.0\.1$,(\.|\:\/\/)corp\.local$
    17:44:58.073823 ...pClientFactory.cs:66 trace: [CreateClient] HTTP client is using the configured proxy.
    17:44:58.095869 ...pClientFactory.cs:80 trace: [CreateClient] Git's SSL/TLS backend is: OpenSsl
    17:44:59.773817 ...Authentication.cs:93 trace: [GetAuthenticationTypesAsync] HTTP: Response code ignored.
    17:44:59.773817 ...Authentication.cs:95 trace: [GetAuthenticationTypesAsync] Inspecting WWW-Authenticate headers...
    17:44:59.773817 ...uthentication.cs:100 trace: [GetAuthenticationTypesAsync] Found WWW-Authenticate header for Negotiate
    17:44:59.773817 ...uthentication.cs:105 trace: [GetAuthenticationTypesAsync] Found WWW-Authenticate header for NTLM
    17:44:59.773817 ...cHostProvider.cs:186 trace: [GenerateCredentialAsync] Host supports WIA.
    17:44:59.773817 ...cHostProvider.cs:194 trace: [GenerateCredentialAsync] NTLM support has been suppressed by Git - showing warning.
    
  8. mjcheetham commented on Jul 1, 2026

    @mjcheetham
    Contributor

    Hello all, thanks for sharing logs and sorry for the issues you are still having.

    @tbolon, please could you also share the GIT_TRACE_CURL=1 logs along side the GIT_TRACE and GCM_TRACE environment variables? I don't think this is an issue with GCM per-se.. Git is advertising ntlm=suppressed which is our trigger to show the warning.

    If the remote is advertising Negotiate/Kerberos as well as NTLM, it should be attempting Kerberos first and never call GCM. If Git calls GCM it means Kerberos was either not tried (the bug that should have been fixed) or failed for some reason, and NTLM is acting as the fallback is being attempted.

    @outils-tiers-metafactory from your trace I can see that GCM is being told by Git for Windows that NTLM is suppressed:

    17:44:58.033380 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	ntlm=suppressed
    

    We should only get that signal if Git is left with NTLM as the only remaining option vs first trying and failing to use Kerberos. Are you also able to provide details GIT_TRACE_CURL=1 logs alongside GIT_TRACE and GCM_TRACE please?

  9. rm-code commented on Jul 1, 2026

    @rm-code
    Author

    @mjcheetham

    Log Output

    GCM_TRACE=1 GIT_TRACE=1 git clone <redacted> > log.txt
    
    11:51:32.865531 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
    11:51:32.874264 git.c:502               trace: built-in: git clone '<redacted>'
    Cloning into '<redacted>'...
    11:51:32.912062 run-command.c:674       trace: run_command: git remote-https origin '<redacted>'
    11:51:32.912062 run-command.c:946       trace: start_command: git remote-https origin '<redacted>'
    11:51:32.937237 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:51:32.942439 git.c:812               trace: exec: git-remote-https origin '<redacted>'
    11:51:32.942439 run-command.c:674       trace: run_command: git-remote-https origin '<redacted>'
    11:51:32.942439 run-command.c:946       trace: start_command: git-remote-https origin '<redacted>'
    11:51:32.967587 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:51:33.909056 run-command.c:674       trace: run_command: 'git credential-manager get'
    11:51:33.909056 run-command.c:946       trace: start_command: 'C:/Program Files/Git/usr/bin/sh.exe' -c 'git credential-manager get' 'git credential-manager get'
    11:51:34.143393 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:51:34.148959 git.c:812               trace: exec: git-credential-manager get
    11:51:34.148959 run-command.c:674       trace: run_command: git-credential-manager get
    11:51:34.148959 run-command.c:946       trace: start_command: git-credential-manager get
    11:51:34.262773 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:51:34.271875 git.c:502               trace: built-in: git version
    11:51:34.307321 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:51:34.322185 git.c:502               trace: built-in: git config list --show-scope -z --no-type
    11:51:34.393406 ...\Application.cs:106  trace: [RunInternalAsync] Version: 2.8.0.0
    11:51:34.394418 ...\Application.cs:107  trace: [RunInternalAsync] Runtime: .NET Framework 4.8.9324.0
    11:51:34.394418 ...\Application.cs:108  trace: [RunInternalAsync] Platform: Windows (x86-64)
    11:51:34.394418 ...\Application.cs:109  trace: [RunInternalAsync] OSVersion: 10.0 (build 26100)
    11:51:34.394418 ...\Application.cs:110  trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\bin\git-credential-manager.exe
    11:51:34.394418 ...\Application.cs:111  trace: [RunInternalAsync] InstallDir: C:\Program Files\Git\mingw64\bin\
    11:51:34.394418 ...\Application.cs:112  trace: [RunInternalAsync] Arguments: get
    11:51:34.442789 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'get' command...
    11:51:34.458260 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
    11:51:34.460420 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	capability[]=authtype
    11:51:34.460420 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	capability[]=state
    11:51:34.460420 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	protocol=https
    11:51:34.460420 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	host=<redacted>
    11:51:34.460420 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth=Negotiate <redacted>
    11:51:34.465554 ...oviderRegistry.cs:99 trace: [GetProviderAsync] Host provider override was set id='generic'
    11:51:34.468916 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Generic' was selected.
    11:51:34.473915 ...icHostProvider.cs:71 trace: [GetCredentialAsync] Looking for existing credential in store with service=<redacted> account=...
    11:51:34.480372 ...icHostProvider.cs:76 trace: [GetCredentialAsync] No existing credentials found.
    11:51:34.480372 ...icHostProvider.cs:79 trace: [GetCredentialAsync] Creating new credential...
    11:51:34.490130 ...ricOAuthConfig.cs:38 trace: [TryGet] Invalid OAuth configuration - missing/invalid authorize endpoint: 
    11:51:34.490130 ...cHostProvider.cs:176 trace: [GenerateCredentialAsync] Checking host '<redacted>/' for Windows Integrated Authentication...
    11:51:34.492139 ...Authentication.cs:90 trace: [GetAuthenticationTypesAsync] HTTP: HEAD <redacted>/
    11:51:34.495138 ...pClientFactory.cs:60 trace: [CreateClient] Creating new HTTP client instance...
    11:51:34.520452 ...pClientFactory.cs:80 trace: [CreateClient] Git's SSL/TLS backend is: Schannel
    11:51:34.537926 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:51:34.546022 git.c:502               trace: built-in: git config list --show-scope -z --type=path
    11:51:34.566055 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:51:34.575064 git.c:502               trace: built-in: git config list --show-scope -z --type=path
    11:51:34.723717 ...Authentication.cs:93 trace: [GetAuthenticationTypesAsync] HTTP: Response code ignored.
    11:51:34.723717 ...Authentication.cs:95 trace: [GetAuthenticationTypesAsync] Inspecting WWW-Authenticate headers...
    11:51:34.731030 ...cHostProvider.cs:182 trace: [GenerateCredentialAsync] Host does not support WIA.
    11:51:34.731030 ...cHostProvider.cs:243 trace: [GenerateCredentialAsync] Prompting for basic credentials...
    11:51:34.748592 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:51:34.756601 git.c:502               trace: built-in: git config list --show-scope -z --type=path
    11:51:38.350856 ...\GetCommand.cs:46    trace: [ExecuteInternalAsync] Writing credentials to output:
    11:51:38.350856 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	protocol=https
    11:51:38.350856 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	host=<redacted>
    11:51:38.350856 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	username=
    11:51:38.350856 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	password=********
    11:51:38.350856 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'get' command...
    11:51:38.492833 run-command.c:674       trace: run_command: 'git credential-manager erase'
    11:51:38.493830 run-command.c:946       trace: start_command: 'C:/Program Files/Git/usr/bin/sh.exe' -c 'git credential-manager erase' 'git credential-manager erase'
    11:51:38.723877 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:51:38.732898 git.c:812               trace: exec: git-credential-manager erase
    11:51:38.732898 run-command.c:674       trace: run_command: git-credential-manager erase
    11:51:38.732898 run-command.c:946       trace: start_command: git-credential-manager erase
    11:51:38.832477 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:51:38.840482 git.c:502               trace: built-in: git version
    11:51:38.865607 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:51:38.875778 git.c:502               trace: built-in: git config list --show-scope -z --no-type
    11:51:38.933080 ...\Application.cs:106  trace: [RunInternalAsync] Version: 2.8.0.0
    11:51:38.933080 ...\Application.cs:107  trace: [RunInternalAsync] Runtime: .NET Framework 4.8.9324.0
    11:51:38.933080 ...\Application.cs:108  trace: [RunInternalAsync] Platform: Windows (x86-64)
    11:51:38.933080 ...\Application.cs:109  trace: [RunInternalAsync] OSVersion: 10.0 (build 26100)
    11:51:38.933080 ...\Application.cs:110  trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\bin\git-credential-manager.exe
    11:51:38.933080 ...\Application.cs:111  trace: [RunInternalAsync] InstallDir: C:\Program Files\Git\mingw64\bin\
    11:51:38.933080 ...\Application.cs:112  trace: [RunInternalAsync] Arguments: erase
    11:51:38.977360 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'erase' command...
    11:51:38.990830 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
    11:51:38.993088 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	protocol=https
    11:51:38.993088 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	host=<redacted>
    11:51:38.993088 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	username=
    11:51:38.993088 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	password=********
    11:51:38.993088 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Bearer
    11:51:38.993088 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Basic realm="<redacted>/tfs"
    11:51:38.993088 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Negotiate
    11:51:38.993088 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=NTLM
    11:51:38.998392 ...oviderRegistry.cs:99 trace: [GetProviderAsync] Host provider override was set id='generic'
    11:51:39.002007 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Generic' was selected.
    11:51:39.002007 ...cHostProvider.cs:117 trace: [EraseCredentialAsync] Erasing stored credential in store with service=<redacted> account=...
    11:51:39.010687 ...cHostProvider.cs:124 trace: [EraseCredentialAsync] No credential was erased.
    11:51:39.010687 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'erase' command...
    fatal: Authentication failed for '<redacted>/'
    

    .gitconfig

    [user]
    	name = <redacted>
    	email = <redacted>
    [http]
    	emptyAuth = auto
    	sslVerify = true
    	sslBackend = schannel
    	noProxy = <redacted>
    
    [https]
    	emptyAuth = auto
    	noProxy = <redacted>
    
    [fetch]
    	prune = false
    	
    [init]
    	defaultBranch = main
    [credential "<redacted>"]
    	provider = generic
    

    The interesting part is, that gcm says 11:51:34.731030 ...cHostProvider.cs:182 trace: [GenerateCredentialAsync] Host does not support WIA., but when I curl the same URL I get a kerberos header back in the response:

    < WWW-Authenticate: Bearer
    < WWW-Authenticate: Basic realm="***"
    < WWW-Authenticate: Negotiate
    < WWW-Authenticate: NTLM
    

    EDIT:
    The other interesting part is that we had used the allowNTLM workaround, which seems to have broken with the 2.55.0 update.

  10. rm-code commented on Jul 1, 2026

    @rm-code
    Author

    Is it possible that the issue here is, that our azure devops server ist hosted at

    https://example.com/tfs

    but GCM tests against

    https://example.com

    when checking for WIA?

  11. mjcheetham commented on Jul 1, 2026

    @mjcheetham
    Contributor

    Is it possible that the issue here is, that our azure devops server ist hosted at

    https://example.com/tfs

    but GCM tests against

    https://example.com

    when checking for WIA?

    This is entirely possible thinking about it. Can you set git config --global credential.https://example.com.useHttpPath true to ensure that Git provides GCM with the full URL to the repo? By default Git only provides credential helpers with the protocol+hostname.

  12. rm-code commented on Jul 1, 2026

    @rm-code
    Author

    Ok, some progress: Host supports WIA. But ultimately the authentication still fails. I'm also not prompted for basic credentials anymore.

    Update gitconfig:

    [credential "https://<redacted>"]
    	provider = generic
    	useHttpPath = true
    

    New log

    12:29:18.391570 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
    12:29:18.401950 git.c:502               trace: built-in: git clone '<redacted>'
    Cloning into '<redacted>'...
    12:29:18.447574 run-command.c:674       trace: run_command: git remote-https origin '<redacted>'
    12:29:18.447574 run-command.c:946       trace: start_command: git remote-https origin '<redacted>'
    12:29:18.477150 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    12:29:18.488955 git.c:812               trace: exec: git-remote-https origin '<redacted>'
    12:29:18.488955 run-command.c:674       trace: run_command: git-remote-https origin '<redacted>'
    12:29:18.488955 run-command.c:946       trace: start_command: git-remote-https origin '<redacted>'
    12:29:18.523004 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    12:29:19.534752 run-command.c:674       trace: run_command: 'git credential-manager get'
    12:29:19.535752 run-command.c:946       trace: start_command: 'C:/Program Files/Git/usr/bin/sh.exe' -c 'git credential-manager get' 'git credential-manager get'
    12:29:19.778580 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    12:29:19.794050 git.c:812               trace: exec: git-credential-manager get
    12:29:19.794050 run-command.c:674       trace: run_command: git-credential-manager get
    12:29:19.794050 run-command.c:946       trace: start_command: git-credential-manager get
    12:29:19.938956 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    12:29:19.948878 git.c:502               trace: built-in: git version
    12:29:19.979220 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    12:29:19.991076 git.c:502               trace: built-in: git config list --show-scope -z --no-type
    12:29:20.057045 ...\Application.cs:106  trace: [RunInternalAsync] Version: 2.8.0.0
    12:29:20.057045 ...\Application.cs:107  trace: [RunInternalAsync] Runtime: .NET Framework 4.8.9324.0
    12:29:20.057045 ...\Application.cs:108  trace: [RunInternalAsync] Platform: Windows (x86-64)
    12:29:20.058044 ...\Application.cs:109  trace: [RunInternalAsync] OSVersion: 10.0 (build 26100)
    12:29:20.058044 ...\Application.cs:110  trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\bin\git-credential-manager.exe
    12:29:20.058044 ...\Application.cs:111  trace: [RunInternalAsync] InstallDir: C:\Program Files\Git\mingw64\bin\
    12:29:20.058044 ...\Application.cs:112  trace: [RunInternalAsync] Arguments: get
    12:29:20.105741 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'get' command...
    12:29:20.126463 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
    12:29:20.128984 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	capability[]=authtype
    12:29:20.128984 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	capability[]=state
    12:29:20.128984 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	protocol=https
    12:29:20.128984 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	host=<redacted>
    12:29:20.128984 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	path=tfs/<redacted>
    12:29:20.128984 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth=Negotiate <redacted>
    12:29:20.136065 ...oviderRegistry.cs:99 trace: [GetProviderAsync] Host provider override was set id='generic'
    12:29:20.139585 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Generic' was selected.
    12:29:20.142585 ...icHostProvider.cs:71 trace: [GetCredentialAsync] Looking for existing credential in store with service=<redacted> account=...
    12:29:20.150629 ...icHostProvider.cs:76 trace: [GetCredentialAsync] No existing credentials found.
    12:29:20.150629 ...icHostProvider.cs:79 trace: [GetCredentialAsync] Creating new credential...
    12:29:20.158687 ...ricOAuthConfig.cs:38 trace: [TryGet] Invalid OAuth configuration - missing/invalid authorize endpoint: 
    12:29:20.159688 ...cHostProvider.cs:176 trace: [GenerateCredentialAsync] Checking host '<redacted>' for Windows Integrated Authentication...
    12:29:20.162420 ...Authentication.cs:90 trace: [GetAuthenticationTypesAsync] HTTP: HEAD <redacted>/tfs/<redacted>
    12:29:20.165963 ...pClientFactory.cs:60 trace: [CreateClient] Creating new HTTP client instance...
    12:29:20.187107 ...pClientFactory.cs:80 trace: [CreateClient] Git's SSL/TLS backend is: Schannel
    12:29:20.207879 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    12:29:20.217407 git.c:502               trace: built-in: git config list --show-scope -z --type=path
    12:29:20.239113 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    12:29:20.250135 git.c:502               trace: built-in: git config list --show-scope -z --type=path
    12:29:20.402105 ...Authentication.cs:93 trace: [GetAuthenticationTypesAsync] HTTP: Response code ignored.
    12:29:20.402105 ...Authentication.cs:95 trace: [GetAuthenticationTypesAsync] Inspecting WWW-Authenticate headers...
    12:29:20.402105 ...uthentication.cs:100 trace: [GetAuthenticationTypesAsync] Found WWW-Authenticate header for Negotiate
    12:29:20.402105 ...uthentication.cs:105 trace: [GetAuthenticationTypesAsync] Found WWW-Authenticate header for NTLM
    12:29:20.403610 ...cHostProvider.cs:186 trace: [GenerateCredentialAsync] Host supports WIA.
    12:29:20.403610 ...cHostProvider.cs:223 trace: [GenerateCredentialAsync] Returning empty username/password to trigger current user auth with WIA.
    12:29:20.403610 ...\GetCommand.cs:46    trace: [ExecuteInternalAsync] Writing credentials to output:
    12:29:20.403610 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	protocol=https
    12:29:20.403610 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	host=<redacted>
    12:29:20.403610 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	path=tfs/<redacted>
    12:29:20.403610 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	username=
    12:29:20.403610 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync] 	password=********
    12:29:20.403610 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'get' command...
    12:29:20.460768 run-command.c:674       trace: run_command: 'git credential-manager erase'
    12:29:20.460768 run-command.c:946       trace: start_command: 'C:/Program Files/Git/usr/bin/sh.exe' -c 'git credential-manager erase' 'git credential-manager erase'
    12:29:20.685821 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    12:29:20.696052 git.c:812               trace: exec: git-credential-manager erase
    12:29:20.696052 run-command.c:674       trace: run_command: git-credential-manager erase
    12:29:20.696052 run-command.c:946       trace: start_command: git-credential-manager erase
    12:29:20.807863 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    12:29:20.815907 git.c:502               trace: built-in: git version
    12:29:20.841021 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    12:29:20.850593 git.c:502               trace: built-in: git config list --show-scope -z --no-type
    12:29:20.911556 ...\Application.cs:106  trace: [RunInternalAsync] Version: 2.8.0.0
    12:29:20.911556 ...\Application.cs:107  trace: [RunInternalAsync] Runtime: .NET Framework 4.8.9324.0
    12:29:20.911556 ...\Application.cs:108  trace: [RunInternalAsync] Platform: Windows (x86-64)
    12:29:20.911556 ...\Application.cs:109  trace: [RunInternalAsync] OSVersion: 10.0 (build 26100)
    12:29:20.911556 ...\Application.cs:110  trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\bin\git-credential-manager.exe
    12:29:20.911556 ...\Application.cs:111  trace: [RunInternalAsync] InstallDir: C:\Program Files\Git\mingw64\bin\
    12:29:20.911556 ...\Application.cs:112  trace: [RunInternalAsync] Arguments: erase
    12:29:20.959103 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'erase' command...
    12:29:20.980894 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
    12:29:20.982893 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	protocol=https
    12:29:20.982893 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	host=<redacted>
    12:29:20.982893 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	path=tfs/<redacted>
    12:29:20.982893 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	username=
    12:29:20.982893 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	password=********
    12:29:20.982893 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Bearer
    12:29:20.982893 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Basic realm="<redacted>/tfs"
    12:29:20.982893 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=Negotiate
    12:29:20.982893 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	wwwauth[]=NTLM
    12:29:20.989960 ...oviderRegistry.cs:99 trace: [GetProviderAsync] Host provider override was set id='generic'
    12:29:20.993991 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Generic' was selected.
    12:29:20.993991 ...cHostProvider.cs:117 trace: [EraseCredentialAsync] Erasing stored credential in store with service=<redacted> account=...
    12:29:21.003921 ...cHostProvider.cs:124 trace: [EraseCredentialAsync] No credential was erased.
    12:29:21.003921 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'erase' command...
    fatal: Authentication failed for '<redacted>/'
    

    In the verbose output I'm seeing (let me know if you need anything else from the verbose output ... I didn't want to post all of it here):

    12:53:35.396439 http.c:1033             == Info: InitializeSecurityContext failed: SEC_E_WRONG_PRINCIPAL (0x80090322) - Der Zielprinzipalname ist falsch.
    
  13. mjcheetham commented on Jul 1, 2026

    @mjcheetham
    Contributor

    Yes, some progress at least!

    12:29:20.403610 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'get' command...
    12:29:20.460768 run-command.c:674       trace: run_command: 'git credential-manager erase'
    

    We are missing the CURL logs between these two lines in the Git+GCM logs. This will give us a clue as to what is happening on the wire after GCM tells Git to proceed using Negotiate and/or NTLM (WIA).

    Can you make sure all of the following envars are set:

    GCM_TRACE=1
    GIT_TRACE=1
    GIT_TRACE_CURL=1
    

    Specifically I'm looking for libcurl emitting Info: messages about which auth scheme it is trying to use, an which user it is attempting to use tickets/creds for.

  14. mjcheetham commented on Jul 1, 2026

    @mjcheetham
    Contributor

    Aside, it looks like there was an issue with Git for Windows accidentally missing NTLM support altogether in their builds since the latest Curl made it explicitly opt-in at compile time.

    git-for-windows/MINGW-packages#208

    The trace logs will help diagnose this too, hopefully. Since SPNEGO + Kerberos are still included, so if auth is failing for you then looks like you were relying on NTLM and not Kerb.

  15. rm-code commented on Jul 1, 2026

    @rm-code
    Author

    Aside, it looks like there was an issue with Git for Windows accidentally missing NTLM support altogether in their builds since the latest Curl made it explicitly opt-in at compile time.

    git-for-windows/MINGW-packages#208

    The trace logs will help diagnose this too, hopefully. Since SPNEGO + Kerberos are still included, so if auth is failing for you then looks like you were relying on NTLM and not Kerb.

    Ok this would explain, why the allowNTLM workaround also stopped working with the new update I suppose?

    Yes, some progress at least!

    12:29:20.403610 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'get' command...
    12:29:20.460768 run-command.c:674       trace: run_command: 'git credential-manager erase'
    

    We are missing the CURL logs between these two lines in the Git+GCM logs. This will give us a clue as to what is happening on the wire after GCM tells Git to proceed using Negotiate and/or NTLM (WIA).

    Can you make sure all of the following envars are set:

    GCM_TRACE=1
    GIT_TRACE=1
    GIT_TRACE_CURL=1
    

    Specifically I'm looking for libcurl emitting Info: messages about which auth scheme it is trying to use, an which user it is attempting to use tickets/creds for.

    At this point I think it might be something on our end. useHttpPath was the missing puzzle piece for the Kerberos auth... but the ticket wasn't valid (SEC_E_WRONG_PRINCIPAL). I've forwarded it to our admins.

  16. outils-tiers-metafactory commented on Jul 1, 2026

    @outils-tiers-metafactory

    Hello,

    I made a try with 2.55.0 with no more success.
    In curl trace, I can notice the following differences :

    • In 2.54 and 2.55, presence of the log Could not find host <server> in the .netrc file; using defaults
    • In 2.54 and 2.55, after the first call to server InitializeSecurityContext failed: SEC_E_NO_CREDENTIALS (0x8009030e) - No credentials are available in the security package
    • In 2.53, at the second call to server, presence of the Authorization header Send header: Authorization: Negotiate <redacted> (needed for Kerberos...) - the authentication succeeded at this point

    Here is the complete Curl trace for 2.54 :

    15:12:06.837947 http.c:1033             == Info: Could not find host <server> in the .netrc file; using defaults
    15:12:06.847638 http.c:1033             == Info: Host <server>:443 was resolved.
    15:12:06.847638 http.c:1033             == Info: IPv6: (none)
    15:12:06.847638 http.c:1033             == Info: IPv4: <ip_server>
    15:12:06.847638 http.c:1033             == Info:   Trying <ip_server>:443...
    15:12:06.849683 http.c:1033             == Info: schannel: disabled automatic use of client certificate
    15:12:06.851729 http.c:1033             == Info: ALPN: curl offers http/1.1
    15:12:06.863497 http.c:1033             == Info: ALPN: server accepted http/1.1
    15:12:06.863497 http.c:1033             == Info: Established connection to <server> (<ip_server> port 443) from <ip_client port 57806 
    15:12:06.863497 http.c:1033             == Info: using HTTP/1.x
    15:12:06.863497 http.c:980              => Send header, 0000000244 bytes (0x000000f4)
    15:12:06.863497 http.c:992              => Send header: GET /<collection>/<project>/_git/<repo>/info/refs?service=git-upload-pack HTTP/1.1
    15:12:06.863497 http.c:992              => Send header: Host: <server>
    15:12:06.863497 http.c:992              => Send header: User-Agent: git/2.55.0.windows.1
    15:12:06.863497 http.c:992              => Send header: Accept: */*
    15:12:06.863497 http.c:992              => Send header: Accept-Encoding: deflate, gzip, br, zstd
    15:12:06.863497 http.c:992              => Send header: Pragma: no-cache
    15:12:06.863497 http.c:992              => Send header: Git-Protocol: version=2
    15:12:06.863497 http.c:992              => Send header:
    15:12:06.863497 http.c:1033             == Info: Request completely sent off
    15:12:06.863497 http.c:1033             == Info: schannel: remote party requests renegotiation
    15:12:06.863497 http.c:1033             == Info: schannel: renegotiating SSL/TLS connection
    15:12:06.863497 http.c:1033             == Info: schannel: SSL/TLS connection renegotiated
    15:12:06.869632 http.c:980              <= Recv header, 0000000027 bytes (0x0000001b)
    15:12:06.869632 http.c:992              <= Recv header: HTTP/1.1 401 Unauthorized
    15:12:06.869632 http.c:980              <= Recv header, 0000000040 bytes (0x00000028)
    15:12:06.869632 http.c:992              <= Recv header: Content-Type: text/html; charset=utf-8
    15:12:06.869632 http.c:980              <= Recv header, 0000000055 bytes (0x00000037)
    15:12:06.869632 http.c:992              <= Recv header: X-TFS-ProcessId: 61e8003d-7dcb-4c43-a453-8dc6c28b121c
    15:12:06.869632 http.c:980              <= Recv header, 0000000064 bytes (0x00000040)
    15:12:06.869632 http.c:992              <= Recv header: Strict-Transport-Security: max-age=31536000; includeSubDomains
    15:12:06.869632 http.c:980              <= Recv header, 0000000050 bytes (0x00000032)
    15:12:06.869632 http.c:992              <= Recv header: ActivityId: 465c3252-6ec3-45fd-80ee-3713a295f7ee
    15:12:06.869632 http.c:980              <= Recv header, 0000000053 bytes (0x00000035)
    15:12:06.869632 http.c:992              <= Recv header: X-TFS-Session: 465c3252-6ec3-45fd-80ee-3713a295f7ee
    15:12:06.869632 http.c:980              <= Recv header, 0000000051 bytes (0x00000033)
    15:12:06.869632 http.c:992              <= Recv header: X-VSS-E2EID: 465c3252-6ec3-45fd-80ee-3713a295f7ee
    15:12:06.869632 http.c:980              <= Recv header, 0000000064 bytes (0x00000040)
    15:12:06.869632 http.c:992              <= Recv header: X-VSS-SenderDeploymentId: 65bd2671-7b83-45fd-9e1c-02eb035aa002
    15:12:06.869632 http.c:980              <= Recv header, 0000000690 bytes (0x000002b2)
    15:12:06.869632 http.c:992              <= Recv header: X-TFS-SoapException: %3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csoap%3AEnvelope%20xmlns%3Asoap%3D%22http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelope%22%3E%3Csoap%3ABody%3E%3Csoap%3AFault%3E%3Csoap%3ACode%3E%3Csoap%3AValue%3Esoap%3AReceiver%3C%2Fsoap%3AValue%3E%3Csoap%3ASubcode%3E%3Csoap%3AValue%3EUnauthorizedRequestException%3C%2Fsoap%3AValue%3E%3C%2Fsoap%3ASubcode%3E%3C%2Fsoap%3ACode%3E%3Csoap%3AReason%3E%3Csoap%3AText%20xml%3Alang%3D%22en%22%3ETF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.%3C%2Fsoap%3AText%3E%3C%2Fsoap%3AReason%3E%3C%2Fsoap%3AFault%3E%3C%2Fsoap%3ABody%3E%3C%2Fsoap%3AEnvelope%3E
    15:12:06.869632 http.c:980              <= Recv header, 0000000128 bytes (0x00000080)
    15:12:06.869632 http.c:992              <= Recv header: X-TFS-ServiceError: TF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.
    15:12:06.869632 http.c:980              <= Recv header, 0000000026 bytes (0x0000001a)
    15:12:06.869632 http.c:992              <= Recv header: WWW-Authenticate: Bearer
    15:12:06.869632 http.c:980              <= Recv header, 0000000070 bytes (0x00000046)
    15:12:06.869632 http.c:992              <= Recv header: WWW-Authenticate: Basic realm="https://<server>/"
    15:12:06.869632 http.c:980              <= Recv header, 0000000029 bytes (0x0000001d)
    15:12:06.869632 http.c:992              <= Recv header: WWW-Authenticate: Negotiate
    15:12:06.869632 http.c:980              <= Recv header, 0000000024 bytes (0x00000018)
    15:12:06.869632 http.c:992              <= Recv header: WWW-Authenticate: NTLM
    15:12:06.869632 http.c:980              <= Recv header, 0000000023 bytes (0x00000017)
    15:12:06.869632 http.c:992              <= Recv header: X-Powered-By: ASP.NET
    15:12:06.869632 http.c:980              <= Recv header, 0000000124 bytes (0x0000007c)
    15:12:06.869632 http.c:992              <= Recv header: P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
    15:12:06.869632 http.c:980              <= Recv header, 0000000024 bytes (0x00000018)
    15:12:06.869632 http.c:992              <= Recv header: Lfs-Authenticate: NTLM
    15:12:06.869632 http.c:980              <= Recv header, 0000000033 bytes (0x00000021)
    15:12:06.869632 http.c:992              <= Recv header: X-Content-Type-Options: nosniff
    15:12:06.869632 http.c:980              <= Recv header, 0000000037 bytes (0x00000025)
    15:12:06.869632 http.c:992              <= Recv header: Date: Wed, 01 Jul 2026 13:12:06 GMT
    15:12:06.869632 http.c:980              <= Recv header, 0000000023 bytes (0x00000017)
    15:12:06.869632 http.c:992              <= Recv header: Content-Length: 20102
    15:12:06.869632 http.c:1033             == Info: Ignoring the response-body
    15:12:06.869632 http.c:1033             == Info: setting size while ignoring
    15:12:06.869632 http.c:980              <= Recv header, 0000000002 bytes (0x00000002)
    15:12:06.869632 http.c:992              <= Recv header:
    15:12:06.869632 http.c:1033             == Info: Connection #0 to host <server>:443 left intact
    15:12:06.869632 http.c:1033             == Info: Issue another request to this URL: 'https://<server>/<collection>/<project>/_git/<repo>/info/refs?service=git-upload-pack'
    15:12:06.869632 http.c:1033             == Info: Could not find host <server> in the .netrc file; using defaults
    15:12:06.869632 http.c:1033             == Info: Reusing existing https: connection with host <server>
    15:12:06.887556 http.c:1033             == Info: InitializeSecurityContext failed: SEC_E_NO_CREDENTIALS (0x8009030e) - No credentials are available in the security package
    15:12:06.887556 http.c:1033             == Info: Server auth using Negotiate with user ''
    15:12:06.887556 http.c:980              => Send header, 0000000244 bytes (0x000000f4)
    15:12:06.887556 http.c:992              => Send header: GET /<collection>/<project>/_git/<repo>/info/refs?service=git-upload-pack HTTP/1.1
    15:12:06.887556 http.c:992              => Send header: Host: <server>
    15:12:06.887556 http.c:992              => Send header: User-Agent: git/2.55.0.windows.1
    15:12:06.887556 http.c:992              => Send header: Accept: */*
    15:12:06.887556 http.c:992              => Send header: Accept-Encoding: deflate, gzip, br, zstd
    15:12:06.887556 http.c:992              => Send header: Pragma: no-cache
    15:12:06.887556 http.c:992              => Send header: Git-Protocol: version=2
    15:12:06.887556 http.c:992              => Send header:
    15:12:06.887556 http.c:1033             == Info: Request completely sent off
    15:12:06.891655 http.c:980              <= Recv header, 0000000027 bytes (0x0000001b)
    15:12:06.891655 http.c:992              <= Recv header: HTTP/1.1 401 Unauthorized
    15:12:06.891655 http.c:980              <= Recv header, 0000000040 bytes (0x00000028)
    15:12:06.891655 http.c:992              <= Recv header: Content-Type: text/html; charset=utf-8
    15:12:06.891655 http.c:980              <= Recv header, 0000000055 bytes (0x00000037)
    15:12:06.891655 http.c:992              <= Recv header: X-TFS-ProcessId: 61e8003d-7dcb-4c43-a453-8dc6c28b121c
    15:12:06.891655 http.c:980              <= Recv header, 0000000064 bytes (0x00000040)
    15:12:06.891655 http.c:992              <= Recv header: Strict-Transport-Security: max-age=31536000; includeSubDomains
    15:12:06.891655 http.c:980              <= Recv header, 0000000050 bytes (0x00000032)
    15:12:06.891655 http.c:992              <= Recv header: ActivityId: 465c3254-6ec3-45fd-80ee-3713a295f7ee
    15:12:06.891655 http.c:980              <= Recv header, 0000000053 bytes (0x00000035)
    15:12:06.891655 http.c:992              <= Recv header: X-TFS-Session: 465c3254-6ec3-45fd-80ee-3713a295f7ee
    15:12:06.891655 http.c:980              <= Recv header, 0000000051 bytes (0x00000033)
    15:12:06.891655 http.c:992              <= Recv header: X-VSS-E2EID: 465c3254-6ec3-45fd-80ee-3713a295f7ee
    15:12:06.891655 http.c:980              <= Recv header, 0000000064 bytes (0x00000040)
    15:12:06.891655 http.c:992              <= Recv header: X-VSS-SenderDeploymentId: 65bd2671-7b83-45fd-9e1c-02eb035aa002
    15:12:06.891655 http.c:980              <= Recv header, 0000000690 bytes (0x000002b2)
    15:12:06.891655 http.c:992              <= Recv header: X-TFS-SoapException: %3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csoap%3AEnvelope%20xmlns%3Asoap%3D%22http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelope%22%3E%3Csoap%3ABody%3E%3Csoap%3AFault%3E%3Csoap%3ACode%3E%3Csoap%3AValue%3Esoap%3AReceiver%3C%2Fsoap%3AValue%3E%3Csoap%3ASubcode%3E%3Csoap%3AValue%3EUnauthorizedRequestException%3C%2Fsoap%3AValue%3E%3C%2Fsoap%3ASubcode%3E%3C%2Fsoap%3ACode%3E%3Csoap%3AReason%3E%3Csoap%3AText%20xml%3Alang%3D%22en%22%3ETF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.%3C%2Fsoap%3AText%3E%3C%2Fsoap%3AReason%3E%3C%2Fsoap%3AFault%3E%3C%2Fsoap%3ABody%3E%3C%2Fsoap%3AEnvelope%3E
    15:12:06.891655 http.c:980              <= Recv header, 0000000128 bytes (0x00000080)
    15:12:06.891655 http.c:992              <= Recv header: X-TFS-ServiceError: TF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.
    15:12:06.891655 http.c:980              <= Recv header, 0000000026 bytes (0x0000001a)
    15:12:06.891655 http.c:992              <= Recv header: WWW-Authenticate: Bearer
    15:12:06.891655 http.c:980              <= Recv header, 0000000070 bytes (0x00000046)
    15:12:06.891655 http.c:992              <= Recv header: WWW-Authenticate: Basic realm="https://<server>/"
    15:12:06.905480 http.c:1033             == Info: InitializeSecurityContext failed: SEC_E_NO_CREDENTIALS (0x8009030e) - No credentials are available in the security package
    15:12:06.905480 http.c:980              <= Recv header, 0000000029 bytes (0x0000001d)
    15:12:06.905480 http.c:992              <= Recv header: WWW-Authenticate: Negotiate
    15:12:06.905480 http.c:980              <= Recv header, 0000000024 bytes (0x00000018)
    15:12:06.905480 http.c:992              <= Recv header: WWW-Authenticate: NTLM
    15:12:06.905480 http.c:980              <= Recv header, 0000000023 bytes (0x00000017)
    15:12:06.905480 http.c:992              <= Recv header: X-Powered-By: ASP.NET
    15:12:06.905480 http.c:980              <= Recv header, 0000000124 bytes (0x0000007c)
    15:12:06.905480 http.c:992              <= Recv header: P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
    15:12:06.905480 http.c:980              <= Recv header, 0000000024 bytes (0x00000018)
    15:12:06.905480 http.c:992              <= Recv header: Lfs-Authenticate: NTLM
    15:12:06.905480 http.c:980              <= Recv header, 0000000033 bytes (0x00000021)
    15:12:06.905480 http.c:992              <= Recv header: X-Content-Type-Options: nosniff
    15:12:06.905480 http.c:980              <= Recv header, 0000000037 bytes (0x00000025)
    15:12:06.905480 http.c:992              <= Recv header: Date: Wed, 01 Jul 2026 13:12:06 GMT
    15:12:06.905480 http.c:980              <= Recv header, 0000000023 bytes (0x00000017)
    15:12:06.905480 http.c:992              <= Recv header: Content-Length: 20102
    15:12:06.905480 http.c:980              <= Recv header, 0000000002 bytes (0x00000002)
    15:12:06.905480 http.c:992              <= Recv header:
    15:12:06.905480 http.c:1006             <= Recv data, 0000014747 bytes (0x0000399b)
    15:12:06.905480 http.c:1021             <= Recv data: ..<!DOCTYPE html>..<html>......................</html>......
    15:12:06.907524 http.c:1033             == Info: Connection #0 to host <server>:443 left intact
    15:12:09.380217 http.c:1033             == Info: Could not find host <server> in the .netrc file; using defaults
    15:12:09.380217 http.c:1033             == Info: Reusing existing https: connection with host <server>
    15:12:09.380217 http.c:980              => Send header, 0000000244 bytes (0x000000f4)
    15:12:09.380217 http.c:992              => Send header: GET /<collection>/<project>/_git/<repo>/info/refs?service=git-upload-pack HTTP/1.1
    15:12:09.380217 http.c:992              => Send header: Host: <server>
    15:12:09.380217 http.c:992              => Send header: User-Agent: git/2.55.0.windows.1
    15:12:09.380217 http.c:992              => Send header: Accept: */*
    15:12:09.380217 http.c:992              => Send header: Accept-Encoding: deflate, gzip, br, zstd
    15:12:09.380217 http.c:992              => Send header: Pragma: no-cache
    15:12:09.380217 http.c:992              => Send header: Git-Protocol: version=2
    15:12:09.380217 http.c:992              => Send header:
    15:12:09.380217 http.c:1033             == Info: Request completely sent off
    15:12:09.388386 http.c:980              <= Recv header, 0000000027 bytes (0x0000001b)
    15:12:09.388386 http.c:992              <= Recv header: HTTP/1.1 401 Unauthorized
    15:12:09.388386 http.c:980              <= Recv header, 0000000040 bytes (0x00000028)
    15:12:09.388386 http.c:992              <= Recv header: Content-Type: text/html; charset=utf-8
    15:12:09.388386 http.c:980              <= Recv header, 0000000055 bytes (0x00000037)
    15:12:09.388386 http.c:992              <= Recv header: X-TFS-ProcessId: 61e8003d-7dcb-4c43-a453-8dc6c28b121c
    15:12:09.388386 http.c:980              <= Recv header, 0000000064 bytes (0x00000040)
    15:12:09.388386 http.c:992              <= Recv header: Strict-Transport-Security: max-age=31536000; includeSubDomains
    15:12:09.388386 http.c:980              <= Recv header, 0000000050 bytes (0x00000032)
    15:12:09.388386 http.c:992              <= Recv header: ActivityId: 465c33b2-6ec3-45fd-80ee-3713a295f7ee
    15:12:09.388386 http.c:980              <= Recv header, 0000000053 bytes (0x00000035)
    15:12:09.388386 http.c:992              <= Recv header: X-TFS-Session: 465c33b2-6ec3-45fd-80ee-3713a295f7ee
    15:12:09.388386 http.c:980              <= Recv header, 0000000051 bytes (0x00000033)
    15:12:09.388386 http.c:992              <= Recv header: X-VSS-E2EID: 465c33b2-6ec3-45fd-80ee-3713a295f7ee
    15:12:09.388386 http.c:980              <= Recv header, 0000000064 bytes (0x00000040)
    15:12:09.388386 http.c:992              <= Recv header: X-VSS-SenderDeploymentId: 65bd2671-7b83-45fd-9e1c-02eb035aa002
    15:12:09.388386 http.c:980              <= Recv header, 0000000690 bytes (0x000002b2)
    15:12:09.388386 http.c:992              <= Recv header: X-TFS-SoapException: %3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csoap%3AEnvelope%20xmlns%3Asoap%3D%22http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelope%22%3E%3Csoap%3ABody%3E%3Csoap%3AFault%3E%3Csoap%3ACode%3E%3Csoap%3AValue%3Esoap%3AReceiver%3C%2Fsoap%3AValue%3E%3Csoap%3ASubcode%3E%3Csoap%3AValue%3EUnauthorizedRequestException%3C%2Fsoap%3AValue%3E%3C%2Fsoap%3ASubcode%3E%3C%2Fsoap%3ACode%3E%3Csoap%3AReason%3E%3Csoap%3AText%20xml%3Alang%3D%22en%22%3ETF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.%3C%2Fsoap%3AText%3E%3C%2Fsoap%3AReason%3E%3C%2Fsoap%3AFault%3E%3C%2Fsoap%3ABody%3E%3C%2Fsoap%3AEnvelope%3E
    15:12:09.388386 http.c:980              <= Recv header, 0000000128 bytes (0x00000080)
    15:12:09.388386 http.c:992              <= Recv header: X-TFS-ServiceError: TF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.
    15:12:09.388386 http.c:980              <= Recv header, 0000000026 bytes (0x0000001a)
    15:12:09.388386 http.c:992              <= Recv header: WWW-Authenticate: Bearer
    15:12:09.388386 http.c:980              <= Recv header, 0000000070 bytes (0x00000046)
    15:12:09.388386 http.c:992              <= Recv header: WWW-Authenticate: Basic realm="https://<server>/"
    15:12:09.388386 http.c:980              <= Recv header, 0000000029 bytes (0x0000001d)
    15:12:09.388386 http.c:992              <= Recv header: WWW-Authenticate: Negotiate
    15:12:09.388386 http.c:980              <= Recv header, 0000000024 bytes (0x00000018)
    15:12:09.388386 http.c:992              <= Recv header: WWW-Authenticate: NTLM
    15:12:09.388386 http.c:980              <= Recv header, 0000000023 bytes (0x00000017)
    15:12:09.388386 http.c:992              <= Recv header: X-Powered-By: ASP.NET
    15:12:09.388386 http.c:980              <= Recv header, 0000000124 bytes (0x0000007c)
    15:12:09.388386 http.c:992              <= Recv header: P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
    15:12:09.388386 http.c:980              <= Recv header, 0000000024 bytes (0x00000018)
    15:12:09.388386 http.c:992              <= Recv header: Lfs-Authenticate: NTLM
    15:12:09.388386 http.c:980              <= Recv header, 0000000033 bytes (0x00000021)
    15:12:09.388386 http.c:992              <= Recv header: X-Content-Type-Options: nosniff
    15:12:09.388386 http.c:980              <= Recv header, 0000000037 bytes (0x00000025)
    15:12:09.388386 http.c:992              <= Recv header: Date: Wed, 01 Jul 2026 13:12:09 GMT
    15:12:09.388386 http.c:980              <= Recv header, 0000000023 bytes (0x00000017)
    15:12:09.388386 http.c:992              <= Recv header: Content-Length: 20102
    15:12:09.388386 http.c:980              <= Recv header, 0000000002 bytes (0x00000002)
    15:12:09.388386 http.c:992              <= Recv header:
    15:12:09.388386 http.c:1006             <= Recv data, 0000014747 bytes (0x0000399b)
    15:12:09.388386 http.c:1021             <= Recv data: ..<!DOCTYPE html>..<html>......................</html>......
    15:12:09.390429 http.c:1033             == Info: Connection #0 to host <server>:443 left intact
    
  17. mjcheetham commented on Jul 1, 2026

    @mjcheetham
    Contributor

    In 2.53, at the second call to server, presence of the Authorization header Send header: Authorization: Negotiate (needed for Kerberos...) - the authentication succeeded at this point

    @outils-tiers-metafactory, this is a common misconception about "Negotiate" (aka SPNEGO). Negotiate != Kerberos, but is a meta protocol that can carry either Kerberos OR NTLM authentication messages.

    It is possible that in 2.53 you had been relying on NTLM over SPNEGO, which in 2.54 onwards was removed from the libcurl that ships with Git for Windows.

    This means in 2.54 / 2.55, the only package available for SPNEGO to pick from is Kerberos.

    The InitializeSecurityContext failed: SEC_E_NO_CREDENTIALS (0x8009030e) error is likely indicating that there are no Kerberos tickets available, and therefore (since NTLM over SPNEGO was removed), there is no way to authenticate anymore.

    Can you confirm that you have a correctly set up Kerberos environment?

  18. outils-tiers-metafactory commented on Jul 1, 2026

    @outils-tiers-metafactory

    @mjcheetham you're right and I'm confused, NTLM is used with git 2.53...
    We will review the Kerberos configuration.

  19. added
    external
    on Jul 2, 2026
  20. mjcheetham commented on Jul 2, 2026

    @mjcheetham
    Contributor

    I wanted to also share this blog post from the Azure DevOps Server product team that outlines that NTLM support will be removed from libcurl, and therefore Git later this year:

    https://devblogs.microsoft.com/devops/upcoming-change-ntlm-removal-in-git-libcurl-impact-to-azure-devops-server-customers/

    What happened in 2.55.0(1) today was coincidentally a preview of what is coming. libcurl goes from NTLM opt-in, then to NTLM removed entirely.

  21. rm-code commented on Jul 3, 2026

    @rm-code
    Author

    @mjcheetham I think this can be closed.

    IIUC the real "issue" was the missing useHttpPath config, which meant that Kerberos wasn't picked up correctly and Git tried to fall back to NTLM, which - in turn - doesn't work in 2.55.0 anymore.

    Thanks for the help!

  22. dscho commented on Jul 3, 2026

    @dscho
  23. fmiermont commented on Jul 6, 2026

    @fmiermont

    Hello all, thanks for sharing logs and sorry for the issues you are still having.

    @tbolon, please could you also share the GIT_TRACE_CURL=1 logs along side the GIT_TRACE and GCM_TRACE environment variables? I don't think this is an issue with GCM per-se.. Git is advertising ntlm=suppressed which is our trigger to show the warning.

    If the remote is advertising Negotiate/Kerberos as well as NTLM, it should be attempting Kerberos first and never call GCM. If Git calls GCM it means Kerberos was either not tried (the bug that should have been fixed) or failed for some reason, and NTLM is acting as the fallback is being attempted.

    @outils-tiers-metafactory from your trace I can see that GCM is being told by Git for Windows that NTLM is suppressed:

    17:44:58.033380 ...GitCommandBase.cs:47 trace: [ExecuteAsync] 	ntlm=suppressed
    

    We should only get that signal if Git is left with NTLM as the only remaining option vs first trying and failing to use Kerberos. Are you also able to provide details GIT_TRACE_CURL=1 logs alongside GIT_TRACE and GCM_TRACE please?

    Hello, I'm with @tbolon , this is the asked complete log

    D:\test>git clone https://testtfs.domain.lan:4443/DefaultCollection/Setup/_git Setup2
    11:23:51.646015 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
    11:23:51.649971 git.c:502               trace: built-in: git clone https://testtfs.domain.lan:4443/DefaultCollection/Setup/_git Setup2
    Cloning into 'Setup2'...
    11:23:51.656974 run-command.c:674       trace: run_command: git remote-https origin https://testtfs.domain.lan:4443/DefaultCollection/Setup/_git
    11:23:51.656974 run-command.c:946       trace: start_command: git remote-https origin https://testtfs.domain.lan:4443/DefaultCollection/Setup/_git
    11:23:51.664148 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:23:51.666148 git.c:812               trace: exec: git-remote-https origin https://testtfs.domain.lan:4443/DefaultCollection/Setup/_git
    11:23:51.666148 run-command.c:674       trace: run_command: git-remote-https origin https://testtfs.domain.lan:4443/DefaultCollection/Setup/_git
    11:23:51.666148 run-command.c:946       trace: start_command: git-remote-https origin https://testtfs.domain.lan:4443/DefaultCollection/Setup/_git
    11:23:51.674657 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:23:51.679656 http.c:1033             == Info: Could not find host testtfs.domain.lan in the .netrc file; using defaults
    11:23:51.679656 http.c:1033             == Info: Host testtfs.domain.lan:4443 was resolved.
    11:23:51.679656 http.c:1033             == Info: IPv6: xxxx:xxxx:152:7900:3688:c405:7a4e:bbce
    11:23:51.679656 http.c:1033             == Info: IPv4: 192.168.88.36
    11:23:51.679656 http.c:1033             == Info:   Trying [xxxx:xxxx:152:7900:3688:c405:7a4e:bbce]:4443...
    11:23:51.679656 http.c:1033             == Info: schannel: disabled automatic use of client certificate
    11:23:51.679656 http.c:1033             == Info: ALPN: curl offers http/1.1
    11:23:51.743460 http.c:1033             == Info: ALPN: server accepted http/1.1
    11:23:51.743460 http.c:1033             == Info: Established connection to testtfs.domain.lan (xxxx:xxxx:152:7900:3688:c405:7a4e:bbce port 4443) from xxxx:xxxx:152:7900:d009:4641:f22e:83dd port 54816
    11:23:51.743460 http.c:1033             == Info: using HTTP/1.x
    11:23:51.743460 http.c:980              => Send header, 0000000237 bytes (0x000000ed)
    11:23:51.743460 http.c:992              => Send header: GET /DefaultCollection/Setup/_git/info/refs?service=git-upload-pack HTTP/1.1
    11:23:51.743460 http.c:992              => Send header: Host: testtfs.domain.lan:4443
    11:23:51.743460 http.c:992              => Send header: User-Agent: git/2.55.0.windows.2
    11:23:51.743460 http.c:992              => Send header: Accept: */*
    11:23:51.743460 http.c:992              => Send header: Accept-Encoding: deflate, gzip, br, zstd
    11:23:51.743460 http.c:992              => Send header: Pragma: no-cache
    11:23:51.743460 http.c:992              => Send header: Git-Protocol: version=2
    11:23:51.743460 http.c:992              => Send header:
    11:23:51.743460 http.c:1033             == Info: Request completely sent off
    11:23:51.743460 http.c:1033             == Info: schannel: remote party requests renegotiation
    11:23:51.743460 http.c:1033             == Info: schannel: renegotiating SSL/TLS connection
    11:23:51.744459 http.c:1033             == Info: schannel: SSL/TLS connection renegotiated
    11:23:51.748170 http.c:980              <= Recv header, 0000000027 bytes (0x0000001b)
    11:23:51.748170 http.c:992              <= Recv header: HTTP/1.1 401 Unauthorized
    11:23:51.748170 http.c:980              <= Recv header, 0000000025 bytes (0x00000019)
    11:23:51.748170 http.c:992              <= Recv header: Content-Type: text/html
    11:23:51.748170 http.c:980              <= Recv header, 0000000055 bytes (0x00000037)
    11:23:51.748170 http.c:992              <= Recv header: X-TFS-ProcessId: 5477fa02-8f31-4091-8584-fee48338f172
    11:23:51.748170 http.c:980              <= Recv header, 0000000050 bytes (0x00000032)
    11:23:51.748170 http.c:992              <= Recv header: ActivityId: 29559d9a-8762-4b1f-8223-3d3cf9ee0823
    11:23:51.748170 http.c:980              <= Recv header, 0000000053 bytes (0x00000035)
    11:23:51.748170 http.c:992              <= Recv header: X-TFS-Session: 29559d9a-8762-4b1f-8223-3d3cf9ee0823
    11:23:51.748170 http.c:980              <= Recv header, 0000000051 bytes (0x00000033)
    11:23:51.748170 http.c:992              <= Recv header: X-VSS-E2EID: 29559d9a-8762-4b1f-8223-3d3cf9ee0823
    11:23:51.748170 http.c:980              <= Recv header, 0000000064 bytes (0x00000040)
    11:23:51.748170 http.c:992              <= Recv header: X-VSS-SenderDeploymentId: 38c5b6f5-1465-4ba5-9940-15529cad1814
    11:23:51.748170 http.c:980              <= Recv header, 0000000690 bytes (0x000002b2)
    11:23:51.748170 http.c:992              <= Recv header: X-TFS-SoapException: %3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csoap%3AEnvelope%20xmlns%3Asoap%3D%22http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelope%22%3E%3Csoap%3ABody%3E%3Csoap%3AFault%3E%3Csoap%3ACode%3E%3Csoap%3AValue%3Esoap%3AReceiver%3C%2Fsoap%3AValue%3E%3Csoap%3ASubcode%3E%3Csoap%3AValue%3EUnauthorizedRequestException%3C%2Fsoap%3AValue%3E%3C%2Fsoap%3ASubcode%3E%3C%2Fsoap%3ACode%3E%3Csoap%3AReason%3E%3Csoap%3AText%20xml%3Alang%3D%22en%22%3ETF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.%3C%2Fsoap%3AText%3E%3C%2Fsoap%3AReason%3E%3C%2Fsoap%3AFault%3E%3C%2Fsoap%3ABody%3E%3C%2Fsoap%3AEnvelope%3E
    11:23:51.748170 http.c:980              <= Recv header, 0000000128 bytes (0x00000080)
    11:23:51.748170 http.c:992              <= Recv header: X-TFS-ServiceError: TF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.
    11:23:51.748170 http.c:980              <= Recv header, 0000000026 bytes (0x0000001a)
    11:23:51.748170 http.c:992              <= Recv header: WWW-Authenticate: Bearer
    11:23:51.748170 http.c:980              <= Recv header, 0000000055 bytes (0x00000037)
    11:23:51.748170 http.c:992              <= Recv header: WWW-Authenticate: Basic realm="https://testtfs.domain.lan/"
    11:23:51.748170 http.c:980              <= Recv header, 0000000029 bytes (0x0000001d)
    11:23:51.748170 http.c:992              <= Recv header: WWW-Authenticate: Negotiate
    11:23:51.748170 http.c:980              <= Recv header, 0000000023 bytes (0x00000017)
    11:23:51.748170 http.c:992              <= Recv header: X-Powered-By: ASP.NET
    11:23:51.748170 http.c:980              <= Recv header, 0000000124 bytes (0x0000007c)
    11:23:51.748170 http.c:992              <= Recv header: P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
    11:23:51.749674 http.c:980              <= Recv header, 0000000024 bytes (0x00000018)
    11:23:51.749674 http.c:992              <= Recv header: Lfs-Authenticate: NTLM
    11:23:51.749674 http.c:980              <= Recv header, 0000000033 bytes (0x00000021)
    11:23:51.749674 http.c:992              <= Recv header: X-Content-Type-Options: nosniff
    11:23:51.749674 http.c:980              <= Recv header, 0000000037 bytes (0x00000025)
    11:23:51.749674 http.c:992              <= Recv header: Date: Mon, 06 Jul 2026 09:23:52 GMT
    11:23:51.749674 http.c:980              <= Recv header, 0000000023 bytes (0x00000017)
    11:23:51.749674 http.c:992              <= Recv header: Content-Length: 89555
    11:23:51.749674 http.c:980              <= Recv header, 0000000002 bytes (0x00000002)
    11:23:51.749674 http.c:992              <= Recv header:
    11:23:51.749674 http.c:1006             <= Recv data, 0000014865 bytes (0x00003a11)
    11:23:51.749674 http.c:1021             <= Recv data: ...<!DOCTYPE html >..<html>..  <head>..    <title>TF400813:
    11:23:51.749674 http.c:1021             <= Recv data: Resource not available for anonymous access. Client authenti
    11:23:51.749674 http.c:1021             <= Recv data: cation required.</title>..    <style type="text/css">html {.
    11:23:51.749674 http.c:1021             <= Recv data: .    height: 100%;..}....body {..    font-family: "-apple-sy
    11:23:51.749674 http.c:1021             <= Recv data: stem", BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Ne
    11:23:51.749674 http.c:1021             <= Recv data: ue", Helvetica, Ubuntu, Arial, sans-serif, "Apple Color Emoj
    11:23:51.749674 http.c:1021             <= Recv data: i",..        "Segoe UI Emoji", "Segoe UI Symbol";..    font-
    11:23:51.749674 http.c:1021             <= Recv data: size: 14px;..    height: 100%;..    margin: 0;..    backgrou
    11:23:51.749674 http.c:1021             <= Recv data: nd-color: #fff;..}.....container {..    height: 100%;..    d
    11:23:51.749674 http.c:1021             <= Recv data: isplay: flex;..    flex-grow: 1;..    flex-direction: column
    11:23:51.749674 http.c:1021             <= Recv data: ;..}.....header {..    font-size: 14px;..    line-height: 20
    11:23:51.749674 http.c:1021             <= Recv data: px;..    padding-right: 40px;..    display: flex;..    box-s
    11:23:51.749674 http.c:1021             <= Recv data: hadow: 0px 1px 0px rgba(0, 0, 0, 0.08);..}.....header > div,
    11:23:51.749674 http.c:1021             <= Recv data: ...header > a {..    margin: 14px 0px 14px 32px;..    text-d
    11:23:51.749674 http.c:1021             <= Recv data: ecoration: none;..    color: rgba(0, 0, 0, 0.55);..}.....hea
    11:23:51.749674 http.c:1021             <= Recv data: der > div:first-child {..    flex-grow: 1;..    margin-left:
    11:23:51.749674 http.c:1021             <= Recv data:  14px;..    color: #0078d4;..    display: flex;..}.....heade
    11:23:51.749674 http.c:1021             <= Recv data: r > div:first-child > div {..    margin-left: 14px;..}.....c
    11:23:51.749674 http.c:1021             <= Recv data: ontent-container {..    display: flex;..    flex-direction:
    11:23:51.749674 http.c:1021             <= Recv data: column;..    justify-content: center;..    margin-top: 126px
    11:23:51.749674 http.c:1021             <= Recv data: ;..}.....content {..    display: flex;..    justify-content:
    11:23:51.749674 http.c:1021             <= Recv data:  center;..    align-items: center;..}.....error-info {..
    11:23:51.749674 http.c:1021             <= Recv data: display: flex;..    flex-direction: column;..    width: 500p
    11:23:51.749674 http.c:1021             <= Recv data: x;..}.....title {..    font-size: 28px;..    font-weight: bo
    11:23:51.749674 http.c:1021             <= Recv data: ld;..    line-height: 40px;..    letter-spacing: -0.04em;..
    11:23:51.749674 http.c:1021             <= Recv data:    color: #212121;..    margin-bottom: 16px;..}.....details
    11:23:51.749674 http.c:1021             <= Recv data: {..    font-size: 14px;..    line-height: 20px;..    color:
    11:23:51.749674 http.c:1021             <= Recv data: #212121;..    margin-bottom: 16px;..}.....details a {..    t
    11:23:51.749674 http.c:1021             <= Recv data: ext-decoration: none;..    color: #0078d4;..}.....reference-
    11:23:51.749674 http.c:1021             <= Recv data: data {..    font-size: 12px;..    line-height: 16px;..    co
    11:23:51.749674 http.c:1021             <= Recv data: lor: rgba(0, 0, 0, 0.55);..    margin-bottom: 32px;..}.....l
    11:23:51.749674 http.c:1021             <= Recv data: ogo {..    height: 500px;..    width: 500px;..}.....action-c
    11:23:51.749674 http.c:1021             <= Recv data: ontainer {..    display: flex;..}.....action {..    backgrou
    11:23:51.749674 http.c:1021             <= Recv data: nd-color: #0078d4;..    color: #ffffff;..    align-items: ce
    11:23:51.749674 http.c:1021             <= Recv data: nter;..    border-radius: 2px;..    border: 1px solid transp
    11:23:51.749674 http.c:1021             <= Recv data: arent;..    cursor: pointer;..    display: inline-flex;..
    11:23:51.749674 http.c:1021             <= Recv data:  flex-direction: row;..    flex-shrink: 0;..    font-family:
    11:23:51.749674 http.c:1021             <= Recv data:  inherit;..    font-size: inherit;..    font-weight: 600;..
    11:23:51.749674 http.c:1021             <= Recv data:    justify-content: center;..    outline: none;..    overflo
    11:23:51.749674 http.c:1021             <= Recv data: w: visible;..    padding: 6px 12px;..    position: relative;
    11:23:51.750681 http.c:1021             <= Recv data: ..    transition: background 80ms linear;..    text-decorati
    11:23:51.750681 http.c:1021             <= Recv data: on: none;..}.....action:focus {..    box-shadow: 0 0 0 3px r
    11:23:51.750681 http.c:1021             <= Recv data: gba(0, 120, 212, 0.35);..}.....action:hover {..    backgroun
    11:23:51.750681 http.c:1021             <= Recv data: d-color: rgb(0, 103, 181)..}.....action:active {..    backgr
    11:23:51.750681 http.c:1021             <= Recv data: ound-color: rgb(0, 91, 161)..}.....secondary-action {..    t
    11:23:51.750681 http.c:1021             <= Recv data: ext-decoration: none;..    color: #0078d4;..    margin-top:
    11:23:51.750681 http.c:1021             <= Recv data: 16px;..}.....more-info {..    margin: auto;..    display: fl
    11:23:51.750681 http.c:1021             <= Recv data: ex;..    flex-direction: column;..    padding: 0 40px;..}...
    11:23:51.750681 http.c:1021             <= Recv data: ..more-info > div:first-child {..    font-size: 15px;..    f
    11:23:51.750681 http.c:1021             <= Recv data: ont-weight: 700;..}..</style>..  </head>..  <body>..    <div
    11:23:51.750681 http.c:1021             <= Recv data:  class="container">..      <div class="header">..        <di
    11:23:51.750681 http.c:1021             <= Recv data: v>..          <span>..            <img class="header-logo" s
    11:23:51.750681 http.c:1021             <= Recv data: rc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCA
    
    11:23:51.750681 http.c:1021             <= Recv data: hmZ3a8AAAAAElFTkSuQmCC" />..          </span>..          <di
    11:23:51.750681 http.c:1021             <= Recv data: v>Azure DevOps</div>..        </div>..        <a href="https
    11:23:51.750681 http.c:1021             <= Recv data: ://go.microsoft.com/fwlink/?LinkID=242573">Service Status</a
    11:23:51.750681 http.c:1021             <= Recv data: >..        <a href="https://go.microsoft.com/fwlink/?linkid=
    11:23:51.750681 http.c:1021             <= Recv data: 2119200&amp;clcid=0x409">Support</a>..        <a href="https
    11:23:51.750681 http.c:1021             <= Recv data: ://twitter.com/AzureDevOps">@AzureDevOps</a>..      </div>..
    11:23:51.750681 http.c:1021             <= Recv data:       <div class="content-container">..        <div class="c
    11:23:51.750681 http.c:1021             <= Recv data: ontent">..          <div>..            <img class="logo" src
    11:23:51.750681 http.c:1021             <= Recv data: ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+gAAAPoCAYA
    
    11:23:51.773726 http.c:1021             <= Recv data:    </div>..          <div class="error-info">..            <
    11:23:51.773726 http.c:1021             <= Recv data: div class="title">401 - Uh-oh, you do not have access.</div>
    11:23:51.773726 http.c:1021             <= Recv data: ..            <div class="details">The request requires auth
    11:23:51.773726 http.c:1021             <= Recv data: entication.</div>..            <div class="reference-data">.
    11:23:51.773726 http.c:1021             <= Recv data: .              <div>7/6/2026 9:23:52 AM (UTC)</div>..
    11:23:51.773726 http.c:1021             <= Recv data:        <div>29559d9a-8762-4b1f-8223-3d3cf9ee0823</div>..
    11:23:51.773726 http.c:1021             <= Recv data:         </div>..            <a class="secondary-action" href
    11:23:51.773726 http.c:1021             <= Recv data: ="https://testtfs.domain.lan/_signout?redirectUrl=https%3A%2F%2Ftf
    11:23:51.773726 http.c:1021             <= Recv data: s.domain.lan%2FDefaultCollection%2FSetup%2F_git%2Finfo%2Frefs%
    11:23:51.773726 http.c:1021             <= Recv data: 3Fservice%3Dgit-upload-pack">Sign out and login with differe
    11:23:51.773726 http.c:1021             <= Recv data: nt account</a>..          </div>..        </div>..      </di
    11:23:51.773726 http.c:1021             <= Recv data: v>..    </div>..  </body>..</html>
    11:23:51.773726 http.c:1033             == Info: Connection #0 to host testtfs.domain.lan:4443 left intact
    11:23:51.773726 http.c:1033             == Info: Could not find host testtfs.domain.lan in the .netrc file; using defaults
    11:23:51.773726 http.c:1033             == Info: Reusing existing https: connection with host testtfs.domain.lan
    11:23:51.774726 http.c:980              => Send header, 0000000237 bytes (0x000000ed)
    11:23:51.774726 http.c:992              => Send header: GET /DefaultCollection/Setup/_git/info/refs?service=git-upload-pack HTTP/1.1
    11:23:51.774726 http.c:992              => Send header: Host: testtfs.domain.lan:4443
    11:23:51.774726 http.c:992              => Send header: User-Agent: git/2.55.0.windows.2
    11:23:51.774726 http.c:992              => Send header: Accept: */*
    11:23:51.774726 http.c:992              => Send header: Accept-Encoding: deflate, gzip, br, zstd
    11:23:51.774726 http.c:992              => Send header: Pragma: no-cache
    11:23:51.774726 http.c:992              => Send header: Git-Protocol: version=2
    11:23:51.774726 http.c:992              => Send header:
    11:23:51.774726 http.c:1033             == Info: Request completely sent off
    11:23:51.779076 http.c:980              <= Recv header, 0000000027 bytes (0x0000001b)
    11:23:51.779076 http.c:992              <= Recv header: HTTP/1.1 401 Unauthorized
    11:23:51.779076 http.c:980              <= Recv header, 0000000025 bytes (0x00000019)
    11:23:51.779076 http.c:992              <= Recv header: Content-Type: text/html
    11:23:51.779076 http.c:980              <= Recv header, 0000000055 bytes (0x00000037)
    11:23:51.779076 http.c:992              <= Recv header: X-TFS-ProcessId: 5477fa02-8f31-4091-8584-fee48338f172
    11:23:51.779076 http.c:980              <= Recv header, 0000000050 bytes (0x00000032)
    11:23:51.779076 http.c:992              <= Recv header: ActivityId: 29559d99-8762-4b1f-8223-3d3cf9ee0823
    11:23:51.779653 http.c:980              <= Recv header, 0000000053 bytes (0x00000035)
    11:23:51.779653 http.c:992              <= Recv header: X-TFS-Session: 29559d99-8762-4b1f-8223-3d3cf9ee0823
    11:23:51.779653 http.c:980              <= Recv header, 0000000051 bytes (0x00000033)
    11:23:51.779653 http.c:992              <= Recv header: X-VSS-E2EID: 29559d99-8762-4b1f-8223-3d3cf9ee0823
    11:23:51.779653 http.c:980              <= Recv header, 0000000064 bytes (0x00000040)
    11:23:51.779653 http.c:992              <= Recv header: X-VSS-SenderDeploymentId: 38c5b6f5-1465-4ba5-9940-15529cad1814
    11:23:51.779653 http.c:980              <= Recv header, 0000000690 bytes (0x000002b2)
    11:23:51.779653 http.c:992              <= Recv header: X-TFS-SoapException: %3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csoap%3AEnvelope%20xmlns%3Asoap%3D%22http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelope%22%3E%3Csoap%3ABody%3E%3Csoap%3AFault%3E%3Csoap%3ACode%3E%3Csoap%3AValue%3Esoap%3AReceiver%3C%2Fsoap%3AValue%3E%3Csoap%3ASubcode%3E%3Csoap%3AValue%3EUnauthorizedRequestException%3C%2Fsoap%3AValue%3E%3C%2Fsoap%3ASubcode%3E%3C%2Fsoap%3ACode%3E%3Csoap%3AReason%3E%3Csoap%3AText%20xml%3Alang%3D%22en%22%3ETF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.%3C%2Fsoap%3AText%3E%3C%2Fsoap%3AReason%3E%3C%2Fsoap%3AFault%3E%3C%2Fsoap%3ABody%3E%3C%2Fsoap%3AEnvelope%3E
    11:23:51.779653 http.c:980              <= Recv header, 0000000128 bytes (0x00000080)
    11:23:51.779653 http.c:992              <= Recv header: X-TFS-ServiceError: TF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.
    11:23:51.779653 http.c:980              <= Recv header, 0000000026 bytes (0x0000001a)
    11:23:51.779653 http.c:992              <= Recv header: WWW-Authenticate: Bearer
    11:23:51.779653 http.c:980              <= Recv header, 0000000055 bytes (0x00000037)
    11:23:51.779653 http.c:992              <= Recv header: WWW-Authenticate: Basic realm="https://testtfs.domain.lan/"
    11:23:51.779653 http.c:980              <= Recv header, 0000000029 bytes (0x0000001d)
    11:23:51.779653 http.c:992              <= Recv header: WWW-Authenticate: Negotiate
    11:23:51.779653 http.c:980              <= Recv header, 0000000023 bytes (0x00000017)
    11:23:51.779653 http.c:992              <= Recv header: X-Powered-By: ASP.NET
    11:23:51.779653 http.c:980              <= Recv header, 0000000124 bytes (0x0000007c)
    11:23:51.779653 http.c:992              <= Recv header: P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
    11:23:51.779653 http.c:980              <= Recv header, 0000000024 bytes (0x00000018)
    11:23:51.779653 http.c:992              <= Recv header: Lfs-Authenticate: NTLM
    11:23:51.779653 http.c:980              <= Recv header, 0000000033 bytes (0x00000021)
    11:23:51.779653 http.c:992              <= Recv header: X-Content-Type-Options: nosniff
    11:23:51.779653 http.c:980              <= Recv header, 0000000037 bytes (0x00000025)
    11:23:51.779653 http.c:992              <= Recv header: Date: Mon, 06 Jul 2026 09:23:52 GMT
    11:23:51.779653 http.c:980              <= Recv header, 0000000023 bytes (0x00000017)
    11:23:51.779653 http.c:992              <= Recv header: Content-Length: 89555
    11:23:51.779653 http.c:1033             == Info: Ignoring the response-body
    11:23:51.779653 http.c:1033             == Info: setting size while ignoring
    11:23:51.779653 http.c:980              <= Recv header, 0000000002 bytes (0x00000002)
    11:23:51.779653 http.c:992              <= Recv header:
    11:23:51.779653 http.c:1033             == Info: Connection #0 to host testtfs.domain.lan:4443 left intact
    11:23:51.779653 http.c:1033             == Info: Issue another request to this URL: 'https://testtfs.domain.lan:4443/DefaultCollection/Setup/_git/info/refs?service=git-upload-pack'
    11:23:51.779653 http.c:1033             == Info: Could not find host testtfs.domain.lan in the .netrc file; using defaults
    11:23:51.779653 http.c:1033             == Info: Reusing existing https: connection with host testtfs.domain.lan
    11:23:51.781837 http.c:1033             == Info: Server auth using Negotiate with user ''
    11:23:51.781837 http.c:980              => Send header, 0000002840 bytes (0x00000b18)
    11:23:51.781837 http.c:992              => Send header: GET /DefaultCollection/Setup/_git/info/refs?service=git-upload-pack HTTP/1.1
    11:23:51.781837 http.c:992              => Send header: Host: testtfs.domain.lan:4443
    11:23:51.781837 http.c:992              => Send header: Authorization: Negotiate <redacted>
    11:23:51.781837 http.c:992              => Send header: User-Agent: git/2.55.0.windows.2
    11:23:51.781837 http.c:992              => Send header: Accept: */*
    11:23:51.781837 http.c:992              => Send header: Accept-Encoding: deflate, gzip, br, zstd
    11:23:51.781837 http.c:992              => Send header: Pragma: no-cache
    11:23:51.781837 http.c:992              => Send header: Git-Protocol: version=2
    11:23:51.781837 http.c:992              => Send header:
    11:23:51.781837 http.c:1033             == Info: Request completely sent off
    11:23:51.782837 http.c:980              <= Recv header, 0000000027 bytes (0x0000001b)
    11:23:51.782837 http.c:992              <= Recv header: HTTP/1.1 401 Unauthorized
    11:23:51.782837 http.c:980              <= Recv header, 0000000043 bytes (0x0000002b)
    11:23:51.782837 http.c:992              <= Recv header: Content-Type: text/html; charset=us-ascii
    11:23:51.782837 http.c:980              <= Recv header, 0000000031 bytes (0x0000001f)
    11:23:51.782837 http.c:992              <= Recv header: Server: Microsoft-HTTPAPI/2.0
    11:23:51.792346 http.c:980              <= Recv header, 0000000194 bytes (0x000000c2)
    11:23:51.792346 http.c:992              <= Recv header: WWW-Authenticate: Negotiate oXgwdqADCgEBoQsGCSqGSIL3EgECAqJiBGBgXgYJKoZIhvcSAQICAwB+TzBNoAMCAQWhAwIBHqQRGA8yMDI2MDcwNjA5MjM1MlqlBQIDB+Y+pgMCASmpChsITUIzTS5MQU6qFjAUoAMCAQGhDTALGwlib21iYWRpbCQ=
    11:23:51.792346 http.c:980              <= Recv header, 0000000037 bytes (0x00000025)
    11:23:51.792346 http.c:992              <= Recv header: Date: Mon, 06 Jul 2026 09:23:52 GMT
    11:23:51.792346 http.c:980              <= Recv header, 0000000021 bytes (0x00000015)
    11:23:51.792346 http.c:992              <= Recv header: Content-Length: 341
    11:23:51.792346 http.c:1033             == Info: Ignoring the response-body
    11:23:51.792346 http.c:1033             == Info: setting size while ignoring
    11:23:51.792346 http.c:980              <= Recv header, 0000000002 bytes (0x00000002)
    11:23:51.792346 http.c:992              <= Recv header:
    11:23:51.792346 http.c:1033             == Info: Connection #0 to host testtfs.domain.lan:4443 left intact
    11:23:51.792346 http.c:1033             == Info: Issue another request to this URL: 'https://testtfs.domain.lan:4443/DefaultCollection/Setup/_git/info/refs?service=git-upload-pack'
    11:23:51.792346 http.c:1033             == Info: Could not find host testtfs.domain.lan in the .netrc file; using defaults
    11:23:51.792346 http.c:1033             == Info: Reusing existing https: connection with host testtfs.domain.lan
    11:23:51.792346 http.c:1033             == Info: Server auth using Negotiate with user ''
    11:23:51.792346 http.c:980              => Send header, 0000002780 bytes (0x00000adc)
    11:23:51.792346 http.c:992              => Send header: GET /DefaultCollection/Setup/_git/info/refs?service=git-upload-pack HTTP/1.1
    11:23:51.792346 http.c:992              => Send header: Host: testtfs.domain.lan:4443
    11:23:51.792346 http.c:992              => Send header: Authorization: Negotiate <redacted>
    11:23:51.792346 http.c:992              => Send header: User-Agent: git/2.55.0.windows.2
    11:23:51.792346 http.c:992              => Send header: Accept: */*
    11:23:51.792346 http.c:992              => Send header: Accept-Encoding: deflate, gzip, br, zstd
    11:23:51.792346 http.c:992              => Send header: Pragma: no-cache
    11:23:51.792346 http.c:992              => Send header: Git-Protocol: version=2
    11:23:51.792346 http.c:992              => Send header:
    11:23:51.792346 http.c:1033             == Info: Request completely sent off
    11:23:51.793346 http.c:980              <= Recv header, 0000000027 bytes (0x0000001b)
    11:23:51.793346 http.c:992              <= Recv header: HTTP/1.1 401 Unauthorized
    11:23:51.793346 http.c:980              <= Recv header, 0000000043 bytes (0x0000002b)
    11:23:51.793346 http.c:992              <= Recv header: Content-Type: text/html; charset=us-ascii
    11:23:51.793346 http.c:980              <= Recv header, 0000000031 bytes (0x0000001f)
    11:23:51.793346 http.c:992              <= Recv header: Server: Microsoft-HTTPAPI/2.0
    11:23:51.793346 http.c:1033             == Info: InitializeSecurityContext failed: SEC_E_WRONG_PRINCIPAL (0x80090322) - The target principal name is incorrect.
    11:23:51.793346 http.c:980              <= Recv header, 0000000178 bytes (0x000000b2)
    11:23:51.793346 http.c:992              <= Recv header: WWW-Authenticate: Negotiate oWswaaADCgEBomIEYGBeBgkqhkiG9xIBAgIDAH5PME2gAwIBBaEDAgEepBEYDzIwMjYwNzA2MDkyMzUyWqUFAgMH5j6mAwIBKakKGwhNQjNNLkxBTqoWMBSgAwIBAaENMAsbCWJvbWJhZGlsJA==
    11:23:51.793346 http.c:980              <= Recv header, 0000000037 bytes (0x00000025)
    11:23:51.793346 http.c:992              <= Recv header: Date: Mon, 06 Jul 2026 09:23:52 GMT
    11:23:51.793346 http.c:980              <= Recv header, 0000000021 bytes (0x00000015)
    11:23:51.793346 http.c:992              <= Recv header: Content-Length: 341
    11:23:51.793346 http.c:980              <= Recv header, 0000000002 bytes (0x00000002)
    11:23:51.794345 http.c:992              <= Recv header:
    11:23:51.794345 http.c:1006             <= Recv data, 0000000341 bytes (0x00000155)
    11:23:51.794345 http.c:1021             <= Recv data: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www
    11:23:51.794345 http.c:1021             <= Recv data: .w3.org/TR/html4/strict.dtd">..<HTML><HEAD><TITLE>Not Author
    11:23:51.794345 http.c:1021             <= Recv data: ized</TITLE>..<META HTTP-EQUIV="Content-Type" Content="text/
    11:23:51.794345 http.c:1021             <= Recv data: html; charset=us-ascii"></HEAD>..<BODY><h2>Not Authorized</h
    11:23:51.794345 http.c:1021             <= Recv data: 2>..<hr><p>HTTP Error 401. The requested resource requires u
    11:23:51.794345 http.c:1021             <= Recv data: ser authentication.</p>..</BODY></HTML>..
    11:23:51.794345 http.c:1033             == Info: Connection #0 to host testtfs.domain.lan:4443 left intact
    11:23:51.794345 run-command.c:674       trace: run_command: 'git credential-manager get'
    11:23:51.794345 run-command.c:946       trace: start_command: 'C:/Program Files/Git/usr/bin/sh.exe' -c 'git credential-manager get' 'git credential-manager get'
    11:23:51.821190 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:23:51.823188 git.c:812               trace: exec: git-credential-manager get
    11:23:51.823188 run-command.c:674       trace: run_command: git-credential-manager get
    11:23:51.823188 run-command.c:946       trace: start_command: git-credential-manager get
    11:23:51.869834 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:23:51.871840 git.c:502               trace: built-in: git version
    11:23:51.884933 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:23:51.886932 git.c:502               trace: built-in: git config list --show-scope -z --no-type
    11:23:51.921802 ...\Application.cs:106  trace: [RunInternalAsync] Version: 2.8.0.0
    11:23:51.921802 ...\Application.cs:107  trace: [RunInternalAsync] Runtime: .NET Framework 4.8.9325.0
    11:23:51.921802 ...\Application.cs:108  trace: [RunInternalAsync] Platform: Windows (x86-64)
    11:23:51.921802 ...\Application.cs:109  trace: [RunInternalAsync] OSVersion: 10.0 (build 26200)
    11:23:51.921802 ...\Application.cs:110  trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\bin\git-credential-manager.exe
    11:23:51.921802 ...\Application.cs:111  trace: [RunInternalAsync] InstallDir: C:\Program Files\Git\mingw64\bin\
    11:23:51.921802 ...\Application.cs:112  trace: [RunInternalAsync] Arguments: get
    11:23:51.949554 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'get' command...
    11:23:51.958061 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
    11:23:51.959565 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   capability[]=authtype
    11:23:51.959565 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   capability[]=state
    11:23:51.959565 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   protocol=https
    11:23:51.959565 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   host=testtfs.domain.lan:4443
    11:23:51.959565 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   wwwauth=Negotiate oWswaaADCgEBomIEYGBeBgkqhkiG9xIBAgIDAH5PME2gAwIBBaEDAgEepBEYDzIwMjYwNzA2MDkyMzUyWqUFAgMH5j6mAwIBKakKGwhNQjNNLkxBTqoWMBSgAwIBAaENMAsbCWJvbWJhZGlsJA==
    11:23:51.962902 ...oviderRegistry.cs:99 trace: [GetProviderAsync] Host provider override was set id='generic'
    11:23:51.965196 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Generic' was selected.
    11:23:51.968194 ...icHostProvider.cs:71 trace: [GetCredentialAsync] Looking for existing credential in store with service=https://testtfs.domain.lan:4443 account=...
    11:23:51.972704 ...icHostProvider.cs:76 trace: [GetCredentialAsync] No existing credentials found.
    11:23:51.972704 ...icHostProvider.cs:79 trace: [GetCredentialAsync] Creating new credential...
    11:23:51.977703 ...ricOAuthConfig.cs:38 trace: [TryGet] Invalid OAuth configuration - missing/invalid authorize endpoint:
    11:23:51.977703 ...cHostProvider.cs:176 trace: [GenerateCredentialAsync] Checking host 'https://testtfs.domain.lan:4443/' for Windows Integrated Authentication...
    11:23:51.978703 ...Authentication.cs:90 trace: [GetAuthenticationTypesAsync] HTTP: HEAD https://testtfs.domain.lan:4443/
    11:23:51.979702 ...pClientFactory.cs:60 trace: [CreateClient] Creating new HTTP client instance...
    11:23:51.993847 ...pClientFactory.cs:80 trace: [CreateClient] Git's SSL/TLS backend is: Schannel
    11:23:52.002113 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:23:52.004113 git.c:502               trace: built-in: git config list --show-scope -z --type=path
    11:23:52.013177 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:23:52.014207 git.c:502               trace: built-in: git config list --show-scope -z --type=path
    11:23:52.079758 ...Authentication.cs:93 trace: [GetAuthenticationTypesAsync] HTTP: Response code ignored.
    11:23:52.079758 ...Authentication.cs:95 trace: [GetAuthenticationTypesAsync] Inspecting WWW-Authenticate headers...
    11:23:52.079758 ...uthentication.cs:100 trace: [GetAuthenticationTypesAsync] Found WWW-Authenticate header for Negotiate
    11:23:52.079758 ...cHostProvider.cs:186 trace: [GenerateCredentialAsync] Host supports WIA.
    11:23:52.079758 ...cHostProvider.cs:223 trace: [GenerateCredentialAsync] Returning empty username/password to trigger current user auth with WIA.
    11:23:52.079758 ...\GetCommand.cs:46    trace: [ExecuteInternalAsync] Writing credentials to output:
    11:23:52.079758 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync]   protocol=https
    11:23:52.079758 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync]   host=testtfs.domain.lan:4443
    11:23:52.079758 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync]   username=
    11:23:52.079758 ...\GetCommand.cs:47    trace: [ExecuteInternalAsync]   password=********
    11:23:52.079758 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'get' command...
    11:23:52.101443 http.c:1033             == Info: Could not find host testtfs.domain.lan in the .netrc file; using defaults
    11:23:52.101443 http.c:1033             == Info: Reusing existing https: connection with host testtfs.domain.lan
    11:23:52.101443 http.c:980              => Send header, 0000000237 bytes (0x000000ed)
    11:23:52.101443 http.c:992              => Send header: GET /DefaultCollection/Setup/_git/info/refs?service=git-upload-pack HTTP/1.1
    11:23:52.101443 http.c:992              => Send header: Host: testtfs.domain.lan:4443
    11:23:52.101443 http.c:992              => Send header: User-Agent: git/2.55.0.windows.2
    11:23:52.101443 http.c:992              => Send header: Accept: */*
    11:23:52.101443 http.c:992              => Send header: Accept-Encoding: deflate, gzip, br, zstd
    11:23:52.101443 http.c:992              => Send header: Pragma: no-cache
    11:23:52.101443 http.c:992              => Send header: Git-Protocol: version=2
    11:23:52.101443 http.c:992              => Send header:
    11:23:52.101443 http.c:1033             == Info: Request completely sent off
    11:23:52.105441 http.c:980              <= Recv header, 0000000027 bytes (0x0000001b)
    11:23:52.105441 http.c:992              <= Recv header: HTTP/1.1 401 Unauthorized
    11:23:52.105441 http.c:980              <= Recv header, 0000000025 bytes (0x00000019)
    11:23:52.105441 http.c:992              <= Recv header: Content-Type: text/html
    11:23:52.105441 http.c:980              <= Recv header, 0000000055 bytes (0x00000037)
    11:23:52.105441 http.c:992              <= Recv header: X-TFS-ProcessId: 5477fa02-8f31-4091-8584-fee48338f172
    11:23:52.105441 http.c:980              <= Recv header, 0000000050 bytes (0x00000032)
    11:23:52.105441 http.c:992              <= Recv header: ActivityId: 29559d87-8762-4b1f-8223-3d3cf9ee0823
    11:23:52.105441 http.c:980              <= Recv header, 0000000053 bytes (0x00000035)
    11:23:52.105441 http.c:992              <= Recv header: X-TFS-Session: 29559d87-8762-4b1f-8223-3d3cf9ee0823
    11:23:52.105441 http.c:980              <= Recv header, 0000000051 bytes (0x00000033)
    11:23:52.105441 http.c:992              <= Recv header: X-VSS-E2EID: 29559d87-8762-4b1f-8223-3d3cf9ee0823
    11:23:52.105441 http.c:980              <= Recv header, 0000000064 bytes (0x00000040)
    11:23:52.105441 http.c:992              <= Recv header: X-VSS-SenderDeploymentId: 38c5b6f5-1465-4ba5-9940-15529cad1814
    11:23:52.105441 http.c:980              <= Recv header, 0000000690 bytes (0x000002b2)
    11:23:52.105441 http.c:992              <= Recv header: X-TFS-SoapException: %3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csoap%3AEnvelope%20xmlns%3Asoap%3D%22http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelope%22%3E%3Csoap%3ABody%3E%3Csoap%3AFault%3E%3Csoap%3ACode%3E%3Csoap%3AValue%3Esoap%3AReceiver%3C%2Fsoap%3AValue%3E%3Csoap%3ASubcode%3E%3Csoap%3AValue%3EUnauthorizedRequestException%3C%2Fsoap%3AValue%3E%3C%2Fsoap%3ASubcode%3E%3C%2Fsoap%3ACode%3E%3Csoap%3AReason%3E%3Csoap%3AText%20xml%3Alang%3D%22en%22%3ETF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.%3C%2Fsoap%3AText%3E%3C%2Fsoap%3AReason%3E%3C%2Fsoap%3AFault%3E%3C%2Fsoap%3ABody%3E%3C%2Fsoap%3AEnvelope%3E
    11:23:52.106441 http.c:980              <= Recv header, 0000000128 bytes (0x00000080)
    11:23:52.106441 http.c:992              <= Recv header: X-TFS-ServiceError: TF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.
    11:23:52.106441 http.c:980              <= Recv header, 0000000026 bytes (0x0000001a)
    11:23:52.106441 http.c:992              <= Recv header: WWW-Authenticate: Bearer
    11:23:52.106441 http.c:980              <= Recv header, 0000000055 bytes (0x00000037)
    11:23:52.106441 http.c:992              <= Recv header: WWW-Authenticate: Basic realm="https://testtfs.domain.lan/"
    11:23:52.106441 http.c:980              <= Recv header, 0000000029 bytes (0x0000001d)
    11:23:52.106441 http.c:992              <= Recv header: WWW-Authenticate: Negotiate
    11:23:52.106441 http.c:980              <= Recv header, 0000000023 bytes (0x00000017)
    11:23:52.106441 http.c:992              <= Recv header: X-Powered-By: ASP.NET
    11:23:52.106441 http.c:980              <= Recv header, 0000000124 bytes (0x0000007c)
    11:23:52.106441 http.c:992              <= Recv header: P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
    11:23:52.106441 http.c:980              <= Recv header, 0000000024 bytes (0x00000018)
    11:23:52.106441 http.c:992              <= Recv header: Lfs-Authenticate: NTLM
    11:23:52.106441 http.c:980              <= Recv header, 0000000033 bytes (0x00000021)
    11:23:52.106441 http.c:992              <= Recv header: X-Content-Type-Options: nosniff
    11:23:52.106441 http.c:980              <= Recv header, 0000000037 bytes (0x00000025)
    11:23:52.106441 http.c:992              <= Recv header: Date: Mon, 06 Jul 2026 09:23:52 GMT
    11:23:52.106441 http.c:980              <= Recv header, 0000000023 bytes (0x00000017)
    11:23:52.106441 http.c:992              <= Recv header: Content-Length: 89555
    11:23:52.106441 http.c:980              <= Recv header, 0000000002 bytes (0x00000002)
    11:23:52.106441 http.c:992              <= Recv header:
    11:23:52.106441 http.c:1006             <= Recv data, 0000014865 bytes (0x00003a11)
    11:23:52.106441 http.c:1021             <= Recv data: ...<!DOCTYPE html >..<html>..  <head>..    <title>TF400813:
    11:23:52.106441 http.c:1021             <= Recv data: Resource not available for anonymous access. Client authenti
    11:23:52.106441 http.c:1021             <= Recv data: cation required.</title>..    <style type="text/css">html {.
    11:23:52.106441 http.c:1021             <= Recv data: .    height: 100%;..}....body {..    font-family: "-apple-sy
    11:23:52.106441 http.c:1021             <= Recv data: stem", BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Ne
    11:23:52.106441 http.c:1021             <= Recv data: ue", Helvetica, Ubuntu, Arial, sans-serif, "Apple Color Emoj
    11:23:52.106441 http.c:1021             <= Recv data: i",..        "Segoe UI Emoji", "Segoe UI Symbol";..    font-
    11:23:52.106441 http.c:1021             <= Recv data: size: 14px;..    height: 100%;..    margin: 0;..    backgrou
    11:23:52.106441 http.c:1021             <= Recv data: nd-color: #fff;..}.....container {..    height: 100%;..    d
    11:23:52.106441 http.c:1021             <= Recv data: isplay: flex;..    flex-grow: 1;..    flex-direction: column
    11:23:52.106441 http.c:1021             <= Recv data: ;..}.....header {..    font-size: 14px;..    line-height: 20
    11:23:52.106441 http.c:1021             <= Recv data: px;..    padding-right: 40px;..    display: flex;..    box-s
    11:23:52.106441 http.c:1021             <= Recv data: hadow: 0px 1px 0px rgba(0, 0, 0, 0.08);..}.....header > div,
    11:23:52.106441 http.c:1021             <= Recv data: ...header > a {..    margin: 14px 0px 14px 32px;..    text-d
    11:23:52.106441 http.c:1021             <= Recv data: ecoration: none;..    color: rgba(0, 0, 0, 0.55);..}.....hea
    11:23:52.106441 http.c:1021             <= Recv data: der > div:first-child {..    flex-grow: 1;..    margin-left:
    11:23:52.106441 http.c:1021             <= Recv data:  14px;..    color: #0078d4;..    display: flex;..}.....heade
    11:23:52.106441 http.c:1021             <= Recv data: r > div:first-child > div {..    margin-left: 14px;..}.....c
    11:23:52.106441 http.c:1021             <= Recv data: ontent-container {..    display: flex;..    flex-direction:
    11:23:52.106441 http.c:1021             <= Recv data: column;..    justify-content: center;..    margin-top: 126px
    11:23:52.107442 http.c:1021             <= Recv data: ;..}.....content {..    display: flex;..    justify-content:
    11:23:52.107442 http.c:1021             <= Recv data:  center;..    align-items: center;..}.....error-info {..
    11:23:52.107442 http.c:1021             <= Recv data: display: flex;..    flex-direction: column;..    width: 500p
    11:23:52.107442 http.c:1021             <= Recv data: x;..}.....title {..    font-size: 28px;..    font-weight: bo
    11:23:52.107442 http.c:1021             <= Recv data: ld;..    line-height: 40px;..    letter-spacing: -0.04em;..
    11:23:52.107442 http.c:1021             <= Recv data:    color: #212121;..    margin-bottom: 16px;..}.....details
    11:23:52.107442 http.c:1021             <= Recv data: {..    font-size: 14px;..    line-height: 20px;..    color:
    11:23:52.107442 http.c:1021             <= Recv data: #212121;..    margin-bottom: 16px;..}.....details a {..    t
    11:23:52.107442 http.c:1021             <= Recv data: ext-decoration: none;..    color: #0078d4;..}.....reference-
    11:23:52.107442 http.c:1021             <= Recv data: data {..    font-size: 12px;..    line-height: 16px;..    co
    11:23:52.107442 http.c:1021             <= Recv data: lor: rgba(0, 0, 0, 0.55);..    margin-bottom: 32px;..}.....l
    11:23:52.107442 http.c:1021             <= Recv data: ogo {..    height: 500px;..    width: 500px;..}.....action-c
    11:23:52.107442 http.c:1021             <= Recv data: ontainer {..    display: flex;..}.....action {..    backgrou
    11:23:52.107442 http.c:1021             <= Recv data: nd-color: #0078d4;..    color: #ffffff;..    align-items: ce
    11:23:52.107442 http.c:1021             <= Recv data: nter;..    border-radius: 2px;..    border: 1px solid transp
    11:23:52.107442 http.c:1021             <= Recv data: arent;..    cursor: pointer;..    display: inline-flex;..
    11:23:52.107442 http.c:1021             <= Recv data:  flex-direction: row;..    flex-shrink: 0;..    font-family:
    11:23:52.107442 http.c:1021             <= Recv data:  inherit;..    font-size: inherit;..    font-weight: 600;..
    11:23:52.107442 http.c:1021             <= Recv data:    justify-content: center;..    outline: none;..    overflo
    11:23:52.107442 http.c:1021             <= Recv data: w: visible;..    padding: 6px 12px;..    position: relative;
    11:23:52.107442 http.c:1021             <= Recv data: ..    transition: background 80ms linear;..    text-decorati
    11:23:52.107442 http.c:1021             <= Recv data: on: none;..}.....action:focus {..    box-shadow: 0 0 0 3px r
    11:23:52.107442 http.c:1021             <= Recv data: gba(0, 120, 212, 0.35);..}.....action:hover {..    backgroun
    11:23:52.107442 http.c:1021             <= Recv data: d-color: rgb(0, 103, 181)..}.....action:active {..    backgr
    11:23:52.107442 http.c:1021             <= Recv data: ound-color: rgb(0, 91, 161)..}.....secondary-action {..    t
    11:23:52.107442 http.c:1021             <= Recv data: ext-decoration: none;..    color: #0078d4;..    margin-top:
    11:23:52.107442 http.c:1021             <= Recv data: 16px;..}.....more-info {..    margin: auto;..    display: fl
    11:23:52.107442 http.c:1021             <= Recv data: ex;..    flex-direction: column;..    padding: 0 40px;..}...
    11:23:52.107442 http.c:1021             <= Recv data: ..more-info > div:first-child {..    font-size: 15px;..    f
    11:23:52.107442 http.c:1021             <= Recv data: ont-weight: 700;..}..</style>..  </head>..  <body>..    <div
    11:23:52.107442 http.c:1021             <= Recv data:  class="container">..      <div class="header">..        <di
    11:23:52.107442 http.c:1021             <= Recv data: v>..          <span>..            <img class="header-logo" s
    11:23:52.107442 http.c:1021             <= Recv data: rc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCA
    
    11:23:52.107442 http.c:1021             <= Recv data: hmZ3a8AAAAAElFTkSuQmCC" />..          </span>..          <di
    11:23:52.107442 http.c:1021             <= Recv data: v>Azure DevOps</div>..        </div>..        <a href="https
    11:23:52.107442 http.c:1021             <= Recv data: ://go.microsoft.com/fwlink/?LinkID=242573">Service Status</a
    11:23:52.108441 http.c:1021             <= Recv data: >..        <a href="https://go.microsoft.com/fwlink/?linkid=
    11:23:52.108441 http.c:1021             <= Recv data: 2119200&amp;clcid=0x409">Support</a>..        <a href="https
    11:23:52.108441 http.c:1021             <= Recv data: ://twitter.com/AzureDevOps">@AzureDevOps</a>..      </div>..
    11:23:52.108441 http.c:1021             <= Recv data:       <div class="content-container">..        <div class="c
    11:23:52.108441 http.c:1021             <= Recv data: ontent">..          <div>..            <img class="logo" src
    11:23:52.108441 http.c:1021             <= Recv data: ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+gAAAPoCAYA
    
    11:23:52.139448 http.c:1021             <= Recv data: AaAAB0AAAAAgAH4/wFTs+5SstXLiAAAAABJRU5ErkJggg==" />..
    11:23:52.139448 http.c:1021             <= Recv data:    </div>..          <div class="error-info">..            <
    11:23:52.139448 http.c:1021             <= Recv data: div class="title">401 - Uh-oh, you do not have access.</div>
    11:23:52.139448 http.c:1021             <= Recv data: ..            <div class="details">The request requires auth
    11:23:52.139448 http.c:1021             <= Recv data: entication.</div>..            <div class="reference-data">.
    11:23:52.139448 http.c:1021             <= Recv data: .              <div>7/6/2026 9:23:52 AM (UTC)</div>..
    11:23:52.139448 http.c:1021             <= Recv data:        <div>29559d87-8762-4b1f-8223-3d3cf9ee0823</div>..
    11:23:52.139448 http.c:1021             <= Recv data:         </div>..            <a class="secondary-action" href
    11:23:52.139448 http.c:1021             <= Recv data: ="https://testtfs.domain.lan/_signout?redirectUrl=https%3A%2F%2Ftf
    11:23:52.139448 http.c:1021             <= Recv data: s.domain.lan%2FDefaultCollection%2FSetup%2F_git%2Finfo%2Frefs%
    11:23:52.139448 http.c:1021             <= Recv data: 3Fservice%3Dgit-upload-pack">Sign out and login with differe
    11:23:52.139448 http.c:1021             <= Recv data: nt account</a>..          </div>..        </div>..      </di
    11:23:52.139448 http.c:1021             <= Recv data: v>..    </div>..  </body>..</html>
    11:23:52.139448 http.c:1033             == Info: Connection #0 to host testtfs.domain.lan:4443 left intact
    11:23:52.139448 run-command.c:674       trace: run_command: 'git credential-manager erase'
    11:23:52.139448 run-command.c:946       trace: start_command: 'C:/Program Files/Git/usr/bin/sh.exe' -c 'git credential-manager erase' 'git credential-manager erase'
    11:23:52.163230 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:23:52.163230 git.c:812               trace: exec: git-credential-manager erase
    11:23:52.163230 run-command.c:674       trace: run_command: git-credential-manager erase
    11:23:52.163230 run-command.c:946       trace: start_command: git-credential-manager erase
    11:23:52.217898 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:23:52.219402 git.c:502               trace: built-in: git version
    11:23:52.233103 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
    11:23:52.235104 git.c:502               trace: built-in: git config list --show-scope -z --no-type
    11:23:52.270722 ...\Application.cs:106  trace: [RunInternalAsync] Version: 2.8.0.0
    11:23:52.270722 ...\Application.cs:107  trace: [RunInternalAsync] Runtime: .NET Framework 4.8.9325.0
    11:23:52.270722 ...\Application.cs:108  trace: [RunInternalAsync] Platform: Windows (x86-64)
    11:23:52.271722 ...\Application.cs:109  trace: [RunInternalAsync] OSVersion: 10.0 (build 26200)
    11:23:52.271722 ...\Application.cs:110  trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\bin\git-credential-manager.exe
    11:23:52.271722 ...\Application.cs:111  trace: [RunInternalAsync] InstallDir: C:\Program Files\Git\mingw64\bin\
    11:23:52.271722 ...\Application.cs:112  trace: [RunInternalAsync] Arguments: erase
    11:23:52.300185 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'erase' command...
    11:23:52.308188 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
    11:23:52.310696 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   protocol=https
    11:23:52.310696 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   host=testtfs.domain.lan:4443
    11:23:52.310696 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   username=
    11:23:52.310696 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   password=********
    11:23:52.310696 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   wwwauth[]=Bearer
    11:23:52.310696 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   wwwauth[]=Basic realm="https://testtfs.domain.lan/"
    11:23:52.310696 ...GitCommandBase.cs:47 trace: [ExecuteAsync]   wwwauth[]=Negotiate
    11:23:52.315410 ...oviderRegistry.cs:99 trace: [GetProviderAsync] Host provider override was set id='generic'
    11:23:52.317410 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Generic' was selected.
    11:23:52.317410 ...cHostProvider.cs:117 trace: [EraseCredentialAsync] Erasing stored credential in store with service=https://testtfs.domain.lan:4443 account=...
    11:23:52.322917 ...cHostProvider.cs:124 trace: [EraseCredentialAsync] No credential was erased.
    11:23:52.322917 ...GitCommandBase.cs:53 trace: [ExecuteAsync] End 'erase' command...
    fatal: Authentication failed for 'https://testtfs.domain.lan:4443/DefaultCollection/Setup/_git/'
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    auth-issueauth:wiaexternalplatform:windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions