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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,758 views 1 5
Read article

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