Authentication failed in SourceTree while connecting to Bitbucket


I am having a trouble logging into Bitbucket server from SourceTree. I get Authentication Failed error but I have cross checked the user name and password and all seems to be correct. Also, when i login to Bitbucket in the browser using the same credentials it works. I have tried uninstalling and installing the SourceTree and in different system as well but no luck so far. Also, I have changed HTTPS and SSH but both doesnt seem to work. Please see below error. Any help highly appreciated.SourceTree_Error.png 




1 answer

0 votes


I think it is todo with the URL you are using. I woudl expect to enter something like  https://mybitbucketserver/ as SourceTree will then append the REST api relative URLs to that.

Hello Michael,

Thanks for your response.

I have been using the same URL since beginning and it was working before and nothing has been changed lately. And we are using like https://mybitbucketserver/ as mentioned by you. Please let me know if you need any info.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

186 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you