Missed Team ’24? Catch up on announcements here.

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

Unable to add repository into Crucible

Martin Middleton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 17, 2013

Hi

I'm in the process of evaluating Crucible, but I can't seem to get it too add in my Git repository.

I keep getting the following error.

Error testing connection.
Error talking to repository: 


at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:148)
at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:444)
at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:567)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

Connection failed.

I've pasted in the repository name from repository details shown within Stash. If I use this URL in the browser the repository is displayed, not sure what else to try.

Can anyone help?

Thanks

Martin.

10 answers

1 accepted

4 votes
Answer accepted
Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 17, 2013

Martin: Are you using a URL similar to one of the two formats below?

https://user@server:port/scm/project/repository.git

ssh://git@server:port/project/repository.git

Also, are you able to clone the repository using Git as the user running Crucible?

git clone https://user@server:port/scm/project/repository.git

rstephens
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2014

If cloning over SSH using the default SSH port (22), you can also use this form:

git@server:proejct/repository.git

Deleted user November 7, 2018

This is my first time setting this up, so I wonder how you could determine what port or what path or where should I put the git executable

4 votes
Sridevi Malasani July 16, 2014

In the Attlassian documentation, I found that we need to download git for OS and set the path of git executable, once I put that, I was able to add. See the below link of how to set the path.

https://confluence.atlassian.com/display/FISHEYE/Git+client

0 votes
Sridevi Malasani July 16, 2014

I posted this earlier in wrong place.... here again..

In the Attlassian documentation, I found that we need to download git for OS and set the path of git executable, once I put that, I was able to add. See the below link of how to set the path.

https://confluence.atlassian.com/display/FISHEYE/Git+client

0 votes
Chris Pettitt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 16, 2014

same here

0 votes
Sridevi Malasani July 3, 2014

I could not add the Git repository and getting the same error as Martin has pasted. I tried this url, https://user@server:port/scm/project/repository.git

but no luck. I could connect to the git in browser. I am running evaluation version

3.4.5

0 votes
Jason Caragan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 5, 2013

Hi Tim,

Per our email correspondence, please feel free to file a ticket in the Crucible project on support.atlaassian.com to ensure the quickest response from Atlassian tech support in the future. Thanks guys!

0 votes
Tim Johnson November 21, 2013

Any new thoughts on this? I'd love to continue our evaluation of your product but I can't get to first base. Thanks!

0 votes
Tim Johnson November 18, 2013

Tried it, still not working. I didn't mention earlier I'm also getting file-delete errors but I thought the connection problem was the primary issue. I'm still getting them, like:

problem deleting directory e:\build\CrucibleInstance\var\tmp\hg_test_clone_1384880057202\.hg\store\data\_production\_command_line\_print\_print_response

I'm not sure what the "problem" is since the directories do seem to get deleted, and I'm full Admin on the machine for the user I'm trying (also tried a non-admin user and pointing to his own documents directory).

So I'm not sure if the 2 issues are related, but I still can't get going to evaluate. This is on a Windows7 machine running bin\start.bat (not a service). What else can I try?

0 votes
Tim Johnson November 18, 2013

I'm having the same problem during an evaluation, getting a failed test connection. The url I'm using works fine in the browser, of a format like:

https://pdxhg.xx./phm

How would I "add the username/pwd to the url" as the first person said?

Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 18, 2013

When you're adding the repository on page 2, there is a section for Git Authentication where you can choose Password for http(s).

To specify the username, add it to the URL:

https://user@server:port/scm/project/repository.git

0 votes
Martin Middleton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 17, 2013

sorted it, I didn't have a user name in the URL, and I didn't realise you needed to put in the password as well.

thanks for your help.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events