I\'m trying to push my project via the https protocol on bitbucket using sourcetree.
But I can\'t connect to bitbucket with my login and password (which work on the webs
I got the same issue when password reset has happend for the domain.
I tried almost all the steps in
(Tools > Options > Authentication).
But nothing worked. At last i got below answer from atlassian community page and it worked.
The only thing that worked for me was navigating to C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree and removing the passwd file
Once that file was deleted, I just did a "Push" and it finally asked for my password
https://community.atlassian.com/t5/SourceTree-questions/How-to-update-HTTP-S-credentials-in-sourcetree/qaq-p/297564
https://community.atlassian.com/t5/Sourcetree-questions/Getting-quot-fatal-Authentication-failed-for-quot-error/qaq-p/624663
I had the same problem. You need to go and add an app password for sourcetree in your bitbucket settings. Click "Bitbucket settings" in menu, App passwords, create app password. Then go to SourceTree and edit your saved password
I got this error using Azure DevOps even though I had added a Personal Access Tokens as the example shown.
Solved it by running git pull -v
from Sourcetree terminal and adding the Personal Access Tokens again through there.
I recently had a similar issue with SourceTree: any time I tried to push/pull/fetch to/from the remote origin I would get an authentication error (using SourceTree with Stash). Sometimes I would be challenge in Stash with a CAPTCHA but it never made a difference if I provided the correct information or not.
For me, we're using SourceTree and Stash in a corporate environment; user accounts are based on network credentials. Part of our network security requires us to change those passwords on a regular basis.
I was operating under the assumption that SourceTree/Stash was "aware" of any change made to my network password. But apparently -- at least in this instance -- it was not.
To fix, all I needed to do was:
Tools > Options > Authentication > Edit (Edit Password)
I set the password to match my current network password and everything began working as expected.
Not sure if this helps the OP but I hope it may help someone else looking for answers to a similar issue.
In windows this worked for me
git config --global http.sslVerify false
Windows start up menu,Search for windows credential manager. Search for bitbucket url, Try updating password there.. and do git operation again. It should work.