Details
-
Bug
-
Resolution: Answered
-
Low
-
None
-
None
-
Severity 2 - Major
-
2
-
Description
Symptoms
Git repositories scanned by Fisheye are not getting any updates of new commits. There are no errors reported on the administration screen. However, when trying 'Test connection' button, the following error is shown:
Error testing connection. Error talking to repository: fatal: ssh variant 'simple' does not support setting port at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:120) at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:390) at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:964) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) Connection failed.
Environment
- Git 2.16.0 or higher and
- OpenSSH older than 6.8 (e.g. Ubuntu 14.04 LTS has 6.6)
Cause
Git 2.16.0+ has a bug, see report here
Workaround
- downgrade Git to version older than 2.16.0
OR
- upgrade OpenSSH to version 6.8 or newer