Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create FishEye Repo Linked to Stash Repo

I am trying to create a FishEye repository (v 3.10.1) that is linked to a Git/Stash repository (v 3.5.1) but cannot get FE to connect to Stash.  There may be some network issues that are being looked into by our ops team, but in the meantime I would like to confirm that I am doing the correct steps.

In FE when adding a new repo we:

  • choose Git as the repo type
  • set the repository location using the SSH URL provided by Stash for cloning the repo
  • set the authentication style to "Generate key pair for ssh" and generate them
  • copy the public key from FE and add it as an access key in Stash

When I test the connection, it fails.  sad

4 answers

1 vote

For your information, since FishEye 3.4+ and Stash (now called Bitbucket Server by the way) 2.11.4+ instance admin can add Stash repositories to FishEye with few clicks only, if only Application Link is configured. See https://confluence.atlassian.com/fisheye/integrating-fisheye-with-bitbucket-server-587303683.html for more details.

But the approach you have taken should also work smoothly.  If the only details you see is that connection failed, I would advise to enable debug logging in FishEye (admin / Server / click Debug button) and try connecting once again.  Once it fails you should see more details in the server log (FISHEYE_INST/var/log/atlassian-fisheye-DATE.log).  

The problem could be indeed on the network level.  Try perhaps connecting to stash from FishEye instance with a telnet tool, e.g. assuming you stash instance is stash.mydomain.com and the git over ssh port used (extracted from your SSH URL provided by stash) is 7990, try running

telnet stash.mydomain.com 7990

if it breaks, it's proves there is no connectivity on the network level.

Hope that helps,

Piotr

This is what I get at debug level

2016-02-01 10:44:37,138 DEBUG [qtp467796378-113973 ection-1454348677136] fisheye DvcsProcessMonitor-onBeforeStart - Starting process: git ls-remote -h ssh://git@stash.my.server:7999/mru/moruui.git

2016-02-01 10:44:37,140 DEBUG [qtp467796378-113973 ection-1454348677136] fisheye DvcsProcessMonitor-onAfterFinished - Finished process: git ls-remote -h ssh://git@stash.my.server:7999/mru/moruui.git

When I run the "git ls-remote -h ssh://git@stash.my.server:7999/mru/moruui.git" from my command line, it fails because the git command is not found.  Our server is running CentOS 5.5 so installing git on it is a bit of an adventure.  Thanks for the help.

0 votes

Do you see any errors in the log?

Only that the connection failed, nothing useful.

0 votes

Did you enable debug logging?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

⚡️NEW Group for Confluence Cloud Admins

Calling all Confluence Cloud Admins!  We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...

116 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you