Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 Setup - unable to login to hosted bitbucket server

After installing SourceTree Enterprise 2.5.5 I'm unable to get passed the Register Account screen in setup.  No errors show up in the Bitbucket server logs, other than this in the access log (scrubbed of IPs and username):


X.X.X.X,X.X.X.X | https | i@1BQI1U6x977x62993x0 | - | 2018-06-06 16:17:07,859 | "GET /rest/api/1.0/users/ HTTP/1.1" | "" "" | - | - | - | - | - | - |
X.X.X.X,X.X.X.X | https | o@1BQI1U6x977x62993x0 | | 2018-06-06 16:17:07,922 | "GET /rest/api/1.0/users/ HTTP/1.1" | "" "" | 200 | 0 | 259 | - | 60 | - |


6-6-2018 4-17-35 PM.png

1 answer

0 votes
Mike Corsaro Atlassian Team Jun 07, 2018

Hello! Can you try removing the "/bitbucket" part of your login? Additionally, does your username include a special character such as a @?

No, /Bitbucket is where the app is hosted.  We've got everything behind virtual directories so Jira is  If I remove /Bitbucket then I get an error that the rest api can't be found.

User names are first.last format except for a few local JIRA accounts that don't come from LDAP.

Mike Corsaro Atlassian Team Jun 07, 2018

Got it. Odd -- okay so as a work-around you can still login using your Atlassian Account on the previous screen.


For login, do you normally use "" when you login via the Bitbucket Server website?

Nope, I just use, same as the account name in Bitbucket.  And yeah, I can use the Atlassian work around, maybe create a team account and have all my devs share it, but that kinda defeats the purpose.

Mike Corsaro Atlassian Team Jun 07, 2018

Could you post your sourcetree.log file? That might provide more information. You can find the log in the path:


Mike Corsaro Atlassian Team Jun 07, 2018

Sorry one more thing I've noticed that happens sometimes: when you login and the password prompt opens -- is your username in the first textbox?

Yes, the name is already in the box.

ERROR [2018-06-06 15:58:51,328] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Insufficient authentication credentials
ERROR [2018-06-06 15:58:51,328] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Failed to check login for user [richard.hopkins]
ERROR [2018-06-06 16:04:00,603] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Insufficient authentication credentials
ERROR [2018-06-06 16:04:00,603] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Failed to check login for user [richard.hopkins]
ERROR [2018-06-06 16:06:49,551] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Insufficient authentication credentials
ERROR [2018-06-06 16:06:49,551] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Failed to check login for user [richard.hopkins]
ERROR [2018-06-06 16:11:58,117] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Insufficient authentication credentials
ERROR [2018-06-06 16:11:58,133] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Failed to check login for user [richard.hopkins]
ERROR [2018-06-06 16:17:07,823] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Insufficient authentication credentials
ERROR [2018-06-06 16:17:07,823] [1] [SourceTree.Exceptions.RemoteHostException] [.ctor] - Failed to check login for user [richard.hopkins]

Mike Corsaro Atlassian Team Jun 07, 2018

Could you set the log to debug level, try to login again, and then post the log?

To do so, open:


and set the threshold values to DEBUG (from ERROR). After doing that and uploading the log, make sure you reset that back to ERROR. Thanks!

I've tried a bunch of ways to try to get that much text into a post and it always errors.  Can't use file sharing by corp policy, so unfortunately I can't.

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...

3,376 views 4 5
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