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

error connecting to bitbucket server via SourceTree


Installed bitbucket server locally

Seems to be working.  The user is the same as Jira.

On source tree selected remote add account and bitbucket server


Auth basic

username bitbucket = my user name

Selected refresh password and added bitbucket user password.  Get insufficient authentication credentials

Some help would be great.  

1 answer

1 accepted

0 votes
Answer accepted
Ana Retamal Atlassian Team May 08, 2018

Hi Michael! We'll need some more information to help you troubleshoot this issue:

  1. Which OS and Sourcetree version are you using?
  2. Have you tried logging into Bitbucket Server directly? 
  3. Were you able to find any more information in the logs? You can find them at Sourcetree logfile location
  4. Can you send a screenshot?

Best regards!


Hi thanks for getting in touch.  

I had the bitbucket up and running and tried to connect source tree to bitbucket.  Did not work.  The user account was from Jira and was linked to bitbucket.  On Going back to Jira I noticed there was a pop-up saying allow access to bitbucket approved that and then from the bitbucket I selected clone and select source tree and it worked.

Not sure if i could replicate the steps.

OS Windows. jira 7.9, bitbucket 5.10 source tree 2.5.5

Found the set-up unclear but got there.

Ana Retamal Atlassian Team May 15, 2018

Hi! So it seems from your message that the connection between Sourcetree and Bitbucket Server is working now :) Looks like you needed to approve the access to Bitbucket first so the authentication could succeed.

Kind regards,


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,128 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