-
Notifications
You must be signed in to change notification settings - Fork 586
fatal: Authentication failed without prompt for user name and password #141
Comments
I do get the prompt for credentials (popup window, for VS Team Services) but still get the same "Fatal: authentication failed" message. I think it relates to v1.2.0, I installed 1.1.0 release and authentication errors disappeared. I wasn't even re-prompted for credentials, I guess they were saved to Windows Credential Store. |
Thanks. Uninstalling v1.2.0 and installing v1.1.0 solved the problem. |
Some logs for the developers for v1.2.0: Log Start (2016-03-06 14:06:50Z) Log Start (2016-03-06 14:06:55Z) Log Start (2016-03-06 14:08:28Z) Log Start (2016-03-06 14:08:33Z) |
I am having the same experience. I can work fine in VS, but get the error at the command line. This is new behavior. Not sure what has changed. UPDATE** I uninstalled 1.2, then reinstalled it and had the same error. Next I uninstalled 1.2 and installed 1.1 and all it worked immediately. |
Thanks for that, we now know it is a bug in 1.2. I'll mark this accordingly. The get -> delete cycle is usually triggered by Git instructing the GCM to delete credentials because the supplied credentials were reported as invalid by the host. Unfortunately, I'm not seeing this happen with any of the instances of VSTS I have. I'll keep trying and with luck can reproduce the issue and resolve it quickly. |
@whoisj I just installed 1.2.1 and I'm still having the same issue. Is there a way to clear the stored credentials or something else I need to do? |
Try the following:
Wash, rinse, repeat as necessary. |
That worked and taught me something new. Thanks! |
🎈 You're welcome. 😀 |
I had this issue this week... Why hasn't it been fixed? I basically followed whoisj's workaround except I actually updated the password right there instead of removing the entry in Credential Manager. |
I had this problem today as well (git version 2.12.2.windows.1). I think it depends on your configuration whether you suffer from it, but somebody may have to report a new bug for this. |
@carlin-q-scott @kwazel the issue should be fixed in the latest Git for Windows (v2.12.2.windows.2) |
@whoisj Ah, I was using an older version, the one that comes with Git-Extensions. I've updated to the latest version so hopefully I never have this issue again. |
Thank you whoisj that really helped me resolve my git issue.. years later your reply lives on :) |
Thank you @gistofj |
I came across the same issue in macOS. The steps to clean up stored credentials in macOS are:
|
@y-code are you sure that you are using the Git Credential Manager for Windows on macOS? |
@dscho oh, sorry. I didn' t notice this repo is for Windows. it was not appropriate to talk about the case on macOS. |
i'm still facing the same issue on 2.26.1.windows.1. |
Did you try setting http(s)://username@url instead of http(s)://url? |
Hi.
I'm using Git credentials manager with Cmder and our git repo is on msazure.visualstudio.com.
On my desktop it works just fine but on my laptop I get "fatal: Authentication failed for {our repo}".
Deleting the credentials directly in the windows credential manager doesn't work. Neither does adding it. (It never prompts a window with request for user and password)
Also verified this: credential.helper=manager
No luck so far. Restarting my machine didn't help either.
The text was updated successfully, but these errors were encountered: