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 Enterprise: "failed to check login for user"

I installed SourceTree Enterprise and attempted to login to my local Bitbucket Server installation. The login fails with the message "failed to check login for user [{username}]".

The log has the following entries:
ERROR [timestamp] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Insufficient authentication credentials
ERROR [timestamp] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Failed to check login for user [{username}]

The root URL ( https://{server}.{domain}/{context}/ ), username and password are the same ones I use when successfully logging into Bitbucket in Internet Explorer on the same PC.

My username does not include any special characters such as the '@' symbol.

I have tried the suggestions in the following:

What additional authentication credentials am I supposed to provide, and how?

Software versions:
- Windows 7 Enterprise
- Internet Explorer 11.0.51
- SourceTree Enterprise 2.5.5
- .Net Framework 4.7.1


3 answers

1 accepted

This bug report is now marked as resolved and should go into version 3.0.3!

Like Daniel Takahashi likes this

I have the same problem. This this Oct 17, 2019. Almost a year passed still no answer.

I had the same issue, searched and tried many suggestion to resolve but none worked for me.

My problem was simple, but not immediately obvious - my username contained a space, eg. "John Smith". I changed my username in bitbucket server to just "John" and then I could login successfully with source tree.

If Bitbucket allows you to create a username with a space, and also login to bitbucket with a space in the username, source tree also should.

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