NuKeeperDotNet / NuKeeper-AzureDevops-extension

NuKeeper AzureDevops and VSTS extension
12 stars 15 forks source link

'Too many redirects or authentication replays' when trying to push #60

Open CrispyDrone opened 4 years ago

CrispyDrone commented 4 years ago

When NuKeeper tries to push the new branches to the remote repository, a LibGit2SharpException is thrown with error message: 'Too many redirects or authentication replays'.

I searched for this in the LibGit2Sharp repository and see it might be related to the type of credentials UserNamePasswordCredentials or DefaultCredentials that are being provided in combination with the authentication protocol that's used (NTLM vs Kerberos), see https://github.com/libgit2/libgit2sharp/issues/1168.

I'm not the admin but I have a feeling that our on premise tfs only supports NTLM right now. I could verify this and come back to you. In the meantime, here are the logs when the extension is run with verbosity detailed.

5.txt

environment: