You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Azure DevOps only) What format is your remote URL?
https://{org}@dev.azure.com/{org}
Can you access the remote repository directly in the browser?
Yes, I can access the repository
Expected behavior
git pull and git fetch complete in reasonable time.
Actual behavior
Roughly 10% of the time when I run git pull or git fetch, it takes ~15s to complete (usually it's ~1s). It doesn't pull any big updates, I can just spam git pull in the terminal and it will produce this issue occasionally. I've enabled trace logging and found that the first git-credential-manager get call sometimes takes ~15s to complete and I don't know why. This seems to be repository agnostic (at least it happens with different repos on github and Azure DevOps. I've tested some of the repos on other machines in the same network and they don't have this issue. I've also tested with the same machine in two different networks and it happened in both of them.
Things I've also tried:
set the credential provider to generic in my .gitconfig
clear all git related credentials in the Windows Credential Manager
reinstall git and delete my git config
git credential-manager azure-repos clear-cache
None of these steps solved the issue and I'm at a loss of how to debug this further.
Version
2.5.1+90d5f897f164a8fe07d2aa3bf7db439b0b4e03ea
Operating system
Windows
OS version or distribution
Windows 11 23H2 x64
Git hosting provider(s)
Other - please describe below
Other hosting provider
Both GitHub and Azure DevOps
(Azure DevOps only) What format is your remote URL?
https://{org}@dev.azure.com/{org}
Can you access the remote repository directly in the browser?
Yes, I can access the repository
Expected behavior
git pull
andgit fetch
complete in reasonable time.Actual behavior
Roughly 10% of the time when I run
git pull
orgit fetch
, it takes ~15s to complete (usually it's ~1s). It doesn't pull any big updates, I can just spamgit pull
in the terminal and it will produce this issue occasionally. I've enabled trace logging and found that the firstgit-credential-manager get
call sometimes takes ~15s to complete and I don't know why. This seems to be repository agnostic (at least it happens with different repos on github and Azure DevOps. I've tested some of the repos on other machines in the same network and they don't have this issue. I've also tested with the same machine in two different networks and it happened in both of them.Things I've also tried:
generic
in my .gitconfiggit credential-manager azure-repos clear-cache
None of these steps solved the issue and I'm at a loss of how to debug this further.
Logs
Trace logs for
git pull
:git credential-manager diagnose
:The text was updated successfully, but these errors were encountered: