NuKeeper icon indicating copy to clipboard operation
NuKeeper copied to clipboard

Too many redirects or authentication replays

Open CrispyDrone opened this issue 4 years ago • 11 comments

🔙 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:

  • [ ] :hammer_and_wrench: NuKeeper CLI
  • [ ] :sparkles: GitHub
  • [X] :robot: AzureDevops
  • [ ] :checkered_flag: Bitbucket
  • [ ] :earth_americas: Gitlab
  • [ ] :tv: Gitea
  • [ ] :whale: Docker

CrispyDrone avatar Sep 30 '20 18:09 CrispyDrone

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

CrispyDrone avatar Oct 10 '20 12:10 CrispyDrone

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.

stale[bot] avatar Feb 20 '21 03:02 stale[bot]

bump

CrispyDrone avatar Feb 23 '21 23:02 CrispyDrone

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.

Hoaas avatar May 27 '21 12:05 Hoaas

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.

stale[bot] avatar Aug 25 '21 18:08 stale[bot]

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.

BaatenHannes avatar Oct 13 '21 13:10 BaatenHannes

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

Hoaas avatar Oct 21 '21 11:10 Hoaas

Same problem here using nukeeper 0.35.0

rkieslinger avatar Oct 22 '21 09:10 rkieslinger

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

kotynia avatar Oct 29 '21 23:10 kotynia

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

sharpSteff avatar Nov 01 '21 11:11 sharpSteff

same issue like @kotynia what was your solution?

PatrickGrub avatar Nov 26 '21 15:11 PatrickGrub