Details
-
Bug
-
Resolution: Cannot Reproduce
-
Medium
-
None
-
2.7.13, 2.8.0, 2.7.15, 2.8.1, 2.8.2
-
None
-
None
Description
Is not possible to connect to a remote GIT reposity using ssh neither when using "Generate Key Pair for SSH" method or via "Uploading the Private Key for SSH" method. The only authentication method which actually works is "HTTPS with Password". The issue could be reproduced using Windows and Linux.
In most of cases the Error message is:
Fisheye is using '/usr/bin/ssh' to authenticate with SSH authenticated repositories. Error testing connection. Error talking to repository: at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:158) at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:444) at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:538) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) Connection failed.
another variation:
2012-09-28 16:48:25,630 INFO [btpool0-32 ection-1348865305599] fisheye.app LoggingProcessMonitor-onAfterFinished - Exception executing command "C:\msysgit\bin\git.exe ls-remote -h gituser@git.bla.com:testing " Non-zero exit code: -1073741515 com.atlassian.utils.process.ProcessException: Non-zero exit code: -1073741515 2012-09-28 16:48:25,630 ERROR [btpool0-32 ection-1348865305599] fisheye.app RepositoryAdminRpcServiceImpl-testRepositoryConnection - Error testing connection. com.atlassian.fisheye.spi.admin.services.RepositoryConfigException: com.cenqua.fisheye.config.ConfigException: Error talking to repository: Caused by: com.cenqua.fisheye.config.ConfigException: Error talking to repository: at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:162) at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:450) at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:540) ... 123 more 2012-09-28 16:48:25,630 ERROR [btpool0-32 ection-1348865305599] fisheye.app RepositoryAdminRpcServiceImpl-testRepositoryConnection - Connection failed.
Regarding Bitbucket connection tests:
2012-10-10 18:28:42,651 ERROR [IncrementalPinger1 ] fisheye.app OneOffPingRequest-doRequest - Exception during slurp com.cenqua.fisheye.config.ConfigException: Unable to clone remote repository: git@bitbucket.org:lmacedo/tes.git - [ssh: connect to host bitbucket.org port 22: Bad file number, fatal: The remote end hung up unexpectedly] - Cloning into bare repository 'clone'... at com.atlassian.fisheye.git.GitScanner.performClone(GitScanner.java:243) at com.atlassian.fisheye.dvcs.DvcsScanner.cloneRepo(DvcsScanner.java:173) at com.atlassian.fisheye.dvcs.DvcsScanner.updateClone(DvcsScanner.java:153) at com.atlassian.fisheye.dvcs.DvcsScanner.updateLocalRepoCache(DvcsScanner.java:143) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:179) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:381) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.atlassian.utils.process.ProcessException: While executing: "git clone --bare -v git@bitbucket.org:lmacedo/tes.git clone " at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:262) at com.atlassian.fisheye.git.GitScanner.performClone(GitScanner.java:233) ... 14 more Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 128