Can't connect with gitolite repository

I'm not able to connect to my gitolite repository. I do get a working ssh connection, but then it gives the following error in the logs: TransportException: No such file or directory

So it seems it's not able to find the repository, even though I'm sure the path is correct. When I do a clone locally with the same ssh key and path as I fill in the Jira repository settings I can clone it just fine.

As reference, the url is like this (scrambled it a bit):
ssh://git@example.com:9418/test_repo

7 answers

Hi

this port is not supported by plugin (and erroneously treated as part of scp path). Could you use regular ssh protocol?

Hi. I am also experiencing the same thing. Does it mean that you cannot use sourcetree if you have a non standard port?

Seems I was wrong in my previous answer. JGit should support access to 9418 port. What kind of error do you have?

The error is fatal: '/gitolite-admin does not appear to be a git repository.

If I run the same command on my local machine for eg git clone ssh://git@myurl.com:5252/testing then it works.

How do you adding configuration entry for your repository?

I don't understand the question.

I have installed gitolite. I use the automatically created gitolite-admin repository to manage my repositories. I can clone this from my local server but it seems I cannot access this server using the same url when I use sourcetree.

Ah I'm sorry I thought you are asking about Git Integration Plugin for Jira. Can't say anything about Atlassian Source Tree. Sorry for confusion again

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

526 views 4 5
Join discussion

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