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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

572 views 1 2
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