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'...

Atlassian JIRA | Leonardo De Macedo [Atlassian] | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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: {noformat}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.{noformat} another variation: {noformat}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.{noformat} Regarding Bitbucket connection tests: {noformat}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 {noformat}

    Atlassian JIRA | 5 years ago | Leonardo De Macedo [Atlassian]
    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'...
  2. 0

    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: {noformat}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.{noformat} another variation: {noformat}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.{noformat} Regarding Bitbucket connection tests: {noformat}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 {noformat}

    Atlassian JIRA | 5 years ago | Leonardo De Macedo [Atlassian]
    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'...

    Root Cause Analysis

    1. 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()
    2. com.atlassian.fisheye
      DvcsScanner.updateLocalRepoCache
      1. com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:262)
      2. com.atlassian.fisheye.git.GitScanner.performClone(GitScanner.java:233)
      3. com.atlassian.fisheye.dvcs.DvcsScanner.cloneRepo(DvcsScanner.java:173)
      4. com.atlassian.fisheye.dvcs.DvcsScanner.updateClone(DvcsScanner.java:153)
      5. com.atlassian.fisheye.dvcs.DvcsScanner.updateLocalRepoCache(DvcsScanner.java:143)
      5 frames
    3. com.cenqua.fisheye
      PingRequest.run
      1. com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:179)
      2. com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92)
      3. com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:381)
      4. com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28)
      5. com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67)
      6. com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138)
      7. com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128)
      8. com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33)
      8 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames