Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Localhost refused to connect while authorizing sourcetree

I can't finish installing Sourcetree.

One of the error messages when trying to connect it to Bitbucket account in previous Sourcetree versions is this:

Unable to get secret
Unable to get user secret
Unable to receive callback from OAuth service provider
Operation is not supported on thisplatfrom
Please try restarting Sourcetree


On the latest version it just says:

Localhost31046 refused to connect when confirming access to my bitbucket account.



I am using Windows 10, my browser is Google Chrome, also tried it on Microsoft Edge.

Nothing seemed to work

Tried also various versions of Sourcetree.


Any solution for this?



1 answer

I have the same issue

But my platform is windows 7 and google chrome

sourcetree version is 3.3.8

After i change version to 3.2.6 

Installation successfully and no issue happened

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

7,036 views 5 13
Read article

Community Events

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

Events near you