Unable to connect to the bitbucket repo from source tree. Fail to reload remote repositories

I am using Mac High Sierra OS. I installed source tree and tried logging in by different means. I am unable to load the remote repositories on my bitbucket and also I am not able to clone them. I tried oath and ssh, and https and basic also. None of them works. I also have a windows system and it works there. On mac its a failure.


The errors are below:

An error occurred while trying to refresh the remote repository of your account.

Could not re-authorize request with the available token . please reauthenticate.


Please tell a fix for this. 



1 answer


It looks like there is a problem saving password/token to keychain on you macOS. Please remove any accounts added in Sourcetree, delete all keychain items you find in Keychain that is added bySourcetree and restart you mac. Add the accounts back in Sourcetree and verify the new items added in Keychain and this should get your issues sorted out.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,219 views 4 2
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