I tried to login to Bitbucket from Sourcetree and seem to be getting the same Login Error message:
Login failed for your Bitbucket account.
The remote service said: 'Login error'
How could I go about fixing this?
I was able to get it working by following the steps below (Windows 8 OS)
Hope this helps
After many hours of fumbling around, removing the passwd file was the fix that finally worked for me, detailed here:
Mac OSX 10.13.3 same issue - am entering correct Bitbucket server base url, username and password and am getting Login erro all the time... what a waste of time... I have SSH private key added to my key manager.
I just downloaded the latest SourceTree (funny - it doesn't even allow you to look up version before authentication - what a nonsense!). Have an older version on another machine and it's still working. Wasting more and more time with Atlassian products = starting to decrease my productivity significantly.
I removed the password file on the equiv. mac directory (~/Library/Application Support/SourceTree) and it didn't help. So annoying! going to stop using Sourcetree, too many bugs!!!
EDIT: After wasting a couple of hours on this, it worked after I changed to SSH and created a KEY + uploaded it to bitbucket. This BUG shouldn't have happened in the first place.
The SSH thing didn't hold up for long, I don't know if it is related to bugs in bitbucket (which made my SSL key disappear after a couple of days)
Bottom line, I converted the repository back to HTTPS and found the line that fixed my constant password-asking issue:
1. git config credential.helper store
2. git push
3. Enter user/pass for one time
Also, I had to change GIT preferences to use System GIT and not the embedded buggy one.
That's it. Fixed it, Sourcetree is not nagging again about bitbucket password.
If (2) is not displaying a username/password query, then credentials must be deleted somehow before doing the same scenario again.
Hope it helps someone.
This fixed one error. However I then ran into problems trying to get SSH woring. Namely when I tried to clone a repository I got an error
"Authentication via SSH keys failed"
I created the SSH key using Tools > Create or Import SSH Keys.
The error asked "Do you want to launch the SSH key agent (Pageant) and retry?
When I tried this the error repeated.
I have added the key using Pageant in the system tray and set it to default.
Strangely I have now reverted back to HTTPS and things seem to be working.
A vulnerability has been published today in regards to Sourcetree for Windows. The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...
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