Fisheye Does not sync an added repository from Bitbucket Server on Windows
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Problem
While on Windows when adding repositories to Fisheye that are hosted in Bitbucket Server automatically through the Bitbucket repositories tab in the Repositories settings section, the repository never seems to sync. When going into the properties of the repository and clicking on the "Test Connection" the following error is received:
1
2
3
4
5
6
7
8
9
Could not find SSH binary on the system path. See https://confluence.atlassian.com/display/FISHEYE/Authentication<br< a="">>
Error testing connection.
Could not find SSH binary on the system path. Seehttps://confluence.atlassian.com/display/FISHEYE/Authentication<br< a="">>at com.atlassian.guava.base.Preconditions.checkNotNull(Preconditions.java:209)
at com.atlassian.fecru.security.SshWrapper.<init>(SshWrapper.java:18)
at com.atlassian.fisheye.dvcs.DvcsScmConfig.createProcessBuilder(DvcsScmConfig.java:172)
at com.atlassian.fisheye.git.GitScmConfig.createProcessBuilder(GitScmConfig.java:132)
at com.atlassian.fisheye.dvcs.DvcsScmConfig.executeCommand(DvcsScmConfig.java:179)
Connection failed.
The following appears in the logs:
1
2015-12-11 00:00:38,969 ERROR [InitPing2 ios ] fisheye SshKeyManagerImpl-getPathToSshExecutable - Could not find SSH binary on the system path. See https://confluence.atlassian.com/display/FISHEYE/Authentication
Diagnosis
Environment
A Fisheye instance connected to a Bitbucket Server instance via an application link
The Bitbucket repository is added to Fisheye via the Bitbucket repositories tab at
Administration > Repository Settings > Repositories
Cause
On Windows, you need to have an OpenSSH binary accessible on your system path for Fisheye to clone repositories over SSH.
Solution
Resolution
The easiest way to achieve this is to select the "Use Git and optional Unix tools from the Windows Command Prompt" option when installing Msysgit, as shown in this screenshot:

Was this helpful?