Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the error "too many redirects or authentication replays libgit2shap" come up after upgrading from 0.28 to 0.30 on Fetch #2095

Open
mohamedmiss3ed opened this issue May 21, 2024 · 2 comments

Comments

@mohamedmiss3ed
Copy link

Reproduction steps

upgrading from 0.28 to 0.30 on Fetch

Repository.Init(_gitRootPath);
using var repo = new Repository(gitRootPath);
Remote remote = repo.Network.Remotes.Add(VcConstants.ORIGIN, vcSettings.GitRepoUrl);
var remoteRefSpecs = remote.FetchRefSpecs.Select(x => x.Specification);
Commands.Fetch(repo, remote.Name, refSpecs, new FetchOptions
{
CredentialsProvider = (
, _, _) => new UsernamePasswordCredentials
{ Username = vcSettings.GitUsername, Password = vcSettings.GitPassword },
Prune = true
}, string.Empty);

Expected behavior

should fetch normally with exceptions

Actual behavior

throw too many redirects or authentication replays

Version of LibGit2Sharp (release number or SHA1)

0.29.0 & 0.30.0

Operating system(s) tested; .NET runtime tested

@CodingJinxx
Copy link

Ive been encountering the same issue

@mezzo1981
Copy link

any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants