git-ecosystem / git-credential-manager

Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
Other
6.63k stars 1.72k forks source link

fatal: WAM Error NoNetwork #1443

Open reillysiemens opened 10 months ago

reillysiemens commented 10 months ago

Version

2.1.2.0

Operating system

Windows

OS version or distribution

Windows 11 Build 22621

Git hosting provider(s)

Azure DevOps

Other hosting provider

No response

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

https://dev.azure.com/{org}

Can you access the remote repository directly in the browser?

Yes, I can access the repository

Expected behavior

The user is authenticated and their Git operation completes successfully. If their Git operation does not complete successfully it is at least somewhat obvious what failed and what they might be able to do about it.

Actual behavior

The Git operation failed and the reasons were not obvious. The error code cannot be found in the current list of known error codes associated with WAM.

D:\$DIRECTORY>git pull
fatal: WAM Error
Error Code: 3399942148
Error Message: NoNetwork
WAM Error Message: (pii)
Internal Error Code: 557973641
Is Retryable: true
Username for 'https://dev.azure.com/$ORGANIZATION/_git/$ORGANIZATION': AzureDiamond
Password for 'https://dev.azure.com/$ORGANIZATION/_git/$ORGANIZATION': hunter2
fatal: Authentication failed for 'https://dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git/$ORGANIZATION'

Logs

A redacted stack trace of what the user encountered follows. These environment variables were set.

