VS Team Services & Git for Windows error "fatal: Authentication failed ..."

239 Views Asked by At

Running Git for Windows and the Git Credential Manager on a shared, 4 user, developer VM.

Upon cloning a repository, the GCM kicks in and authenticates me, but Git still reports fatal: Authentication failed ...

I can see in my Team Services (previously VSO) account that the GCM created a new personal access token:

Git: https://company.visualstudio.com/ on SHARED-VM-HOSTNAME

I've revoked previous ones and it creates a new one, so that mechanism is working.

Git (version 2.10) and the GCM don't seem to be playing ball. We have it working elsewhere on other machines.

It works for only one shared user RDP'ed onto this VM.

Just asking IT to reinstall latest versions of all software (again, again).

IP web traffic I think is routing directly/no proxy.

Any ideas?

1

There are 1 best solutions below

1
Luke Puplett On BEST ANSWER

My colleague sent me the wrong Git repository URL!

Bad version:

https://oursubdom.visualstudio.com/DefaultCollection/SomeProjectII

Good version:

https://oursubdom.visualstudio.com/DefaultCollection/_git/SomeProjectII

Not the first time he's done that, either. Ugh.