Password not working on SourceTree

Ok I'm having trouble cloning a project on my Bitbucket.

I have SourceTree installed and when I clone a project using Bitbucket site I get a authentication log in.

I used my username and password (i'm pretty sure i used the correct one since i tried it on the bitbucket site and it worked) but sadly it doesn't accept and just sends me a Authentication failed error.

Here's the image

http://www.2shared.com/photo/FmKqnu0c/dsadasdsadsa.html

35 answers

1 accepted

7 votes

Please see https://jira.atlassian.com/browse/SRCTREEWIN-3944 for updates and a work around. A new release will be coming tomorrow morning San Francisco time.

30 votes

I just installed the latest ST update 1.6.24.0 for Windows, and now am getting Authentication Failed across multiple different Bitbucket accounts. Team members who are still on 1.6.23 are fine, all who have upgraded to 1.6.24 are failing auth.

Dune C I'm New Here Nov 30, 2015

I'm having the same issue on Windows 10, just updated to 1.6.24.0.

I just uninstalled 1.6.24 and reinstalled 1.6.23 and that version works fine (good news is uninstall and reinstall doesn't lose your repo configs). The problem with 1.6.24 is it loses all your accounts under Tools -> Options - Authentication tab. http://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.6.23.exe

Same issue for me. Updated to 1.6.24 this morning and could not commit anything, though I could browse the repos I have. Downgraded to 1.6.23 and all is well. Thanks for the link!

Same issue on 1.6.24, Windows 10.

After downgrade to 1.6.23 and look into Authentication tab again and found that in the new version 1.6.24, the host changed from (bitbucket.org in 1.6.23) to (http://www.bitbucket.org in 1.6.24), maybe it aroused the authenication problem

Thanks for the link to download the previous version. I ran into the same issue with authenticating to BeanstalkApp repositories

I also have the same issue on 1.6.24, Win 7

I've ran into the same issue. I've submitted a bug. https://jira.atlassian.com/browse/SRCTREEWIN-3948

Same for me: 1.6.24 - can't authenticate with correct credentials; 1.6.23 - works fine.

Tu Nguyen I'm New Here Nov 30, 2015

Same issue on 1.6.24, Windows 10.

Hi, yes we've seen this reported a number of times and are currently investigating. Apologies for the problems.

Also can I just check, my testing so for indicates using SSH for git interactions works correctly the problem is with HTTP/HTTPS. Does that sound correct?

+1, https login from 1.6.24, Windows 10 is dead

Yes HTTPS login does not work fatal: Authentication failed for 'https://';

Thank you for the link to download previous version (1.6.23) that worked for me

I just updated to 1.6.24.0 and also experiencing the same problem on Win10 Wasn't an issue prior to the update

Haven't they released an update to fix din? I do not want to uninstall and install again. I'm worried about all the preferences and settings too. Please release a fix on this asap.

dror nir I'm New Here Nov 30, 2015

@Carmela Umali i unistalled and then installed v1.6.22 and all my preferences are the same

The Askpass.exe.config fix worked for me. I just added it in C:\Program Files (x86)\Atlassian\SourceTree

The rolling back to 1.6.23 worked for me. Advised our team to avoid 1.6.24 Cheers J

Askpass.exe.config fix worked for me as well. The fix can be found in the above JIRA ticket posted by Michael Minns.

same issue, shame on you, atlassian.

Askpass.exe worked for us as well. Will work until tomorrow's fix.

I am also with this problem. Only solved making the downgrade!

The Askpass.exe.config from https://jira.atlassian.com/browse/SRCTREEWIN-3944 worked here as well.

Dune C I'm New Here Dec 01, 2015

Thanks Murray, the rollback worked for me!

There's a new update. I was with this problem too, but now with the new update it's fine.

I am having the same problem, but against an internal TFS server using windows authentication. Sourcetree keeps prompting me for my username and password despite working for a while, and I think it has caused my account to lock out the past two days. It was working fine until I changed my domain password last Friday...since then Sourcetree seems to lose my new password periodically. I'm reverting to 1.6.23 to see if that fixes these problems.

Remi Domi I'm New Here Oct 09, 2017

Same issue for me. Updated to 1.6.24 this morning and could not commit anything, though I could browse bandarq the repos I have. Downgraded to 1.6.23 and all is well. Thanks for the link!

I encountered an error like this while trying to register the software (e.g. to avoid free trial time limits), and it was driving me crazy. Eventually I discovered that the username and password I was entering were for BitBucket but the client wanted my Atlassian ID. Why these are not the same is a mystery to me, but why the client did not make it clear which credentials I should be entering is a design flaw.

Remi Domi I'm New Here Oct 09, 2017

Same issue for me. Updated to 1.6.24 this morning and could not commit anything, though I could browse http://mdomino99.com the repos I have. Downgraded to 1.6.23 and all is well. Thanks for the link!

1 votes
jb I'm New Here Dec 01, 2015

They already fixed it. Do a "Check for updates" in the app to upgrade to 1.6.25.

Ref: https://jira.atlassian.com/browse/SRCTREEWIN-3957

Just before we look into it, perhaps log out of Bitbucket and completely re-enter your username/password to make sure those are your credentials. If that's OK and you re-enter those exact same details into SourceTree and it doesn't work then we could work from there. Also make sure it's the same user account when entering the details into SourceTree.

Just let us know how that goes and we'll get on it if it's still a problem.

Cheers

No luck.... It's still won't get me to login.

I've just tested this with a couple of Bitbucket logins and HTTPS clone links, and everything works fine on the Windows client.

Are you sure you typed it correctly, and that the username is 100% correct? The username is from the URL, so please make sure that's correct.

Otherwise it might be that you're trying to clone a Mercurial repo, which isn't supported yet on Windows, only Git repos are until we add the hg support.

Gem Kim I'm New Here Mar 04, 2014

I am having the same problem and the other team-members too...

I've already tried to change my password, logg out/in.

fatal: Authentication failed for 'https://username@bitbucket.org/somethingsomething/project.git/'

Perhaps the trailing forward slash is the problem?

0 votes

Had the same issue with 1.2.3.0 on windows, typed in password for so many times, then rebooted the machine and link was verified from the very first time.

0 votes

Aha, I've created a new repo with one bitbucket user and tried to clone it, with the other, before granting rights for the second user in access management. It's easy to forget about it when you already have some repos with access granted for the user

0 votes

I am having trouble with the password not working on Sourcetree. Using a Macbook Pro (which I don't normally use for Sourcetree), I open Sourcetree, open the desired repository and click Fetch. I confirm 'fetch from all remotes' and am prompted for a password for user "xyz" on host bitbucket.org. I enter the Bitbucket password and am promped over and over again for a password, which seems to indicate it is not correct (even though I've tested this password on the Bitbucket website).

Am I doing something wrong? Is it supposed to be a passord for an Atlassian account?

0 votes
Alan Cece I'm New Here Jun 19, 2014

I too am running into this issue. We have a private stash server setup that about 20 users setup on Sourcetree have no issue accessing, but one developer cannot clone projects in sourcetree, it just continually asks for his password. I can clone projects through the terminal for him, but not through Sourcetree itself. Any thoughts?

0 votes

I experienced the same issue. My password contained a paragraph sign (`§`) and I was trying to login from the Windows client, which did not work with 1.6.12.0. After changing my password to something without paragraph character, it worked. Probably an encoding issue.

0 votes

I'm using SourceTree for Mac. I had this issue for a long time, SourceTree was not able to log into Bitbucket but logging into Github etc worked fine. I just figured out that my username contained capital letters, and when logging in through SourceTree I had to enter my username in lower case only. If you came to this page and your username contains capital letter(s), try logging in with lowercase username.

 

0 votes

Experiencing the same problem. Tried logout and login multiple times on bitbucket.org and the credentials work fine. If I use the same credentials in SourceTree they don't work.

0 votes

Having the same issue on latest Windows client that I just updated!  Having the issue connecting to github.  I am 100% sure my credentials are correct.  It works fine on my mac too.  

0 votes

I'm also having this issue.  After constant prompts for my password every few seconds I ended up changing my username hoping it'd let me start fresh.  It didn't help.  The fixes suggested everywhere else don't work.  I'm still getting constant prompts for passwords but the username is locked to my old one and the authentication tab is empty.  When I uninstall the program and reinstall it automatically starts with all of my previous account info there so I don't get the option of using my new Bitbucket account.

Hello,

I had the same source tree password issue with Bitbucket Server (on local server) and Bitbucket Cloud.
The issue can appeare when you have an incorrect proxy configuration on source tree.

I removed my proxy configuration with Tools -> Options -> Use default operating system settings.

This solved my problem

 

0 votes

Having the same problem as Murray Francis.

Using Windows 8.1, upgraded to v1.6.24 today and had to revert to v1.6.23 to get authenticated on my git account. Please fix this asap.

0 votes

Just updated source tree to v1.6.24 and now I can't get authentication to commit to bitbucket.

0 votes

I get the "Authentication failed" error since last update (1.6.24)
Username and password are 100% correct ( I can login to bitbucket.org )
Reboot, didn't help.

 

Got the same problem and it is a real show stopper. We have a release tomorrow and I need to get working now.

0 votes

I got the same problem with 1.6.24. I reverted to the older version and it works!

0 votes

I have some error, after update to 1.6.24, password is 100% correct (i change him on Bitbucket site now) but can`t login in SourceTree to Bitbucket

0 votes

Ditto. After the upgrade to 1.6.24, I tried to pull latest and get prompted for network credentials. Entering the correct credentials fails.

I uninstalled SourceTree and reinstalled version 1.6.23, and now authentication is working normally

(http://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.6.23.exe)

0 votes

Таже проблема после обновления до 1.6.24. С темеже данными авторизации на IDE всё работает. в Source tree увы нет. Полное удаление программы со всеми данными не помогло. Использую Windows 8.1

0 votes

Great.. how long til this gets hotfixed? I can't find any link to go back to the previous version, has anyone else?

0 votes

I got the same problem - both with Bitbucket and Github

Suggest an answer

Log in or Join to answer

Stay in touch

Be the first to know what's trending on Atlassian Community