C:\$DIRECTORY>git pull
14:48:30.822429 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
14:48:30.853489 git.c:511               trace: built-in: git pull
14:48:30.914172 run-command.c:655       trace: run_command: git fetch --update-head-ok
14:48:30.928172 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:30.961132 git.c:511               trace: built-in: git fetch --update-head-ok
14:48:31.025200 run-command.c:655       trace: run_command: git gvfs-helper --fallback --cache-server=trust --shared-cache=J:/.scalarCache/id_ba47400f-eebe-4850-a8bf-ef694ef81414 server
14:48:31.039207 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:31.071347 git.c:800               trace: exec: git-gvfs-helper --fallback --cache-server=trust --shared-cache=J:/.scalarCache/id_ba47400f-eebe-4850-a8bf-ef694ef81414 server
14:48:31.071347 run-command.c:655       trace: run_command: git-gvfs-helper --fallback --cache-server=trust --shared-cache=J:/.scalarCache/id_ba47400f-eebe-4850-a8bf-ef694ef81414 server
14:48:31.087852 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:31.123383 run-command.c:655       trace: run_command: 'git credential-manager get'
14:48:31.356739 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:31.397758 git.c:800               trace: exec: git-credential-manager get
14:48:31.397758 run-command.c:655       trace: run_command: git-credential-manager get
14:48:31.486408 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:31.518953 git.c:511               trace: built-in: git config --null --list
14:48:31.571569 ...\Application.cs:95   trace: [RunInternalAsync] Version: 2.1.2.0
14:48:31.572569 ...\Application.cs:96   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
14:48:31.572569 ...\Application.cs:97   trace: [RunInternalAsync] Platform: Windows (x86-64)
14:48:31.572569 ...\Application.cs:98   trace: [RunInternalAsync] OSVersion: 10.0 (build 22621)
14:48:31.572569 ...\Application.cs:99   trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\bin\git-credential-manager.exe
14:48:31.572569 ...\Application.cs:100  trace: [RunInternalAsync] InstallDir: C:\Program Files\Git\mingw64\bin\
14:48:31.573570 ...\Application.cs:101  trace: [RunInternalAsync] Arguments: get
14:48:31.617107 ...GitCommandBase.cs:33 trace: [ExecuteAsync] Start 'get' command...
14:48:31.625105 ...GitCommandBase.cs:47 trace: [ExecuteAsync] Detecting host provider for input:
14:48:31.625105 ...GitCommandBase.cs:48 trace: [ExecuteAsync]   protocol=https
14:48:31.626105 ...GitCommandBase.cs:48 trace: [ExecuteAsync]   host=dev.azure.com
14:48:31.628106 ...GitCommandBase.cs:48 trace: [ExecuteAsync]   path=$PATH
14:48:31.631106 ...viderRegistry.cs:149 trace: [GetProviderAsync] Performing auto-detection of host provider.
14:48:31.632109 ...viderRegistry.cs:162 trace: [GetProviderAsync] Auto-detect probe timeout is 2 ms.
14:48:31.633110 ...viderRegistry.cs:170 trace: [GetProviderAsync] Checking against 4 host providers registered with priority 'Normal'.
14:48:31.634111 ...GitCommandBase.cs:50 trace: [ExecuteAsync] Host provider 'Azure Repos' was selected.
14:48:31.635110 ...sHostProvider.cs:403 trace: [UsePersonalAccessTokens] Azure Repos credential type override set to 'oauth'
14:48:31.637111 ...sHostProvider.cs:237 trace: [GetAzureAccessTokenAsync] Determining Microsoft Authentication authority for Azure DevOps organization '$ORGANIZATION'...
14:48:31.638110 ...AuthorityCache.cs:57 trace: [GetAuthority] Looking up cached authority for organization '$ORGANIZATION'...
14:48:31.656384 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:31.692409 git.c:511               trace: built-in: git version
14:48:31.713588 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:31.770703 git.c:511               trace: built-in: git config --null --global credential.azrepos:org/$ORGANIZATION.azureAuthority
14:48:31.777227 ...sHostProvider.cs:242 trace: [GetAzureAccessTokenAsync] No cached authority value - querying https://dev.azure.com/$ORGANIZATION for authority...
14:48:31.779226 ...eDevOpsRestApi.cs:43 trace: [GetAuthorityAsync] HTTP: HEAD https://dev.azure.com/$ORGANIZATION
14:48:31.780227 ...pClientFactory.cs:60 trace: [CreateClient] Creating new HTTP client instance...
14:48:31.821440 ...pClientFactory.cs:80 trace: [CreateClient] Git's SSL/TLS backend is: OpenSsl
14:48:31.836512 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:31.874753 git.c:511               trace: built-in: git config --null --type=path http.https://dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git/$ORGANIZATION.sslCAInfo
14:48:31.895791 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:31.947540 git.c:511               trace: built-in: git config --null --type=path http.dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git/$ORGANIZATION.sslCAInfo
14:48:31.967616 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.027999 git.c:511               trace: built-in: git config --null --type=path http.https://dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git.sslCAInfo
14:48:32.046005 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.107639 git.c:511               trace: built-in: git config --null --type=path http.dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git.sslCAInfo
14:48:32.126147 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.174274 git.c:511               trace: built-in: git config --null --type=path http.https://dev.azure.com/$ORGANIZATION/$ORGANIZATION.sslCAInfo
14:48:32.193322 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.260010 git.c:511               trace: built-in: git config --null --type=path http.dev.azure.com/$ORGANIZATION/$ORGANIZATION.sslCAInfo
14:48:32.279246 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.332388 git.c:511               trace: built-in: git config --null --type=path http.https://dev.azure.com/$ORGANIZATION.sslCAInfo
14:48:32.352537 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.402147 git.c:511               trace: built-in: git config --null --type=path http.dev.azure.com/$ORGANIZATION.sslCAInfo
14:48:32.420153 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.472736 git.c:511               trace: built-in: git config --null --type=path http.https://dev.azure.com.sslCAInfo
14:48:32.493276 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.550804 git.c:511               trace: built-in: git config --null --type=path http.dev.azure.com.sslCAInfo
14:48:32.571359 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.638605 git.c:511               trace: built-in: git config --null --type=path http.https://azure.com.sslCAInfo
14:48:32.662132 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.734358 git.c:511               trace: built-in: git config --null --type=path http.azure.com.sslCAInfo
14:48:32.752867 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.797393 git.c:511               trace: built-in: git config --null --type=path http.sslCAInfo
14:48:32.814521 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.863828 git.c:511               trace: built-in: git config --null --type=path http.https://dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git/$ORGANIZATION.sslCAInfo
14:48:32.881937 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:32.931111 git.c:511               trace: built-in: git config --null --type=path http.dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git/$ORGANIZATION.sslCAInfo
14:48:32.947113 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.002301 git.c:511               trace: built-in: git config --null --type=path http.https://dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git.sslCAInfo
14:48:33.019280 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.065404 git.c:511               trace: built-in: git config --null --type=path http.dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git.sslCAInfo
14:48:33.082413 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.141678 git.c:511               trace: built-in: git config --null --type=path http.https://dev.azure.com/$ORGANIZATION/$ORGANIZATION.sslCAInfo
14:48:33.161163 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.212213 git.c:511               trace: built-in: git config --null --type=path http.dev.azure.com/$ORGANIZATION/$ORGANIZATION.sslCAInfo
14:48:33.229222 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.286896 git.c:511               trace: built-in: git config --null --type=path http.https://dev.azure.com/$ORGANIZATION.sslCAInfo
14:48:33.301873 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.349590 git.c:511               trace: built-in: git config --null --type=path http.dev.azure.com/$ORGANIZATION.sslCAInfo
14:48:33.369777 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.419028 git.c:511               trace: built-in: git config --null --type=path http.https://dev.azure.com.sslCAInfo
14:48:33.440073 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.490684 git.c:511               trace: built-in: git config --null --type=path http.dev.azure.com.sslCAInfo
14:48:33.510136 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.566189 git.c:511               trace: built-in: git config --null --type=path http.https://azure.com.sslCAInfo
14:48:33.584706 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.634061 git.c:511               trace: built-in: git config --null --type=path http.azure.com.sslCAInfo
14:48:33.652115 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.711147 git.c:511               trace: built-in: git config --null --type=path http.sslCAInfo
14:48:33.716147 ...ClientFactory.cs:113 trace: [CreateClient] Custom certificate verification has been enabled with certificate bundle at C:/Program Files/Git/mingw64/etc/ssl/certs/ca-bundle.crt
14:48:33.821000 ...eDevOpsRestApi.cs:46 trace: [GetAuthorityAsync] HTTP: Response code ignored.
14:48:33.821000 ...eDevOpsRestApi.cs:47 trace: [GetAuthorityAsync] Inspecting headers...
14:48:33.823001 ...eDevOpsRestApi.cs:54 trace: [GetAuthorityAsync] Found WWW-Authenticate header with Bearer authority 'https://login.microsoftonline.com/$TENANT'.
14:48:33.823001 ...AuthorityCache.cs:74 trace: [UpdateAuthority] Updating cached authority for '$ORGANIZATION' to 'https://login.microsoftonline.com/$TENANT'...
14:48:33.838512 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.882698 git.c:511               trace: built-in: git config --global credential.azrepos:org/$ORGANIZATION.azureAuthority https://login.microsoftonline.com/$TENANT
14:48:33.889697 ...sHostProvider.cs:246 trace: [GetAzureAccessTokenAsync] Authority is 'https://login.microsoftonline.com/$TENANT'.
14:48:33.889697 ...sHostProvider.cs:268 trace: [GetAzureAccessTokenAsync] Looking up user for organization '$ORGANIZATION'...
14:48:33.890696 ...BindingManager.cs:94 trace: [GetBinding] Looking up organization binding for '$ORGANIZATION'...
14:48:33.908240 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:33.952399 git.c:511               trace: built-in: git config --null --local credential.azrepos:org/$ORGANIZATION.username
14:48:33.969753 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:48:34.028833 git.c:511               trace: built-in: git config --null --global credential.azrepos:org/$ORGANIZATION.username
14:48:34.032860 ...sHostProvider.cs:272 trace: [GetAzureAccessTokenAsync] No user found.
14:48:34.032860 ...sHostProvider.cs:275 trace: [GetAzureAccessTokenAsync] Getting Azure AD access token...
14:48:34.039834 ...Authentication.cs:66 trace: [GetTokenAsync] OS broker is available and enabled.
14:48:34.047834 ...uthentication.cs:349 trace: [CreatePublicClientApplicationAsync] Using console parent window ID '723674' for MSAL authentication dialogs.
14:48:34.070357 ...uthentication.cs:393 trace: [RegisterTokenCacheAsync] Configuring Microsoft Authentication token cache to instance shared with Microsoft developer tools...
14:48:34.091385 ...uthentication.cs:449 trace: [RegisterTokenCacheAsync] Microsoft developer tools token cache configured.
14:48:34.093386 ...uthentication.cs:290 trace: [GetAccessTokenSilentlyAsync] Attempting to acquire token silently for current operating system account...
14:48:34.106457 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z - $CORRELATION_ID] MSAL MSAL.Desktop with assembly version '4.52.0.0'. CorrelationId($CORRELATION_ID)
14:48:34.113458 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z - $CORRELATION_ID] === AcquireTokenSilent Parameters ===
14:48:34.114468 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z - $CORRELATION_ID] LoginHint provided: False
14:48:34.114468 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z - $CORRELATION_ID] Account provided: True
14:48:34.114468 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z - $CORRELATION_ID] ForceRefresh: False
14:48:34.120012 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z - $CORRELATION_ID]
=== Request Data ===
Authority Provided? - True
Scopes - $SCOPE/.default
Extra Query Params Keys (space separated) -
ApiId - AcquireTokenSilent
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - True
HomeAccountId - False
CorrelationId - $CORRELATION_ID
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

