Open edgariscoding opened 5 years ago
same issue with Visual Studio 2019
Sorry for the delay here @edgariscoding
A few questions:
@jeschu1 A few questions:
It worked a few weeks ago.
Yes, here is the result of settings the trace environment vars to 1. Setting them to log to a file does seem to work. See the log attached at the bottom of this reply.
edgar.sanchez@DESK-3425 MINGW64 ~/source/repos/App (develop)
$ GCM_TRACE=1
edgar.sanchez@DESK-3425 MINGW64 ~/source/repos/App (develop)
$ GIT_TRACE=1
edgar.sanchez@DESK-3425 MINGW64 ~/source/repos/App (develop)
$ git push
Logon failed, use ctrl+c to cancel basic credential prompt.
Logon failed, use ctrl+c to cancel basic credential prompt.
error: unable to read askpass response from 'C:/Program Files/Git/mingw64/libexec/git-core/git-gui--askpass'
Username for 'https://dev.azure.com':
Exiting because of "interrupt" signal.
edgar.sanchez@DESK-3425 MINGW64 ~/source/repos/App (develop)
$ ^C
Running VS as administrator.
I'm not using VPN and I'm in a corporate environment. I doubt this is the issue though, I have two other repos configured in VS and I can push to those just fine. Same DevOps Organization just different Project.
11:38:54.630984 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
11:38:54.634982 git.c:439 trace: built-in: git push
11:38:54.636981 run-command.c:663 trace: run_command: GIT_DIR=.git git remote-https origin 'https://dev.azure.com/Company/App%20Project/_git/App'
11:38:54.648977 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:54.651976 git.c:704 trace: exec: git-remote-https origin 'https://dev.azure.com/Company/App%20Project/_git/App'
11:38:54.651976 run-command.c:663 trace: run_command: git-remote-https origin 'https://dev.azure.com/Company/App%20Project/_git/App'
11:38:54.721952 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:55.082826 run-command.c:663 trace: run_command: 'git credential-manager get'
11:38:55.247769 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:55.249768 git.c:704 trace: exec: git-credential-manager get
11:38:55.249768 run-command.c:663 trace: run_command: git-credential-manager get
11:38:55.385720 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'get'
11:38:55.453697 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:38:55.459695 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:38:55.523672 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://dev.azure.com/'.
11:38:55.888545 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/Company/' as Azure DevOps from GET response.
11:38:55.889545 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/Company/' is {00000000000000000000000000000000}.
11:38:55.890544 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:38:55.934529 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://dev.azure.com/' is Microsoft Live.
11:38:55.934529 ...\Common.cs:765 trace: [QueryCredentials] querying 'MicrosoftAccount' for credentials.
11:38:55.941526 ...uthentication.cs:384 trace: [GetCredentials] credentials for 'https://dev.azure.com/' found.
11:38:56.355382 ...\Common.cs:849 trace: [QueryCredentials] credentials for 'https://dev.azure.com/' found.
11:38:56.356382 ...\Common.cs:709 trace: [LogEvent] Microsoft Live credentials for 'https://dev.azure.com/' successfully retrieved.
11:38:56.741247 run-command.c:663 trace: run_command: 'git credential-manager store'
11:38:56.775236 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:56.777235 git.c:704 trace: exec: git-credential-manager store
11:38:56.777235 run-command.c:663 trace: run_command: git-credential-manager store
11:38:56.842212 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'store'
11:38:56.912188 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:38:56.918186 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:38:56.962170 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://PersonalAccessToken@dev.azure.com/'.
11:38:57.235075 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/Company/' as Azure DevOps from GET response.
11:38:57.236075 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/Company/' is {00000000000000000000000000000000}.
11:38:57.237075 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:38:57.272063 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://PersonalAccessToken@dev.azure.com/' is Microsoft Live.
11:38:57.272063 ...\Program.cs:522 trace: [Store] storing Azure DevOps credentials for 'https://PersonalAccessToken@dev.azure.com/'.
11:38:57.288058 run-command.c:663 trace: run_command: 'git credential-manager store'
11:38:57.322045 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:57.324044 git.c:704 trace: exec: git-credential-manager store
11:38:57.324044 run-command.c:663 trace: run_command: git-credential-manager store
11:38:57.389022 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'store'
11:38:57.458997 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:38:57.464996 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:38:57.508980 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://PersonalAccessToken@dev.azure.com/'.
11:38:57.829868 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/Company/' as Azure DevOps from GET response.
11:38:57.830867 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/Company/' is {00000000000000000000000000000000}.
11:38:57.831867 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:38:57.866855 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://PersonalAccessToken@dev.azure.com/' is Microsoft Live.
11:38:57.866855 ...\Program.cs:522 trace: [Store] storing Azure DevOps credentials for 'https://PersonalAccessToken@dev.azure.com/'.
11:38:57.882849 run-command.c:663 trace: run_command: .git/hooks/pre-push origin 'https://dev.azure.com/Company/App%20Project/_git/App'
11:38:57.925834 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:57.928834 git.c:704 trace: exec: git-lfs pre-push origin 'https://dev.azure.com/Company/App%20Project/_git/App'
11:38:57.928834 run-command.c:663 trace: run_command: git-lfs pre-push origin 'https://dev.azure.com/Company/App%20Project/_git/App'
11:38:57.963821 trace git-lfs: exec: git 'version'
11:38:57.975817 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:57.977817 git.c:439 trace: built-in: git version
11:38:57.993811 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:57.996810 git.c:439 trace: built-in: git remote
11:38:58.009805 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
11:38:58.018802 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:58.019802 git.c:439 trace: built-in: git rev-parse HEAD --symbolic-full-name HEAD
11:38:58.041794 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:58.043793 git.c:439 trace: built-in: git rev-parse --git-dir --show-toplevel
11:38:58.087778 trace git-lfs: exec: git 'config' '-l'
11:38:58.097774 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:58.099774 git.c:439 trace: built-in: git config -l
11:38:58.107773 trace git-lfs: pre-push: refs/heads/develop 78a9216663845a88e4a2d84f77de3b3e4509e28c refs/heads/develop 2896ce547d766c8b73c24524c064790603ee9e4b
11:38:58.117768 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:58.120766 git.c:439 trace: built-in: git show-ref
11:38:58.143759 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:58.146758 git.c:439 trace: built-in: git ls-remote --heads --tags -q origin
11:38:58.148756 run-command.c:663 trace: run_command: GIT_DIR=.git git remote-https origin 'https://dev.azure.com/Company/App%20Project/_git/App'
11:38:58.157754 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:58.159753 git.c:704 trace: exec: git-remote-https origin 'https://dev.azure.com/Company/App%20Project/_git/App'
11:38:58.159753 run-command.c:663 trace: run_command: git-remote-https origin 'https://dev.azure.com/Company/App%20Project/_git/App'
11:38:58.169750 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:58.622591 run-command.c:663 trace: run_command: 'git credential-manager get'
11:38:58.654580 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:38:58.656580 git.c:704 trace: exec: git-credential-manager get
11:38:58.656580 run-command.c:663 trace: run_command: git-credential-manager get
11:38:58.720558 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'get'
11:38:58.791532 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:38:58.797531 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:38:58.861508 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://dev.azure.com/'.
11:38:59.041445 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/Company/' as Azure DevOps from GET response.
11:38:59.042445 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/Company/' is {00000000000000000000000000000000}.
11:38:59.043445 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:38:59.077433 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://dev.azure.com/' is Microsoft Live.
11:38:59.077433 ...\Common.cs:765 trace: [QueryCredentials] querying 'MicrosoftAccount' for credentials.
11:38:59.084430 ...uthentication.cs:384 trace: [GetCredentials] credentials for 'https://dev.azure.com/' found.
11:38:59.247373 ...\Common.cs:849 trace: [QueryCredentials] credentials for 'https://dev.azure.com/' found.
11:38:59.247373 ...\Common.cs:709 trace: [LogEvent] Microsoft Live credentials for 'https://dev.azure.com/' successfully retrieved.
11:39:00.418968 run-command.c:663 trace: run_command: 'git credential-manager store'
11:39:00.452953 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:39:00.454952 git.c:704 trace: exec: git-credential-manager store
11:39:00.454952 run-command.c:663 trace: run_command: git-credential-manager store
11:39:00.517931 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'store'
11:39:00.588906 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:39:00.593904 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:39:00.641888 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://PersonalAccessToken@dev.azure.com/'.
11:39:00.820825 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/Company/' as Azure DevOps from GET response.
11:39:00.821824 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/Company/' is {00000000000000000000000000000000}.
11:39:00.822824 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:39:00.857812 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://PersonalAccessToken@dev.azure.com/' is Microsoft Live.
11:39:00.857812 ...\Program.cs:522 trace: [Store] storing Azure DevOps credentials for 'https://PersonalAccessToken@dev.azure.com/'.
11:39:00.873806 run-command.c:663 trace: run_command: 'git credential-manager store'
11:39:00.904795 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:39:00.906795 git.c:704 trace: exec: git-credential-manager store
11:39:00.906795 run-command.c:663 trace: run_command: git-credential-manager store
11:39:00.970772 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'store'
11:39:01.039749 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:39:01.045747 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:39:01.089731 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://PersonalAccessToken@dev.azure.com/'.
11:39:01.310654 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/Company/' as Azure DevOps from GET response.
11:39:01.312654 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/Company/' is {00000000000000000000000000000000}.
11:39:01.313653 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:39:01.347641 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://PersonalAccessToken@dev.azure.com/' is Microsoft Live.
11:39:01.347641 ...\Program.cs:522 trace: [Store] storing Azure DevOps credentials for 'https://PersonalAccessToken@dev.azure.com/'.
11:39:01.376633 trace git-lfs: creds: git credential fill ("https", "dev.azure.com", "")
11:39:01.388627 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:39:01.390626 git.c:439 trace: built-in: git credential fill
11:39:01.392625 run-command.c:663 trace: run_command: 'git credential-manager get'
11:39:01.422615 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:39:01.425614 git.c:704 trace: exec: git-credential-manager get
11:39:01.425614 run-command.c:663 trace: run_command: git-credential-manager get
11:39:01.489593 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'get'
11:39:01.556568 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:39:01.562566 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:39:01.620546 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://dev.azure.com/'.
11:39:01.784489 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/' as Azure DevOps from GET response.
11:39:01.785488 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/' is {00000000000000000000000000000000}.
11:39:01.786488 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:39:01.821476 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://dev.azure.com/' is Microsoft Live.
11:39:01.821476 ...\Common.cs:765 trace: [QueryCredentials] querying 'MicrosoftAccount' for credentials.
11:39:07.203599 ...\Authority.cs:195 trace: [InteractiveAcquireToken] authority host URL = 'https://login.microsoftonline.com/common', token acquisition for tenant [f8cdef31a31e4b4a93e45f571e91255a] succeeded.
11:39:07.204598 ...Authentication.cs:86 trace: [InteractiveLogon] token 'https://dev.azure.com/' successfully acquired.
11:39:07.291568 ...\Authority.cs:375 trace: [GetIdentityServiceUri] failed to find Identity Service for 'https://dev.azure.com/_apis/ServiceDefinitions/LocationService2/951917AC-A960-4999-8464-E3F0AA25B381?api-version=1.0' via location service [404].
11:39:07.292567 ...\Authority.cs:136 trace: [GeneratePersonalAccessToken] ! error: 'Failed to find Identity Service for `https://dev.azure.com/`.'.
11:39:07.292567 ...\Authority.cs:139 trace: [GeneratePersonalAccessToken] personal access token acquisition for 'https://dev.azure.com/' failed.
11:39:07.292567 ...\Common.cs:854 trace: [QueryCredentials] credentials for 'https://dev.azure.com/' not found.
11:39:07.293567 ...\Common.cs:709 trace: [LogEvent] Failed to retrieve Microsoft Live credentials for 'https://dev.azure.com/'.
11:39:07.294567 ...\Program.cs:414 trace: [Get] Logon failed, use ctrl+c to cancel basic credential prompt.
11:39:07.322557 run-command.c:663 trace: run_command: 'git credential-manager get'
11:39:07.353547 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:39:07.356545 git.c:704 trace: exec: git-credential-manager get
11:39:07.356545 run-command.c:663 trace: run_command: git-credential-manager get
11:39:07.419523 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'get'
11:39:07.485500 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:39:07.491499 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:39:07.548478 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://dev.azure.com/'.
11:39:07.715420 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/' as Azure DevOps from GET response.
11:39:07.716420 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/' is {00000000000000000000000000000000}.
11:39:07.717419 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:39:07.754407 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://dev.azure.com/' is Microsoft Live.
11:39:07.754407 ...\Common.cs:765 trace: [QueryCredentials] querying 'MicrosoftAccount' for credentials.
11:39:11.803994 ...\Authority.cs:195 trace: [InteractiveAcquireToken] authority host URL = 'https://login.microsoftonline.com/common', token acquisition for tenant [f8cdef31a31e4b4a93e45f571e91255a] succeeded.
11:39:11.803994 ...Authentication.cs:86 trace: [InteractiveLogon] token 'https://dev.azure.com/' successfully acquired.
11:39:12.092894 ...\Authority.cs:375 trace: [GetIdentityServiceUri] failed to find Identity Service for 'https://dev.azure.com/_apis/ServiceDefinitions/LocationService2/951917AC-A960-4999-8464-E3F0AA25B381?api-version=1.0' via location service [404].
11:39:12.093893 ...\Authority.cs:136 trace: [GeneratePersonalAccessToken] ! error: 'Failed to find Identity Service for `https://dev.azure.com/`.'.
11:39:12.093893 ...\Authority.cs:139 trace: [GeneratePersonalAccessToken] personal access token acquisition for 'https://dev.azure.com/' failed.
11:39:12.093893 ...\Common.cs:854 trace: [QueryCredentials] credentials for 'https://dev.azure.com/' not found.
11:39:12.093893 ...\Common.cs:709 trace: [LogEvent] Failed to retrieve Microsoft Live credentials for 'https://dev.azure.com/'.
11:39:12.095892 ...\Program.cs:414 trace: [Get] Logon failed, use ctrl+c to cancel basic credential prompt.
11:39:12.121883 run-command.c:663 trace: run_command: bash -c 'cat >/dev/tty && read -r line </dev/tty && echo "$line"'
11:39:24.122698 run-command.c:663 trace: run_command: bash -c 'cat >/dev/tty && read -r -s line </dev/tty && echo "$line" && echo >/dev/tty'
11:39:38.730604 trace git-lfs: Filled credentials for https://dev.azure.com/Company/App%20Project/_git/App
11:39:38.751594 trace git-lfs: HTTP: POST https://dev.azure.com/Company/App%20Project/_git/App.git/info/lfs/locks/verify
11:39:38.930532 trace git-lfs: HTTP: 401
11:39:38.941528 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:39:38.943527 git.c:439 trace: built-in: git credential reject
11:39:38.944528 run-command.c:663 trace: run_command: 'git credential-manager erase'
11:39:38.975516 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:39:38.977515 git.c:704 trace: exec: git-credential-manager erase
11:39:38.977515 run-command.c:663 trace: run_command: git-credential-manager erase
11:39:39.041494 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'erase'
11:39:39.108470 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:39:39.114468 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:39:39.156453 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://Company@dev.azure.com/'.
11:39:39.548316 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/Company/' as Azure DevOps from GET response.
11:39:39.549316 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/Company/' is {00000000000000000000000000000000}.
11:39:39.550316 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:39:39.584304 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://Company@dev.azure.com/' is Microsoft Live.
11:39:39.584304 ...\Common.cs:259 trace: [DeleteCredentials] deleting Azure DevOps credentials for 'https://Company@dev.azure.com/'.
11:39:39.592303 ...aseSecureStore.cs:68 trace: [Delete] credentials for 'git:https://Company@dev.azure.com/Company' deleted from store.
11:39:39.609295 run-command.c:663 trace: run_command: 'git credential-manager erase'
11:39:39.641284 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:39:39.643283 git.c:704 trace: exec: git-credential-manager erase
11:39:39.643283 run-command.c:663 trace: run_command: git-credential-manager erase
11:39:39.706261 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'erase'
11:39:39.774237 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:39:39.780235 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:39:39.824220 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://Company@dev.azure.com/'.
11:39:39.986164 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/Company/' as Azure DevOps from GET response.
11:39:39.987163 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/Company/' is {00000000000000000000000000000000}.
11:39:39.988163 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:39:40.022151 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://Company@dev.azure.com/' is Microsoft Live.
11:39:40.022151 ...\Common.cs:259 trace: [DeleteCredentials] deleting Azure DevOps credentials for 'https://Company@dev.azure.com/'.
11:39:40.049142 ...aseSecureStore.cs:59 trace: [Delete] credentials not found for 'git:https://Company@dev.azure.com/Company'.
11:39:40.074135 trace git-lfs: api: http response indicates "basic" authentication. Resubmitting...
11:39:40.074135 trace git-lfs: creds: git credential fill ("https", "dev.azure.com", "")
11:39:40.084129 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:39:40.087128 git.c:439 trace: built-in: git credential fill
11:39:40.088128 run-command.c:663 trace: run_command: 'git credential-manager get'
11:39:40.119117 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:39:40.121116 git.c:704 trace: exec: git-credential-manager get
11:39:40.121116 run-command.c:663 trace: run_command: git-credential-manager get
11:39:40.185094 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'get'
11:39:40.251071 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:39:40.257070 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:39:40.315049 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://dev.azure.com/'.
11:39:40.531973 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/' as Azure DevOps from GET response.
11:39:40.533972 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/' is {00000000000000000000000000000000}.
11:39:40.534972 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:39:40.567961 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://dev.azure.com/' is Microsoft Live.
11:39:40.567961 ...\Common.cs:765 trace: [QueryCredentials] querying 'MicrosoftAccount' for credentials.
11:39:45.367287 ...\Authority.cs:195 trace: [InteractiveAcquireToken] authority host URL = 'https://login.microsoftonline.com/common', token acquisition for tenant [f8cdef31a31e4b4a93e45f571e91255a] succeeded.
11:39:45.367287 ...Authentication.cs:86 trace: [InteractiveLogon] token 'https://dev.azure.com/' successfully acquired.
11:39:45.518233 ...\Authority.cs:375 trace: [GetIdentityServiceUri] failed to find Identity Service for 'https://dev.azure.com/_apis/ServiceDefinitions/LocationService2/951917AC-A960-4999-8464-E3F0AA25B381?api-version=1.0' via location service [404].
11:39:45.519232 ...\Authority.cs:136 trace: [GeneratePersonalAccessToken] ! error: 'Failed to find Identity Service for `https://dev.azure.com/`.'.
11:39:45.519232 ...\Authority.cs:139 trace: [GeneratePersonalAccessToken] personal access token acquisition for 'https://dev.azure.com/' failed.
11:39:45.519232 ...\Common.cs:854 trace: [QueryCredentials] credentials for 'https://dev.azure.com/' not found.
11:39:45.519232 ...\Common.cs:709 trace: [LogEvent] Failed to retrieve Microsoft Live credentials for 'https://dev.azure.com/'.
11:39:45.521232 ...\Program.cs:414 trace: [Get] Logon failed, use ctrl+c to cancel basic credential prompt.
11:39:45.548223 run-command.c:663 trace: run_command: 'git credential-manager get'
11:39:45.580211 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:39:45.583211 git.c:704 trace: exec: git-credential-manager get
11:39:45.583211 run-command.c:663 trace: run_command: git-credential-manager get
11:39:45.651188 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'get'
11:39:45.722162 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:39:45.728160 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:39:45.789138 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://dev.azure.com/'.
11:39:45.968076 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/' as Azure DevOps from GET response.
11:39:45.969075 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/' is {00000000000000000000000000000000}.
11:39:45.970075 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:39:46.003065 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://dev.azure.com/' is Microsoft Live.
11:39:46.003065 ...\Common.cs:765 trace: [QueryCredentials] querying 'MicrosoftAccount' for credentials.
11:39:49.276921 ...\Authority.cs:195 trace: [InteractiveAcquireToken] authority host URL = 'https://login.microsoftonline.com/common', token acquisition for tenant [f8cdef31a31e4b4a93e45f571e91255a] succeeded.
11:39:49.276921 ...Authentication.cs:86 trace: [InteractiveLogon] token 'https://dev.azure.com/' successfully acquired.
11:39:49.492846 ...\Authority.cs:375 trace: [GetIdentityServiceUri] failed to find Identity Service for 'https://dev.azure.com/_apis/ServiceDefinitions/LocationService2/951917AC-A960-4999-8464-E3F0AA25B381?api-version=1.0' via location service [404].
11:39:49.492846 ...\Authority.cs:136 trace: [GeneratePersonalAccessToken] ! error: 'Failed to find Identity Service for `https://dev.azure.com/`.'.
11:39:49.493846 ...\Authority.cs:139 trace: [GeneratePersonalAccessToken] personal access token acquisition for 'https://dev.azure.com/' failed.
11:39:49.493846 ...\Common.cs:854 trace: [QueryCredentials] credentials for 'https://dev.azure.com/' not found.
11:39:49.493846 ...\Common.cs:709 trace: [LogEvent] Failed to retrieve Microsoft Live credentials for 'https://dev.azure.com/'.
11:39:49.494846 ...\Program.cs:414 trace: [Get] Logon failed, use ctrl+c to cancel basic credential prompt.
11:39:49.521837 run-command.c:663 trace: run_command: bash -c 'cat >/dev/tty && read -r line </dev/tty && echo "$line"'
11:40:33.049995 run-command.c:663 trace: run_command: bash -c 'cat >/dev/tty && read -r -s line </dev/tty && echo "$line" && echo >/dev/tty'
11:42:05.275471 trace git-lfs: Filled credentials for https://dev.azure.com/Company/App%20Project/_git/App
11:42:05.275471 trace git-lfs: HTTP: POST https://dev.azure.com/Company/App%20Project/_git/App.git/info/lfs/locks/verify
11:42:05.468403 trace git-lfs: HTTP: 401
11:42:05.481397 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:42:05.483396 git.c:439 trace: built-in: git credential reject
11:42:05.484396 run-command.c:663 trace: run_command: 'git credential-manager erase'
11:42:05.516385 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:42:05.519384 git.c:704 trace: exec: git-credential-manager erase
11:42:05.519384 run-command.c:663 trace: run_command: git-credential-manager erase
11:42:05.582361 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'erase'
11:42:05.656336 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:42:05.663333 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:42:05.712316 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://Company@dev.azure.com/'.
11:42:05.887255 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/Company/' as Azure DevOps from GET response.
11:42:05.888255 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/Company/' is {00000000000000000000000000000000}.
11:42:05.889255 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:42:05.923243 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://Company@dev.azure.com/' is Microsoft Live.
11:42:05.923243 ...\Common.cs:259 trace: [DeleteCredentials] deleting Azure DevOps credentials for 'https://Company@dev.azure.com/'.
11:42:05.928241 ...aseSecureStore.cs:59 trace: [Delete] credentials not found for 'git:https://Company@dev.azure.com/Company'.
11:42:05.946235 run-command.c:663 trace: run_command: 'git credential-manager erase'
11:42:05.979223 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:42:05.982222 git.c:704 trace: exec: git-credential-manager erase
11:42:05.982222 run-command.c:663 trace: run_command: git-credential-manager erase
11:42:06.045200 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'erase'
11:42:06.112178 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:42:06.118175 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:42:06.161160 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://Company@dev.azure.com/'.
11:42:06.334099 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/Company/' as Azure DevOps from GET response.
11:42:06.335099 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/Company/' is {00000000000000000000000000000000}.
11:42:06.336098 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:42:06.371086 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://Company@dev.azure.com/' is Microsoft Live.
11:42:06.371086 ...\Common.cs:259 trace: [DeleteCredentials] deleting Azure DevOps credentials for 'https://Company@dev.azure.com/'.
11:42:06.376085 ...aseSecureStore.cs:59 trace: [Delete] credentials not found for 'git:https://Company@dev.azure.com/Company'.
11:42:06.401078 trace git-lfs: api: http response indicates "basic" authentication. Resubmitting...
11:42:06.401078 trace git-lfs: creds: git credential fill ("https", "dev.azure.com", "")
11:42:06.412072 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:42:06.415071 git.c:439 trace: built-in: git credential fill
11:42:06.416071 run-command.c:663 trace: run_command: 'git credential-manager get'
11:42:06.447060 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:42:06.449060 git.c:704 trace: exec: git-credential-manager get
11:42:06.449060 run-command.c:663 trace: run_command: git-credential-manager get
11:42:06.512037 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'get'
11:42:06.579014 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:42:06.585012 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:42:06.642992 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://dev.azure.com/'.
11:42:06.804935 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/' as Azure DevOps from GET response.
11:42:06.805935 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/' is {00000000000000000000000000000000}.
11:42:06.806935 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:42:06.842922 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://dev.azure.com/' is Microsoft Live.
11:42:06.842922 ...\Common.cs:765 trace: [QueryCredentials] querying 'MicrosoftAccount' for credentials.
11:42:08.417373 ...\Authority.cs:199 trace: [InteractiveAcquireToken] authority host URL = 'https://login.microsoftonline.com/common', token acquisition failed.
11:42:08.418373 ...Authentication.cs:96 trace: [InteractiveLogon] failed to acquire token for 'https://dev.azure.com/'.
11:42:08.418373 ...\Common.cs:854 trace: [QueryCredentials] credentials for 'https://dev.azure.com/' not found.
11:42:08.418373 ...\Common.cs:709 trace: [LogEvent] Failed to retrieve Microsoft Live credentials for 'https://dev.azure.com/'.
11:42:08.420373 ...\Program.cs:414 trace: [Get] Logon failed, use ctrl+c to cancel basic credential prompt.
11:42:08.444364 run-command.c:663 trace: run_command: 'git credential-manager get'
11:42:08.477351 exec-cmd.c:238 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
11:42:08.479350 git.c:704 trace: exec: git-credential-manager get
11:42:08.479350 run-command.c:663 trace: run_command: git-credential-manager get
11:42:08.545328 ...\Common.cs:744 trace: [Main] git-credential-manager (v1.19.0) 'get'
11:42:08.612305 ...\Git\Where.cs:348 trace: [FindGitInstallations] found 1 Git installation(s).
11:42:08.618303 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 58 entries.
11:42:08.676282 ...\Common.cs:85 trace: [CreateAuthentication] detecting authority type for 'https://dev.azure.com/'.
11:42:08.830228 ...uthentication.cs:223 trace: [DetectAuthority] detected 'https://dev.azure.com/' as Azure DevOps from GET response.
11:42:08.831228 ...uthentication.cs:291 trace: [DetectAuthority] tenant resource for 'https://dev.azure.com/' is {00000000000000000000000000000000}.
11:42:08.832228 ...uthentication.cs:354 trace: [GetAuthentication] MSA authority detected.
11:42:08.866216 ...\Common.cs:205 trace: [CreateAuthentication] authority for 'https://dev.azure.com/' is Microsoft Live.
11:42:08.866216 ...\Common.cs:765 trace: [QueryCredentials] querying 'MicrosoftAccount' for credentials.
11:42:11.018464 trace git-lfs: filepathfilter: rewrite ".git" as "**/.git/**"
11:42:11.018464 trace git-lfs: filepathfilter: rewrite "**/.git" as "**/.git"
11:42:11.018464 trace git-lfs: filepathfilter: accepting "tmp"
@jeschu1
And when pushing from Visual Studio, I will get a login window twice about 3 times. After that I get an error in the Team Explorer panel that says "Failed to push to the remote repository. See the Output window for more details." Despite this error... the push actually succeeds.
This is the output:
Commit 79d13da8 created locally in repository C:\Users\edgar.sanchez\Source\Repos\App
Commit 78a92166 created locally in repository C:\Users\edgar.sanchez\Source\Repos\App
Pushing develop
Error encountered while pushing to the remote repository: Git failed with a fatal error.
failed to detect Username in target URL.
unable to read askpass response from 'C:/program files (x86)/microsoft visual studio/2017/professional/common7/ide/commonextensions/microsoft/teamfoundation/team explorer/Git/mingw32/libexec/git-core/git-askpass.exe'
could not read Username for 'https://dev.azure.com': terminal prompts disabled
Delta compression using up to 8 threads.
Compressing objects: 2% (1/41)
Compressing objects: 4% (2/41)
Compressing objects: 7% (3/41)
Compressing objects: 9% (4/41)
Compressing objects: 12% (5/41)
Compressing objects: 14% (6/41)
Compressing objects: 17% (7/41)
Compressing objects: 19% (8/41)
Compressing objects: 21% (9/41)
Compressing objects: 24% (10/41)
Compressing objects: 26% (11/41)
Compressing objects: 29% (12/41)
Compressing objects: 31% (13/41)
Compressing objects: 34% (14/41)
Compressing objects: 36% (15/41)
Compressing objects: 39% (16/41)
Compressing objects: 41% (17/41)
Compressing objects: 43% (18/41)
Compressing objects: 46% (19/41)
Compressing objects: 48% (20/41)
Compressing objects: 51% (21/41)
Compressing objects: 53% (22/41)
Compressing objects: 56% (23/41)
Compressing objects: 58% (24/41)
Compressing objects: 60% (25/41)
Compressing objects: 63% (26/41)
Compressing objects: 65% (27/41)
Compressing objects: 68% (28/41)
Compressing objects: 70% (29/41)
Compressing objects: 73% (30/41)
Compressing objects: 75% (31/41)
Compressing objects: 78% (32/41)
Compressing objects: 80% (33/41)
Compressing objects: 82% (34/41)
Compressing objects: 85% (35/41)
Compressing objects: 87% (36/41)
Compressing objects: 90% (37/41)
Compressing objects: 92% (38/41)
Compressing objects: 95% (39/41)
Compressing objects: 97% (40/41)
Compressing objects: 100% (41/41)
Compressing objects: 100% (41/41), done.
Writing objects: 2% (1/41)
Writing objects: 4% (2/41)
Writing objects: 7% (3/41)
Writing objects: 9% (4/41)
Writing objects: 12% (5/41)
Writing objects: 14% (6/41)
Writing objects: 17% (7/41)
Writing objects: 21% (9/41)
Writing objects: 26% (11/41)
Writing objects: 29% (12/41)
Writing objects: 31% (13/41)
Writing objects: 34% (14/41)
Writing objects: 36% (15/41)
Writing objects: 46% (19/41)
Writing objects: 48% (20/41)
Writing objects: 51% (21/41)
Writing objects: 53% (22/41)
Writing objects: 56% (23/41)
Writing objects: 58% (24/41)
Writing objects: 60% (25/41)
Writing objects: 63% (26/41)
Writing objects: 65% (27/41)
Writing objects: 68% (28/41)
Writing objects: 70% (29/41)
Writing objects: 73% (30/41)
Writing objects: 75% (31/41)
Writing objects: 78% (32/41)
Writing objects: 80% (33/41)
Writing objects: 82% (34/41)
Writing objects: 85% (35/41)
Writing objects: 87% (36/41)
Writing objects: 90% (37/41)
Writing objects: 92% (38/41)
Writing objects: 95% (39/41)
Writing objects: 97% (40/41)
Writing objects: 100% (41/41)
Writing objects: 100% (41/41), 5.79 KiB | 1.93 MiB/s, done.
Total 41 (delta 35), reused 0 (delta 0)
POST git-receive-pack (6071 bytes)
remote:
remote: Analyzing objects... (41/41) (1538 ms)
remote: Storing packfile... done (70 ms)
remote: Storing index... done (74 ms)
To https://dev.azure.com/Company/App%20Project/_git/App
2896ce547d..78a9216663 develop -> develop
updating local tracking ref 'refs/remotes/origin/develop'
It looks like it is having issues with 'git lfs'. We think we may know why.
Please try updating the remote to include 'Company@' before 'dev.azure.com'. For example "https://Company@dev.azure.com/Company", and let us know if the problem persists.
so, for a reference, I have solved the issue by reinstalling GCMW-1.18.5 that I have downloaded from https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases so, install the plugin then reinstall credential manager for windows. now it works like a charm.
It looks like it is having issues with 'git lfs'. We think we may know why. Please try updating the remote to include 'Company@' before 'dev.azure.com'. For example "https://Company@dev.azure.com/Company", and let us know if the problem persists.
That worked!
Solved.
@jeschu1 I believe this should be re-opened, as it is not resolved in the current version (1.20.0). Only using your remote rename workaround could I resolve this issue.
I am also experiencing this issue, and the suggested workaround with the company name is not working for me. I am using v1.20 of the credential manager and VS 2019 16.4.5.
For anyone experiencing this issue, my work around is to open Chrome, login to your repository in ADO and then go back to Visual Studio to login. For some reason this always works for me.
Which Version of GCM are you using ? Git Credential Manager for Windows version 1.19.0
Which service are you trying to connect to
If AzureDevops Hosted describe your url
If you're using Azure DevOps, can you access the repository in the browser via the same URL?
If you're using Azure DevOps, and the account picker shows more than one identity as you authenticate, check that you selected the same one that has access on the web.
Expected behavior I expect to be able to clone, push, and pull without having an infinite number of credential prompts. I expect GCM to prompt me for my credentials once and then it should magically work.
Actual behavior The most recent time this happened was when I attempted to push commits to my remote repo. I got a number of credential prompts none of which seemed to work, after what I think was the 4th one, the Synchronization pane in Visual Studio showed the following error: "Failed to push to the remote repository. See the Output window for more details."
The commits WERE actually pushed though.
I've run
git config --list
and credential.helper is set to managerThis is what the output window shows:
Set the env variables GCM_TRACE=1 and GIT_TRACE=1 and run your git command. Redact any private information and attach the log