Why wont Sourcetree remember my password?

I'm using Sourcetree version on Windows 7 Enterprise


When I attempt to fetch changes, I am met with the error message: 

fatal: Authentication failed for 'https://mduguay@stash.mysoft.net/ire/imsacnt/demo-repository.git/'


I then go to Tools > Options > Authentication

I add an account with all the correct information.

When I click Edit > Refresh Password, I am prompted for my password.

I enter my password, make sure Remember password is checked, then hit Login.

I see "Authentication OK" on the Edit Hosting Account screen


However, when I attempt to fetch again, I get the same error:

fatal: Authentication failed for 'https://mduguay@stash.mysoft.net/ire/imsacnt/demo-repository.git/'


If I navigate back to Tools > Options > Authentication and Edit my account again, I see the message "Login Failed"

I can hit Refresh Password, enter it again, get the "Authentication OK" message, but Fetching (or performing any other operation) throws the authentication failed message.

Why does authentication fail when performing git operations after I enter my password? Why does the status reset to "Login failed" after I attempt to perform a git operation?


Thanks in advance for your help


1 answer

0 vote
Mikael Sandberg Community Champion Aug 21, 2017

Checkout this thread, https://community.atlassian.com/t5/Bitbucket-questions/SourceTree-2-1-10-0-Authentication-Issues/qaq..., about authentication issues in the new version of SourceTree. Hopefully that will help.

I get a 404 for that page...

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,056 views 26 11
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you