14:48:34.121012 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z - $CORRELATION_ID] === Token Acquisition (SilentRequest) started:
         Scopes: $SCOPE/.default
        Authority Host: login.microsoftonline.com
14:48:34.125010 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z - $CORRELATION_ID] Broker is configured and enabled, attempting to use broker instead.
14:48:34.127977 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [RuntimeBroker] WAM supported OS.
14:48:34.140015 ...uthentication.cs:514 trace: [MSAL] [Verbose] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [WAM Broker] MsalRuntime initialization successful.
14:48:34.142016 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z - $CORRELATION_ID] Can invoke broker. Will attempt to acquire token with broker.
14:48:34.145016 ...uthentication.cs:514 trace: [MSAL] [Verbose] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [RuntimeBroker] Acquiring token silently for default account.
14:48:34.147538 ...uthentication.cs:514 trace: [MSAL] [Verbose] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [RuntimeBroker] Validating Common Auth Parameters.
14:48:34.149566 ...uthentication.cs:514 trace: [MSAL] [Verbose] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [WamBroker] Scopes were passed in the request.
14:48:34.151564 ...uthentication.cs:514 trace: [MSAL] [Verbose] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [WamBroker] Acquired Common Auth Parameters.
14:48:34.156565 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [MSAL:0001]     INFO    SetCorrelationId:220    Set correlation ID: $CORRELATION_ID
14:48:34.157561 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [MSAL:0001]     INFO    EnqueueBackgroundRequest:677    The original authority is 'https://login.microsoftonline.com/$TENANT'
14:48:34.158560 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [MSAL:0001]     INFO    ModifyAndValidateAuthParameters:182     Additional query parameter added successfully. Key: '(pii)' Value: '(pii)'
14:48:34.159561 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [MSAL:0001]     INFO    ModifyAndValidateAuthParameters:182     Additional query parameter added successfully. Key: '(pii)' Value: '(pii)'
14:48:34.159561 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [MSAL:0001]     INFO    ModifyAndValidateAuthParameters:199     Authority Realm: $TENANT
14:48:34.164564 ...uthentication.cs:514 trace: [MSAL] [Warning] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [MSAL:0002]  WARNING TryReadUniversalStorage:766     No access token found in the cache
14:48:34.165564 ...uthentication.cs:514 trace: [MSAL] [Warning] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [MSAL:0002]  WARNING ReadAccountById:225     Account id is empty - account not found
14:48:34.166564 ...uthentication.cs:514 trace: [MSAL] [Error] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:34Z] [MSAL:0002]    ERROR   ErrorInternalImpl:134   Created an error: 8xg43, StatusInternal::InteractionRequired, InternalEvent::None, Error Code 0, Context 'Could not find an account. Both local account ID and legacy MacOS user ID are not present'
14:48:41.370921 ...uthentication.cs:514 trace: [MSAL] [Error] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]    ERROR   ErrorInternalImpl:134     Created an error: 7q6cj, StatusInternal::NoNetwork, InternalEvent::None, Error Code 3399942148, Context '(pii)'
14:48:41.374920 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:332      Printing Telemetry for Correlation ID: $CORRELATION_ID
14:48:41.377935 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: start_time, Value: 2023-10-11T21:48:34.000Z
14:48:41.377935 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: api_name, Value: SignInSilently
14:48:41.377935 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: was_request_throttled, Value: false
14:48:41.378972 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: request_duration, Value: 7216
14:48:41.378972 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: authority_type, Value: Unknown
14:48:41.395015 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: read_token, Value: ID|FRT
14:48:41.425224 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: msal_version, Value: 1.1.0+local
14:48:41.425224 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: client_id, Value: $CLIENT
14:48:41.426224 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: correlation_id, Value: $CORRELATION_ID
14:48:41.426224 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: stop_time, Value: 2023-10-11T21:48:41.000Z
14:48:41.426224 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: msalruntime_version, Value: 0.13.7
14:48:41.426224 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: original_authority, Value: https://login.microsoftonline.com/$TENANT
14:48:41.426224 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: request_eligible_for_broker, Value: true
14:48:41.427235 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: broker_app_used, Value: true
14:48:41.427235 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: additional_query_parameters_count, Value: 2
14:48:41.427235 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: is_successful, Value: false
14:48:41.427235 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: wam_telemetry, Value: {"ui_visible":false,"scope":"$SCOPE/.default offline_access openid profile","redirect_uri":"ms-appx-web://Microsoft.AAD.BrokerPlugin/$CLIENT","provider_id":"https://login.windows.net","oauth_error_code":"authentication_failed","http_event_count":1,"device_join":"haadj","correlation_id":"{$CORRELATION_ID}","client_id":"$CLIENT","cache_event_count":0,"broker_version":"10.0.22621.1928","authority":"https://login.microsoftonline.com/$TENANT","api_error_code":-895025148,"account_join_on_start":"primary","account_join_on_end":"primary","silent_code":0,"silent_bi_sub_code":0,"silent_message":"","silent_status":0,"is_cached":0}
14:48:41.428253 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: api_error_code, Value: 3399942148
14:48:41.428792 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: api_error_tag, Value: 7q6cj
14:48:41.428792 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: api_status_code, Value: StatusInternal::NoNetwork
14:48:41.428792 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: api_error_context, Value: (pii)
14:48:41.428792 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: all_error_tags, Value: 7q6cj|7q6cj
14:48:41.429801 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:340      Key: authorization_type, Value: WindowsIntegratedAuth
14:48:41.429801 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:345      Printing Execution Flow:
14:48:41.429801 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [MSAL:0002]     INFO    LogTelemetryData:353      {"t":"646u1","tid":1,"ts":0,"l":2},{"t":"8b2yn","tid":2,"ts":2,"l":2},{"t":"8dqkx","tid":2,"ts":2,"l":2},{"t":"8dqik","tid":2,"ts":2,"l":2},{"t":"8b2hr","tid":2,"ts":2,"l":2},{"t":"8dqik","tid":2,"ts":4,"l":2},{"t":"8b2ht","tid":2,"ts":4,"l":2},{"t":"7e60d","tid":2,"ts":4,"l":2,"a":2,"ie":0},{"t":"7e60e","tid":2,"ts":4,"l":2,"a":2,"ie":1},{"t":"8dqin","tid":2,"ts":4,"l":2},{"t":"7e60f","tid":2,"ts":4,"l":2,"a":2,"ie":0},{"t":"7e60g","tid":2,"ts":5,"l":2,"a":2,"ie":1},{"t":"8dqir","tid":2,"ts":5,"l":2},{"t":"7e60h","tid":2,"ts":6,"l":2,"a":2,"ie":0},{"t":"7e60i","tid":2,"ts":7,"l":2,"a":2,"ie":1},{"t":"8dqit","tid":2,"ts":7,"l":2},{"t":"8b2hu","tid":2,"ts":7,"l":2},{"t":"5b8fg","tid":2,"ts":8,"l":2},{"t":"694nj","tid":2,"ts":8,"l":2,"a":10,"ie":0},{"t":"4wqnh","tid":2,"ts":8,"l":2},{"t":"4wqni","tid":2,"ts":14,"l":2},{"t":"4wqnf","tid":2,"ts":31,"l":2},{"t":"6layj","tid":2,"ts":39,"l":2},{"t":"4wqm5","tid":2,"ts":39,"l":2},{"t":"4wqm7","tid":2,"ts":39,"l":2},{"t":"58yep","tid":2,"ts":7216,"l":2},{"t":"694nk","tid":2,"ts":7216,"l":2,"a":10,"ie":1},{"t":"8dqk1","tid":2,"ts":7216,"l":2},{"t":"646u1","tid":2,"ts":7216,"l":2}
14:48:41.433828 ...uthentication.cs:514 trace: [MSAL] [Error] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [WamBroker] Could not acquire token silently for the default user. Status: NoNetwork
Error: 0xcaa70004
Context: (pii)
Tag: 0x21420089
14:48:41.434830 ...uthentication.cs:514 trace: [MSAL] [Info] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [WamBroker] Processing WAM exception
14:48:41.435828 ...uthentication.cs:514 trace: [MSAL] [Verbose] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [WamBroker] TelemetryData: {"additional_query_parameters_count":"2","all_error_tags":"7q6cj|7q6cj","api_error_code":"3399942148","api_error_context":"(pii)","api_error_tag":"7q6cj","api_name":"SignInSilently","api_status_code":"StatusInternal::NoNetwork","authority_type":"Unknown","authorization_type":"WindowsIntegratedAuth","broker_app_used":"true","client_id":"$CLIENT","correlation_id":"$CORRELATION_ID","is_successful":"false","msal_version":"1.1.0+local","msalruntime_version":"0.13.7","original_authority":"https://login.microsoftonline.com/$TENANT","read_token":"ID|FRT","request_duration":"7216","request_eligible_for_broker":"true","start_time":"2023-10-11T21:48:34.000Z","stop_time":"2023-10-11T21:48:41.000Z","wam_telemetry":"{\"ui_visible\":false,\"scope\":\"$SCOPE/.default offline_access openid profile\",\"redirect_uri\":\"ms-appx-web://Microsoft.AAD.BrokerPlugin/$CLIENT\",\"provider_id\":\"https://login.windows.net\",\"oauth_error_code\":\"authentication_failed\",\"http_event_count\":1,\"device_join\":\"haadj\",\"correlation_id\":\"{$CORRELATION_ID}\",\"client_id\":\"$CLIENT\",\"cache_event_count\":0,\"broker_version\":\"10.0.22621.1928\",\"authority\":\"https://login.microsoftonline.com/$TENANT\",\"api_error_code\":-895025148,\"account_join_on_start\":\"primary\",\"account_join_on_end\":\"primary\",\"silent_code\":0,\"silent_bi_sub_code\":0,\"silent_message\":\"\",\"silent_status\":0,\"is_cached\":0}","was_request_throttled":"false"}
14:48:41.435828 ...uthentication.cs:514 trace: [MSAL] [Error] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z] [WamBroker] WAM_network_error_3399942148 WAM Error
Error Code: 3399942148
Error Message: NoNetwork
WAM Error Message: (pii)
Internal Error Code: 557973641
Is Retryable: true
14:48:41.437829 ...uthentication.cs:514 trace: [MSAL] [Verbose] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z - $CORRELATION_ID] Broker could not satisfy silent request.
14:48:41.443834 ...uthentication.cs:514 trace: [MSAL] [Error] False MSAL 4.52.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-10-11 21:48:41Z - $CORRELATION_ID] Exception type: Microsoft.Identity.Client.MsalServiceException
, ErrorCode: 3399942148
HTTP StatusCode 0
CorrelationId

   at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.Internal.Requests.RequestBase.<RunAsync>d__12.MoveNext()
