Just noticed you have a different Usr in your previous screen shot. For me the authentication always worked after entering the App password, just an error occured when using git pull/push asking to use app passwords. After deleting C:\Users\[Username]\AppData\Local\Atlassian\SourceTree\passwd I was asked to enter the App pasword again, which did the trick. Sorry, can' help in your case ... :-/
Atlassian Team members are employees working across the company in a wide variety of roles.
March 10, 2022 edited
@Boris Chigirintsev if you provide me more details I can try and help you get the issue resolved. Did you fully walk through options, up to and including completely reinstalling Sourcetree?
@David DansbyMany thanks was having all sorts of problems and followed your advice in an earlier post
I would suggest trying to use the OAuth authentication method instead? It's typically much easier to use and it should authenticate you by walking you through the Bitbucket Cloud login screens with your account password (instead of an app password).
This sorted everything in about 2 minutes ...... thankyou!
Please let us know if you have issues with Sourcetree for Mac. From our experience and other users' experience, this issue did not occur in the Sourcetree for Mac version; you will still need to update your account password to an app password if you are using Basic authentication with the HTTPS protocol to connect to your Bitbucket Cloud account. However, if you do experience any issues when updating to an app password in Sourcetree for Mac please let us know here.
1. go to C:\Users\<computername>\AppData\Local\Atlassian\SourceTree 2. Find file "passwd", Delete/Rename this file. 3. Open the source tree and try to pull/clone repository. 4. When you pull/clone repository, password will be asked. Enter "app password" you have just created.
Hi there, I have been having trouble pushing/pulling in Sourcetree. I have followed the steps in this post (as best I could) and I am still having issues. Can someone help me resolve?
didn't solve anything.... you should try your best not to suggest workaround for us but fix your software... if i suggest any workaround to my customer for a software that i develop, they spit in my faces and never come back -.-"
Now what? I need to remove my Bitbucket Cloud account credentials completely?
When I follow the instructions to go to "Tools/Options/Authentication" and delete the account listed there, the response I get is "Are you sure you want to delete the selected hosting account?"
That didn't sound right to me...
And, if i am supposed to delete the "selected hosting account"...
The next step I should do is... as @DanielShalmiev posted, "[delete] the "accounts.json" file from %APPDATA%\Atlassian\SourceTree and that solved the issue."
Atlassian is claiming it's not a bug with ST but it feel like it is. They say git credential manager is a problem so I removed it, and guess what ST is asking for password now. I setup SSH based auth and I can get the token via SSH but ST can't talk to repos. Also I have no idea why I need SSH to pull the token if can be done via HTTPS. I though using SSH means auth mechanism is SSH like for linux login, and then I don't need auth tokens because SSH is my auth...
Anyhow it's a bug in SourceTree! I have no problem to auth via terminal but ST is a mess
It all works actually, you just made it over complicated, one side you say "we don't use password based auth" form the other you still use passwords. Just need to generate them in "app passwords" with added permissions.
You may need to do this. Remove credential helper globally
Atlassian Team members are employees working across the company in a wide variety of roles.
March 11, 2022 edited
@Laura Brown that is right. You want to remove the account. After you remove your account, proceed to Step 6 and choose one of the three mentioned authentication methods to connect to your Bitbucket Cloud account. After you authenticate and connect to your Bitbucket Cloud account again then you will need to proceed to Step 7.
After you complete Step 7, please let me know if you are still experiencing the issue and getting an error.
@David DansbyI did all that... and it didn't work. I am in the process of reinstalling sourcetree, and the installation instructions on Atlassian are out of date, of course. And ran into problems installing/extracting Git: https://prnt.sc/ukKJ4gOfrBv9 and now i'm stuck
155 comments