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 votes
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
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

....sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

216 views 0 12
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