Getting error - Failed to check login for user - when registering SourceTree
Asked by Don Tompkins:

I just installed SourceTree 3.1.3 and I am unable to register the application to use it. I copied the URL exactly as it displayed on the bitbucket website and entered my password (same one that allows me to access my account on the bitbucket website, but I am getting a Failedto check login for user.

On the registration page I enter:

https://\<my username\>@bitbucket.org/\<My team name\>/\<my repo name\>

Then I enter the my username and am prompted for the password. I get them error. When I review the SourceTree log It displays the following and that it can't be found:

https://\<my username\>@\<my username\>@bitbucket.org/\<My team name\>/\<my repo name\>

I tried removing the \<my username\>@ from the URL and get the same results, but the log message displays the URL correctly after it appends the username to the URL. Any assistance would be appreciated.

Thanks! Don


Answers:
author: Siva K
body: In our case we had to install certificates


author: Yordanys
body: I am in the same case. I can configure any other Tool for git except the source tree. I am getting the same issue: faild to check login for: ......


author: Sophie
body: I am having this problem but I have no idea how to fix it can anybody help me??


author: Don Tompkins
body: Is there an update to this issue? Thanks!


author: Stephen Sifers
body: Hello Don and welcome to the Community!

We appreciate you including details into what you've attempted already and the errors you're seeing in response. When you're attempting to connect to Bitbucket, could you please use the following URL:

* [https://bitbucket.org](https://bitbucket.org?)

Use your standard Bitbucket account credentials to authenticate.

Please let us know if you're still having issues registering your account with Sourcetree after attempting the above.

Regards,  
Stephen Sifers

comments: author: Don Tompkins
body: Thank you for the quick reply Stephen. I am getting the same error.

Thanks!


author: Stephen Sifers
body: Hello Don,

Thanks for confirming. To ensure we're trying to authenticate to the right place, you do use Bitbucket cloud correct?

Could you please include a screenshot of the error as well? I can use this to pass it along to the Sourcetree team so we investigate further. (Please remove or blur any sensitive information before posting).

Regards,  
Stephen Sifers


author: Don Tompkins
body: Here is the result of me trying to log in. a screen shot of the log file (with my username removed) is below. Thanks!![Screenshot - 9_12_2019 , 5_38_33 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/66074i94A83933BB46CCF5/image-size/large?v=v2&px=999 "Screenshot - 9_12_2019 , 5_38_33 PM.png")

![Screenshot - 9_12_2019 , 5_42_26 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/66075iF4D8376122483CA5/image-size/large?v=v2&px=999 "Screenshot - 9_12_2019 , 5_42_26 PM.png")


author: Stephen Sifers
body: Hello Don,

I reviewed your account and I am unable to find any referenced or linked instances of Bitbucket cloud sites. Can you please confirm you have a Bitbucket account that uses the same email as your account for Community?

If not, please let me know the Bitbucket instance you're using so we see why you're being reported as not having an account on Bitbucket.

Regards,  
Stephen Sifers


author: Don Tompkins
body: Apologies for wasting your time. My coworker and I figured out the issue. I was selecting BitBucket Server and it should have been BitBucket when configuring SourceTree. I have it all set. Thank you!


Tags: bitbucket