Fisheye Does not sync an added repository from Bitbucket Server on Windows

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

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:

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.

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:

Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.