fatal: WAM Error
Error Code: 3399942148
Error Message: NoNetwork
WAM Error Message: (pii)
Internal Error Code: 557973641
Is Retryable: true
   at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.Internal.Requests.RequestBase.<RunAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.ApiConfig.Executors.ClientApplicationBaseExecutor.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at GitCredentialManager.Authentication.MicrosoftAuthentication.<GetAccessTokenSilentlyAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at GitCredentialManager.Authentication.MicrosoftAuthentication.<GetTokenAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.AzureRepos.AzureReposHostProvider.<GetAzureAccessTokenAsync>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.AzureRepos.AzureReposHostProvider.<GetCredentialAsync>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at GitCredentialManager.Commands.GetCommand.<ExecuteInternalAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at GitCredentialManager.Commands.GitCommandBase.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.CommandLine.Invocation.CommandHandler.<GetExitCodeAsync>d__70.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.CommandLine.Invocation.ModelBindingCommandHandler.<InvokeAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass27_0.<<UseVersionOption>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__24_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass11_0.<<UseDebugDirective>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__10_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseExceptionHandler>b__0>d.MoveNext()
14:48:41.526525 run-command.c:655       trace: run_command: bash -c 'cat >/dev/tty && read -r line </dev/tty && echo "$line"'
Username for 'https://dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git/$ORGANIZATION':
14:50:24.623588 run-command.c:655       trace: run_command: bash -c 'cat >/dev/tty && read -r line </dev/tty && echo "$line"'
Username for 'https://dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git/$ORGANIZATION':
14:50:24.894567 run-command.c:655       trace: run_command: bash -c 'cat >/dev/tty && read -r -s line </dev/tty && echo "$line" && echo >/dev/tty'
Password for 'https://dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git/$ORGANIZATION':
14:50:30.723291 run-command.c:655       trace: run_command: 'git credential-manager erase'
14:50:30.963416 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:50:31.007931 git.c:800               trace: exec: git-credential-manager erase
14:50:31.007931 run-command.c:655       trace: run_command: git-credential-manager erase
14:50:31.099232 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:50:31.130742 git.c:511               trace: built-in: git config --null --list
14:50:31.183252 ...\Application.cs:95   trace: [RunInternalAsync] Version: 2.1.2.0
14:50:31.183252 ...\Application.cs:96   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
14:50:31.183252 ...\Application.cs:97   trace: [RunInternalAsync] Platform: Windows (x86-64)
14:50:31.184250 ...\Application.cs:98   trace: [RunInternalAsync] OSVersion: 10.0 (build 22621)
14:50:31.184250 ...\Application.cs:99   trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\bin\git-credential-manager.exe
14:50:31.195251 ...\Application.cs:100  trace: [RunInternalAsync] InstallDir: C:\Program Files\Git\mingw64\bin\
14:50:31.195251 ...\Application.cs:101  trace: [RunInternalAsync] Arguments: erase
14:50:31.237772 ...GitCommandBase.cs:33 trace: [ExecuteAsync] Start 'erase' command...
14:50:31.244693 ...GitCommandBase.cs:47 trace: [ExecuteAsync] Detecting host provider for input:
14:50:31.245661 ...GitCommandBase.cs:48 trace: [ExecuteAsync]   protocol=https
14:50:31.245661 ...GitCommandBase.cs:48 trace: [ExecuteAsync]   host=dev.azure.com
14:50:31.246694 ...GitCommandBase.cs:48 trace: [ExecuteAsync]   path=$ORGANIZATION/$ORGANIZATION/_git/$ORGANIZATION
14:50:31.265941 ...GitCommandBase.cs:48 trace: [ExecuteAsync]   username=
14:50:31.266941 ...GitCommandBase.cs:48 trace: [ExecuteAsync]   password=********
14:50:31.291029 ...viderRegistry.cs:149 trace: [GetProviderAsync] Performing auto-detection of host provider.
14:50:31.291029 ...viderRegistry.cs:162 trace: [GetProviderAsync] Auto-detect probe timeout is 2 ms.
14:50:31.304059 ...viderRegistry.cs:170 trace: [GetProviderAsync] Checking against 4 host providers registered with priority 'Normal'.
14:50:31.305093 ...GitCommandBase.cs:50 trace: [ExecuteAsync] Host provider 'Azure Repos' was selected.
14:50:31.344286 ...sHostProvider.cs:403 trace: [UsePersonalAccessTokens] Azure Repos credential type override set to 'oauth'
14:50:31.345286 ...sHostProvider.cs:164 trace: [EraseCredentialAsync] Signing out of organization '$ORGANIZATION'...
14:50:31.366714 ...BindingManager.cs:94 trace: [GetBinding] Looking up organization binding for '$ORGANIZATION'...
14:50:31.403099 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:50:31.440183 git.c:511               trace: built-in: git version
14:50:31.464701 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:50:31.526066 git.c:511               trace: built-in: git config --null --local credential.azrepos:org/$ORGANIZATION.username
14:50:31.552705 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:50:31.599787 git.c:511               trace: built-in: git config --null --global credential.azrepos:org/$ORGANIZATION.username
14:50:31.602887 ...indingManager.cs:119 trace: [Bind] Setting binding to 'do not inherit' for organization '$ORGANIZATION' in local repository...
14:50:31.620416 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:50:31.667961 git.c:511               trace: built-in: git rev-parse --absolute-git-dir
14:50:31.689489 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:50:31.753546 git.c:511               trace: built-in: git config --local credential.azrepos:org/$ORGANIZATION.username ''
14:50:31.762590 ...AuthorityCache.cs:84 trace: [EraseAuthority] Removing cached authority for '$ORGANIZATION'...
14:50:31.778086 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:50:31.834302 git.c:511               trace: built-in: git config --global --unset credential.azrepos:org/$ORGANIZATION.azureAuthority
14:50:31.845383 ...GitCommandBase.cs:54 trace: [ExecuteAsync] End 'erase' command...
fatal: Authentication failed for 'https://dev.azure.com/$ORGANIZATION/$ORGANIZATION/_git/$ORGANIZATION/'
14:50:31.891910 run-command.c:1523      run_processes_parallel: preparing to run up to 1 tasks
14:50:31.891910 run-command.c:655       trace: run_command: $DIRECTORY/.git/hooks/post-command pull --git-pid=34104 --exit_code=1
14:50:32.197096 run-command.c:1551      run_processes_parallel: done
mjcheetham commented 10 months ago

