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

SourceTree Integration to Bitbucket Server not working from Windows (works from Mac)



I've installed Bitbucket Server, and it seems to work quite fine.

I've installed SourceTree on MacOS, and I'm able to connect to my Bitbucket Server.


I've installed SourceTree on Windows, but a connection is not possible, but instead, I got an error message "Failed to check login for user [tobias]".

Interesting: If I enter a wrong password for my user "Tobias", I get another error message: "Failed to check login for user [tobias]: You do not have permission to access URL '' please check the user credentials associated with this account. The request returned with status code 'Unauthorized'."


This is my setup:


  • Bitbucket 5.13.1 installed on Mac OS 10.11.6
  • DBMS: PostgreSQL 9.3, installed on the same computer
  • Crowd, Confluence and JIRA installed on the same computer
  • Same DBMS is used for JIRA, Confluence and Crowd
  • User management with Crowd
  • Secured with nginx and valid certificates
  • git 2.18.0 (coexists with original git from Mac OS)


  • Mac OS: SourceTree 2.7.6
  • Windows: 2.6.10


Why is it working with SourceTree for Mac, but not on SourceTree for Windows?

Any ideas? Thanks, Tobias

1 answer

0 votes
minnsey Atlassian Team Sep 20, 2018


There is an issue in Sourcetree for Windows when connecting to Bitbucket Server instances where the URL includes a context path e.g. https://myserver/bitbucket vs https://mybitbucket/

This is fixed in the upcoming 3.0 release.

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,263 views 5 14
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