- Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
host:genericSpecific to the generic (basic/WIA) host providerSpecific to the generic (basic/WIA) host providerperformanceAn issue with performanceAn issue with performance
Description
Which version of GCM Core are you using?
2.0.498+7ad55fb809
Which Git host provider are you trying to connect to?
Local gitea instance
Can you access the remote repository directly in the browser using the remote URL?
- [ X ] Yes
- No, I get a permission error
- No, for a different reason - please describe
Expected behavior
When I do a Git clone of a repository, I expect the clone operation to happen quickly but each invocation of the git credential manager takes at least 5 seconds. See the logs below. The operations complete without prompting me for my password but they are just very slow.
Actual behavior
The operation occurs successfully.
Logs
Performance Logs
07:54:35.483985 run-command.c:666 trace: run_command: 'git credential-manager-core get' 07:54:36.638552 exec-cmd.c:237 trace: resolved executable dir: C:/Users/XXX/AppData/Local/Programs/Git/mingw32/libexec/git-core 07:54:36.640555 git.c:744 trace: exec: git-credential-manager-core get 07:54:36.640555 run-command.c:666 trace: run_command: git-credential-manager-core get 07:54:42.250496 trace.c:487 performance: 5.611020900 s: git command: 'C:\Users\XXX\AppData\Local\Programs\Git\mingw32\libexec\git-core\git.exe' credential-manager-core get .... 07:54:42.305499 run-command.c:666 trace: run_command: 'git credential-manager-core store' 07:54:43.158074 exec-cmd.c:237 trace: resolved executable dir: C:/Users/XXX/AppData/Local/Programs/Git/mingw32/libexec/git-core 07:54:43.160074 git.c:744 trace: exec: git-credential-manager-core store 07:54:43.160074 run-command.c:666 trace: run_command: git-credential-manager-core store 07:54:48.699227 trace.c:487 performance: 5.540569200 s: git command: 'C:\Users\XXX\AppData\Local\Programs\Git\mingw32\libexec\git-core\git.exe' credential-manager-core store Git/GCM Trace Logs
07:59:18.670234 exec-cmd.c:237 trace: resolved executable dir: C:/Users/XXX/AppData/Local/Programs/Git/mingw32/bin 07:59:18.671234 git.c:455 trace: built-in: git clone https://XXXXX Cloning into 'liaisonlogminerworker'... 07:59:18.734236 run-command.c:666 trace: run_command: git remote-https origin https://XXXXX 07:59:19.119236 exec-cmd.c:237 trace: resolved executable dir: C:/Users/XXX/AppData/Local/Programs/Git/mingw32/libexec/git-core 07:59:19.121239 git.c:744 trace: exec: git-remote-https origin https://XXXXX 07:59:19.121239 run-command.c:666 trace: run_command: git-remote-https origin https://XXXXX 07:59:19.504802 exec-cmd.c:237 trace: resolved executable dir: C:/Users/XXX/AppData/Local/Programs/Git/mingw32/libexec/git-core 07:59:19.550802 run-command.c:666 trace: run_command: 'git credential-manager-core get' 07:59:20.396364 exec-cmd.c:237 trace: resolved executable dir: C:/Users/XXX/AppData/Local/Programs/Git/mingw32/libexec/git-core 07:59:20.398365 git.c:744 trace: exec: git-credential-manager-core get 07:59:20.398365 run-command.c:666 trace: run_command: git-credential-manager-core get 07:59:22.021992 ...\Application.cs:80 trace: [RunInternalAsync] Version: 2.0.498.54650 07:59:22.029990 ...\Application.cs:81 trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000 07:59:22.029990 ...\Application.cs:82 trace: [RunInternalAsync] Platform: Windows (x86-64) 07:59:22.029990 ...\Application.cs:83 trace: [RunInternalAsync] AppPath: C:\Users\XXX\AppData\Local\Programs\Git\mingw32\libexec\git-core\git-credential-manager-core.exe 07:59:22.029990 ...\Application.cs:84 trace: [RunInternalAsync] Arguments: get 07:59:22.094989 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'get' command... 07:59:22.106991 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Detecting host provider for input: 07:59:22.107991 ...GitCommandBase.cs:50 trace: [ExecuteAsync] protocol=https 07:59:22.107991 ...GitCommandBase.cs:50 trace: [ExecuteAsync] host=XXXXX 07:59:23.460124 ...viderRegistry.cs:149 trace: [GetProviderAsync] Performing auto-detection of host provider. 07:59:23.462125 ...viderRegistry.cs:162 trace: [GetProviderAsync] Checking against 3 host providers registered with priority 'Normal'. 07:59:23.464123 ...viderRegistry.cs:154 trace: [GetProviderAsync] Querying remote URL for host provider auto-detection. 07:59:23.465122 ...pClientFactory.cs:54 trace: [CreateClient] Creating new HTTP client instance... 07:59:26.333243 ...etHostProvider.cs:72 trace: [IsSupported] Host isn't supported as Bitbucket 07:59:26.333243 ...viderRegistry.cs:162 trace: [GetProviderAsync] Checking against 1 host providers registered with priority 'Low'. 07:59:26.334243 ...GitCommandBase.cs:52 trace: [ExecuteAsync] Host provider 'Generic' was selected. 07:59:26.337244 ...\HostProvider.cs:128 trace: [GetCredentialAsync] Looking for existing credential in store with service=https://XXXXX account=... 07:59:26.342242 ...\HostProvider.cs:142 trace: [GetCredentialAsync] Existing credential found. 07:59:26.342242 ...GitCommandBase.cs:56 trace: [ExecuteAsync] End 'get' command... 07:59:26.412888 run-command.c:666 trace: run_command: 'git credential-manager-core store' 07:59:27.306884 exec-cmd.c:237 trace: resolved executable dir: C:/Users/XXX/AppData/Local/Programs/Git/mingw32/libexec/git-core 07:59:27.308888 git.c:744 trace: exec: git-credential-manager-core store 07:59:27.308888 run-command.c:666 trace: run_command: git-credential-manager-core store 07:59:28.368082 ...\Application.cs:80 trace: [RunInternalAsync] Version: 2.0.498.54650 07:59:28.445078 ...\Application.cs:81 trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000 07:59:28.445078 ...\Application.cs:82 trace: [RunInternalAsync] Platform: Windows (x86-64) 07:59:28.445078 ...\Application.cs:83 trace: [RunInternalAsync] AppPath: C:\Users\XXX\AppData\Local\Programs\Git\mingw32\libexec\git-core\git-credential-manager-core.exe 07:59:28.445078 ...\Application.cs:84 trace: [RunInternalAsync] Arguments: store 07:59:28.512079 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'store' command... 07:59:28.529079 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Detecting host provider for input: 07:59:28.531081 ...GitCommandBase.cs:50 trace: [ExecuteAsync] protocol=https 07:59:28.531081 ...GitCommandBase.cs:50 trace: [ExecuteAsync] host=XXXXX 07:59:28.531081 ...GitCommandBase.cs:50 trace: [ExecuteAsync] username=XXX 07:59:28.531081 ...GitCommandBase.cs:50 trace: [ExecuteAsync] password=******** 07:59:29.899731 ...viderRegistry.cs:149 trace: [GetProviderAsync] Performing auto-detection of host provider. 07:59:29.901731 ...viderRegistry.cs:162 trace: [GetProviderAsync] Checking against 3 host providers registered with priority 'Normal'. 07:59:29.903732 ...viderRegistry.cs:154 trace: [GetProviderAsync] Querying remote URL for host provider auto-detection. 07:59:29.904734 ...pClientFactory.cs:54 trace: [CreateClient] Creating new HTTP client instance... 07:59:33.036482 ...etHostProvider.cs:72 trace: [IsSupported] Host isn't supported as Bitbucket 07:59:33.036482 ...viderRegistry.cs:162 trace: [GetProviderAsync] Checking against 1 host providers registered with priority 'Low'. 07:59:33.037482 ...GitCommandBase.cs:52 trace: [ExecuteAsync] Host provider 'Generic' was selected. 07:59:33.037482 ...\HostProvider.cs:162 trace: [StoreCredentialAsync] Storing credential with service=https://XXXXX account=XXX... 07:59:33.050479 ...\HostProvider.cs:164 trace: [StoreCredentialAsync] Credential was successfully stored. 07:59:33.050479 ...GitCommandBase.cs:56 trace: [ExecuteAsync] End 'store' command... 07:59:33.088481 run-command.c:666 trace: run_command: 'C:/Users/XXX/AppData/Local/Programs/Git\ Credential\ Manager\ Core/git-credential-manager-core.exe store' 07:59:34.693676 ...\Application.cs:80 trace: [RunInternalAsync] Version: 2.0.498.54650 07:59:34.701675 ...\Application.cs:81 trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000 07:59:34.701675 ...\Application.cs:82 trace: [RunInternalAsync] Platform: Windows (x86-64) 07:59:34.701675 ...\Application.cs:83 trace: [RunInternalAsync] AppPath: C:\Users\XXX\AppData\Local\Programs\Git Credential Manager Core\git-credential-manager-core.exe 07:59:34.702675 ...\Application.cs:84 trace: [RunInternalAsync] Arguments: store 07:59:34.768675 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'store' command... 07:59:34.781677 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Detecting host provider for input: 07:59:34.784673 ...GitCommandBase.cs:50 trace: [ExecuteAsync] protocol=https 07:59:34.784673 ...GitCommandBase.cs:50 trace: [ExecuteAsync] host=XXXXX 07:59:34.784673 ...GitCommandBase.cs:50 trace: [ExecuteAsync] username=XXX 07:59:34.784673 ...GitCommandBase.cs:50 trace: [ExecuteAsync] password=******** 07:59:36.152240 ...viderRegistry.cs:149 trace: [GetProviderAsync] Performing auto-detection of host provider. 07:59:36.154241 ...viderRegistry.cs:162 trace: [GetProviderAsync] Checking against 3 host providers registered with priority 'Normal'. 07:59:36.156242 ...viderRegistry.cs:154 trace: [GetProviderAsync] Querying remote URL for host provider auto-detection. 07:59:36.157240 ...pClientFactory.cs:54 trace: [CreateClient] Creating new HTTP client instance... 07:59:39.006984 ...etHostProvider.cs:72 trace: [IsSupported] Host isn't supported as Bitbucket 07:59:39.007982 ...viderRegistry.cs:162 trace: [GetProviderAsync] Checking against 1 host providers registered with priority 'Low'. 07:59:39.007982 ...GitCommandBase.cs:52 trace: [ExecuteAsync] Host provider 'Generic' was selected. 07:59:39.008983 ...\HostProvider.cs:162 trace: [StoreCredentialAsync] Storing credential with service=https://XXXXX account=XXX... 07:59:39.020983 ...\HostProvider.cs:164 trace: [StoreCredentialAsync] Credential was successfully stored. 07:59:39.020983 ...GitCommandBase.cs:56 trace: [ExecuteAsync] End 'store' command... remote: Enumerating objects: 269, done. remote: Total 269 (delta 0), reused 0 (delta 0), pack-reused 269 07:59:39.166985 run-command.c:666 trace: run_command: git index-pack --stdin -v --fix-thin '--keep=fetch-pack 19600 on USGVTMV-CTX004' --check-self-contained-and-connected 07:59:39.520549 exec-cmd.c:237 trace: resolved executable dir: C:/Users/XXX/AppData/Local/Programs/Git/mingw32/libexec/git-core 07:59:39.523548 git.c:455 trace: built-in: git index-pack --stdin -v --fix-thin '--keep=fetch-pack 19600 on USGVTMV-CTX004' --check-self-contained-and-connected Receiving objects: 100% (269/269), 43.06 KiB | 2.53 MiB/s, done. Resolving deltas: 100% (153/153), done. 07:59:39.577550 run-command.c:666 trace: run_command: git rev-list --objects --stdin --not --all --quiet --alternate-refs '--progress=Checking connectivity' 07:59:39.906549 exec-cmd.c:237 trace: resolved executable dir: C:/Users/XXX/AppData/Local/Programs/Git/mingw32/libexec/git-core 07:59:39.908547 git.c:455 trace: built-in: git rev-list --objects --stdin --not --all --quiet --alternate-refs '--progress=Checking connectivity' Metadata
Metadata
Assignees
Labels
host:genericSpecific to the generic (basic/WIA) host providerSpecific to the generic (basic/WIA) host providerperformanceAn issue with performanceAn issue with performance