Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Login to BitBucket fails from SourceTree

OC2PS February 11, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
February 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

OC2PS February 15, 2019

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.

OC2PS February 18, 2019

@bgannin Any ideas/suggestions?

bgannin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 19, 2019

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

OC2PS February 19, 2019

 

@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.

OC2PS February 19, 2019

@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.

OC2PS February 19, 2019

@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
AUG Leaders

Atlassian Community Events