Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,358
Community Members
 
Community Events
165
Community Groups

Login to BitBucket fails from SourceTree

I am able to log into the bitbucket.org website fine. But with the same credentials, SourceTree seems to be having trouble logging in - keeps giving me error. This is a new problem. The last time I tried this (admittedly several months ago) it worked fine from SourceTree.

1 answer

0 votes
bgannin Atlassian Team Feb 11, 2019

Hi @OC2PS,

A few questions:

1. What version are you using?

2. What OS are you on?

3. What error are you seeing? 

Thanks,

Brian Ganninger
Principal Developer, Sourcetree

Thanks for the quick response. Sorry for not providing the info sooner - the notification ended up in my Spam folder.

 

Anyway:

1. What version are you using? 2.3.5.0

2. What OS are you on? Windows 10

3. What error are you seeing? 

Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Invalid username or password
fatal: Authentication failed for 'https://OC2PS@bitbucket.org/teamnevis/opencart-expected-delivery-date.git/'

Completed with errors, see above.

@bgannin Any ideas/suggestions?

bgannin Atlassian Team Feb 19, 2019

@OC2PS Can you try it with 3.0.17, our latest Windows release, and let me know if it reproduces still? Thanks!

 

@bganninI have now upgraded to the latest SourceTree release. Still getting: 

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Invalid username or password
fatal: Authentication failed for 'https://OC2PS@bitbucket.org/teamnevis/opencart-expected-delivery-date.git/'

Completed with errors, see above.

I even did reset password, via the Forgot Password function. SourceTree refuses to log me in, regardless.

@bganninOne additional piece of info which may or may not be relevant: When I went to Tools > Options > Authentication, the account there was showing login failed too. However, when I changed from https to SSH, the authentication worked.

That said, when I try to pull/push to any bitbucket repo, and am asked for password, I still get the aforementioned error.

@bganninAfter the aforementioned change to SSH and successful authentication in Tools > Options, I closed SourceTree and opened again. No luck.

Then I set the account as Default. No luck.

Then I closed SourceTree. Opened again. This time, the login window looked completely different. I put in the credentials, and voila, I was able to log in/ pull from repo.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,937 views 127 27
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you