Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I log in to Sourcetree??

David Gartner July 25, 2018

Hello,


I've been using Bitbucket, and want to work with it through sourcetree but I'm running into some issues.

After getting past some non-obvious setup steps (I have to manually install .NET libraries on my own then re-run the sourcetree installer) I try to log into bitbucket server and get an error saying "Invalid URI: The hostname could not be parsed." 

I instead tried to log in with an Atlassian account. That also didn't work as it refused to accept my password even after multiple password resets.

 

How can I use this tool????????

1 answer

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 25, 2018

Hello! Re: Bitbucket Server -- what's the URL that you're using for your hosted Bitbucket Server server?

 

For Atlassian Account, could you try following the steps listed in this post? Thanks!

David Gartner July 25, 2018

the URL is http://local-server-name/
my username is first.last@company.com

It seems to break with the '@' in my username. https://jira.atlassian.com/browse/SRCTREEWIN-7933

How has this not been addressed in almost a year?

Like Barbora Darmova likes this
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 25, 2018

The @ issue will be fixed in the next release, but for now it should work if you just replace the @ with a _

David Gartner July 25, 2018

if I replace the @ with a _ I get a new error.

"Failed to check login for user [first.last_company.com] : You do not have permission to access URL 'http://local-server-name/rest/api/1.0/users/first.last_company.com' please check the user credentials associated with this account. The request returned with status code 'Unauthorized'."

The URL resolves if I enter it into the browser.

Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 25, 2018

When you visit via your browser, is it "http" or "https"?

David Gartner July 25, 2018

http.

https doesn't resolve.

Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 25, 2018

Odd -- and when you use your Atlassian Account to login via that option it doesn't work either? Your Bitbucket Server credentials won't work with the Atlassian Account login, you'll need to use or register for an Atlassian Account.

David Gartner July 25, 2018

I can log in with my Atlassian Account after adding id.atlassian.com to my trusted sites in IE. However, I'm trying to find the easiest path to get everyone at my company set up to use Sourcetree. Having everyone create an Atlassian account and set a trusted site in IE seems unnecessary when everything should already be in place to simply log in via bitbucket server.

Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 25, 2018

We're going to be pushing a (relatively) big update in the next week or so to our beta testers that focuses around user authentication, so keep an eye out for that.

 

It's very odd that you can't login to Bitbucket Server though. Could you try this alpha build and see if it addresses your issue? If possible, it would be awesome if you could get logs from your BBS server to see why it's failing to authenticate 🙂

David Gartner July 26, 2018

The alpha build gives me the same error.

It's complaining that I don't have permission, but it's not clear what I need permission for. I have admin rights on bitbucket, which should be all i need.

Which logs should I be looking for?

David Gartner August 9, 2018

Any update on this?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events