How to integrate Stash with Crucible

I have created application links in Stash 3.6.0 and Crucible 3.4.3 for each other and SSH is enabled for stash (Administration-> server settings -> SSH access (port: 7999)). This application link works as I am able to see Stash repositories in Crucible (Admin -> Repositories ->Stash repositories).

But when I add a repository from "Stash repositories" tab as native crucible repository, Fisheye (Crucible) is unable to clone because of permission and hence Fisheye repository start fails with below error.

"Unable to clone remote repository: ssh://git@<url>:7999/<projkey>/1-build-team-first-test-repo.git - [ssh: connect to host <url>  port 7999: No route to host, fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists."

 

Question:

  1. How does SSH works for application link?
  2. What should I do to resolve the issue so that Fisheye can clone the repository as native?
  3. Both application is crowd integrated with same user directories. Can it be done without SSH?

    I tried disabling ssh in stash, then stash repositories became invisible in crucible.

Thank you for your help.

2 answers

0 vote

Hi Anurag,

Can you please check there is no firewall or Iptables rules between Fisheye and Stash?

Network access seem to be the culprit here.

Best,
Thiago

0 vote

Hi Anarug, 

 

Another possibility would be you have SeLinux or AppArmor enabled. You can check it with the following commands:

getsebool -a 

ps aux |grep -i apparmor

 

I also recommend you to verify if do you have any ACL onto the directory or some antivirus blocking this.

 

Regards, 

Renato Rudnicki

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,759 views 1 5
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