LibGit2Sharp fetching error "Too many redirects or authentication replays" -


i receive error “too many redirects or authentication replays” when trying fetch libgit2sharp tfs server.

i've tried solutions in article below , none seem working.

libgit2sharp: fetching fails "too many redirects or authentication replays"

code using defaultcredentials():

        credentialshandler credhandler = (_url, _user, _cred) => new defaultcredentials();         var fetchopts = new fetchoptions { credentialsprovider = credhandler };          using (var repo = getrepository())         {             remote remote = repo.network.remotes["origin"];             repo.network.fetch(remote, fetchopts);         }   // using 


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -

Why does a .NET 4.0 program produce a system.unauthorizedAccess error on a Windows Server 2012 machine with .NET 4.5 installed? -