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

This widget could not be displayed.

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

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 10, 2018 in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

248 views 14 2
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