invalid url format

I am unable to add a Bitbucket self hosted site to sourcetree using the ssh option. I keep getting an invalid url format error.

7 answers

I don't suppose you are willing to post the URL so we can proofread it for you.

Assuming you didn't remove the error text in the process of removing sensitive info, that looks fine to me. Maybe it's choking on the port specification for some reason? What error message do you get if you try the same URL without the port (I'm assuming SourceTree validates the URL before checking for a Git repo at the URL)?

There is no error message in that URL and all i have changed in the URL is the actual name of the Web site and the name of the git repo. 

with or without the port I still get the same error message saying that the URL is malformed. I have tried removing the git@ as well but no luck

 

BTW just to be clear, I get this error while i try to register a new remote account. cloning the repo actually works fine. 

 

Ah, that's not something I've done before. Is it this popup:

image2016-5-18 8:43:18.png

You might try the HTTPS Url, only put your username in the username box (not the URL), and make sure Preferred Protocol is SSH. IDK if the extended integration API can communicate over SSH. It may require HTTPS, but use SSH for all git communication.

My server doesn't have https at the moment. and for some reason sourcetree doesn't like that

My best guess is tha HTTPS is required for the extended integration stuff. I'm leaving this as a comment for now since I don't really know what I'm talking about. Maybe someone else will have a more concrete answer.

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

244 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot