-
Bug
-
Resolution: Fixed
-
Low
-
2.8.0, 2.9.0, 2.8.1, 2.8.2, 2.9.1, 2.9.2, 3.0.3
-
None
-
None
In FishEye 2.8, when attempting to connect (index) to an SVN repository using svn+ssh protocol, the following exception occurs:
2012-08-30 10:30:40,706 WARN [IncrementalPinger1 acme] fisheye.app SvnRepositoryTester-getServerRootURL - Unable to get info for the repository root for acme com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: E210002: There was a problem while connecting to svn.code.sf.net:22 at com.cenqua.fisheye.svn.SvnThrottledClient.info2(SvnThrottledClient.java:115) at com.cenqua.fisheye.svn.SvnRepositoryTester.getServerRootURL(SvnRepositoryTester.java:90) […] Caused by: org.tigris.subversion.javahl.ClientException: svn: E210002: There was a problem while connecting to svn.code.sf.net:22 at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:785) at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1887) […] Caused by: org.tmatesoft.svn.core.SVNException: svn: E210002: There was a problem while connecting to svn.code.sf.net:22 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) […] Caused by: java.io.IOException: There was a problem while connecting to svn.code.sf.net:22 at com.trilead.ssh2.Connection.connect(Connection.java:792) at org.tmatesoft.svn.core.internal.io.svn.ssh.SshHost.openConnection(SshHost.java:205) […] ... 33 more Caused by: java.io.IOException: Key exchange was not finished, connection is closed. at com.trilead.ssh2.transport.KexManager.getOrWaitForConnectionInfo(KexManager.java:92) at com.trilead.ssh2.transport.TransportManager.getConnectionInfo(TransportManager.java:231) at com.trilead.ssh2.Connection.connect(Connection.java:744) ... 37 more Caused by: java.io.IOException: The server hostkey was not accepted by the verifier callback. at com.trilead.ssh2.transport.KexManager.handleMessage(KexManager.java:538) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:760) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:475) ... 1 more Caused by: org.tmatesoft.svn.core.SVNAuthenticationException: svn: E215003: Host key ('svn.code.sf.net:22 <ssh-rsa>') can not be verified. at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.verifyHostKey(DefaultSVNAuthenticationManager.java:563) at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector$1.verifyServerHostKey(SVNSSHConnector.java:124)
And the only way to workaround that is to manually force the caching of the host key with:
<FishEye Installation Directory>/lib/svn/jsvn --username USER --password PASS info svn+ssh://<repo-url>