NuKeeperDotNet / NuKeeper

Automagically update nuget packages in .NET projects
Apache License 2.0
541 stars 127 forks source link

Too many redirects or authentication replays #1042

Open CrispyDrone opened 4 years ago

CrispyDrone commented 4 years ago

🔙 Regression

Git clone results in a libgit2sharp exception due to "too many redirects or authentication replays". Works properly in version 0.33.0. Might be related to the libgit2sharp upgrade from 0.26.2 to 0.27.0-preview-0034.

Old (and correct) behavior

Git clone works.

Current behavior

Receive a libgit2sharp exception.

Reproduction steps

Run nukeeper repo <token> <url> command.

Configuration

Version: master at 09bed2f8a7914e7c03d8630c1e9cc97cdc6ca9e4

Platform if applicable:

CrispyDrone commented 4 years ago

I have reverted libgit2sharp from 0.27.0-preview-0034 to 0.26.2 and can confirm this works in my own fork.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

CrispyDrone commented 3 years ago

bump

Hoaas commented 3 years ago

Also getting the same issues towards Azure DevOps Server. Happening when run from cmd and powershell, however, when run from Ubuntu through WSL it works fine.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

BaatenHannes commented 3 years ago

I'm having the same issue here. Reverting LibGit2Sharp to 0.26.2 did not resolve the issue. Any updates on potential fixes? Using Azure Devops Server with PAT authentication.

Hoaas commented 3 years ago

I've noticed there is an --gitclipath option to use git instead of lib2gitsharp, but uncertain how to get authentication to work with that.

rkieslinger commented 3 years ago

Same problem here using nukeeper 0.35.0

kotynia commented 3 years ago

same problem and reverting to LibGit2Sharp to 0.26.2 did not resolve the issue...

sharpSteff commented 3 years ago

@Hoaas that's basically your local git installation. Just configure it like in https://git-scm.com/docs/git-config

PatrickGrub commented 2 years ago

same issue like @kotynia what was your solution?