Hello! A quick search for those WAM error codes seems to indicate there may be a problem with your network access, possibly access through a proxy or via a firewall.

Do you have any proxies or restrictive firewalls in the way? Does this affect other applications that use the Windows broker (WAM) such as Office/Teams etc?

Error Code: 3399942148
Error Message: NoNetwork
WAM Error Message: (pii)
Internal Error Code: 557973641
reillysiemens commented 10 months ago

@mjcheetham: At the time of the report the user did not have any obvious restrictive configurations and was actively using many other networked applications (such as Teams, Edge, etc.) without issue, which is part of why this was so confusing. 😕

ldennington commented 10 months ago

@reillysiemens - is this something that happens frequently or was it a one off?

@bgavrilMS - do you know of a way for us to get more detailed WAM logs to help diagnose this issue?

reillysiemens commented 10 months ago

@ldennington: This is something we've seen happen a handful of times before, but never had a consistent repro for or this level of debugging output. This is the first time we've been able to capture this much detail about the surrounding circumstances.

As far as we can tell it doesn't happen frequently or to a large swath of users, but it's also not been a completely isolated event. We're working with the user now to understand if we can still consistently repro this for them.

This particular issue was further complicated by the fact that the user's environment was configured to use

credential.msauthUseBroker true
credential.msauthUseDefaultAccount true

Per the GCM docs on credential.msauthFlow it sounds like if broker use is enabled then other flows won't be tried. In this case we unblocked the user by having them run

git config --local credential.msauthUseBroker false
git config --local credential.msauthUseDefaultAccount false

, but I'm not sure that's the ideal long-term solution. Is there a reason why other flows wouldn't be tried if the broker fails? Or am I misunderstanding the logic there?

mjcheetham commented 10 months ago

This particular issue was further complicated by the fact that the user's environment was configured to use

This is not the default configuration. One of the many reasons we don't enable broker by default is because of problems like this (vague failure modes and errors).

Is there a reason why other flows wouldn't be tried if the broker fails? Or am I misunderstanding the logic there?

We always expect the broker to work, or at least show some sort of user-visible and actionable error messages. Could we catch errors like this and fall-back to a non-broker flow? Yes, but since we do not include telemetry in GCM this sort of error would go unnoticed and then we'd no doubt be getting questions like "why didn't GCM use the broker even though I set the config? it's using a different flow?".

@bgavrilMS any clues as to what this error is? It appears to be coming from WAM/MSAL Runtime.

gustavoaca1997 commented 1 month ago

We have some users having this same issue:


WAM Error
Error Code: 3399942148
Error Message: NoNetwork
WAM Error Message: (pii)
Internal Error Code: 557973641
Possible cause: no Internet connection

The current conclusion is that it's a client side error?

aries-zhang commented 1 month ago

Hi team, we got the exact same error when trying to simulate a user's network environment which has SSL decryption in their firewall with Fiddler.

The network path is something like this:

Fiddler proxy configured at Windows OS level + Fiddler root CA trusted <--> Fiddler proxy with SSL decryption enabled <--> Internet

It is worth noting that the silent token requests are successful, but it fails whenever it involves an interactive token request.

WAM Error  
 Error Code: 3399942148 
 Error Message: NoNetwork 
 WAM Error Message: (pii) 
 Internal Error Code: 557973641 
 Possible cause: no Internet connection 

Other network requests in the same app work well with the same proxy + trusted CA settings. Any idea if any extra configs are required in this setup? A lot of enterprise users have this kind of network configuration, so we are getting quite a few customer complains WRT this issue.