Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11576

Getting "returned status code 128: ssh_exchange_identification" error sometimes

      I have Jenkins setup in Windows Server machine and the job will trigger the build at specified time. Sometimes the job fails with the below exception and when I manually trigger it again it will work fine. I read somewhere that moving id_rsa.* file to GIT installation folder will fix the issue, but it didn't improve in my case. It would be great if there is a way to fix this issue.

      ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
      ERROR: (Underlying report) : Error performing command: E:\git\bin\git.exe fetch -t gitosis@***.**.com:ServiceApp +refs/heads/:refs/remotes/origin/*
      Command "E:\git\bin\git.exe fetch -t gitosis@***.**.com:ServiceApp +refs/heads/:refs/remotes/origin/*" returned status code 128: ssh_exchange_identification: Connection closed by remote host
      fatal: The remote end hung up unexpectedly

      ERROR: Could not fetch from any repository
      FATAL: Could not fetch from any repository
      hudson.plugins.git.GitException: Could not fetch from any repository
      at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1008)
      at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:968)
      at hudson.FilePath.act(FilePath.java:785)
      at hudson.FilePath.act(FilePath.java:767)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:968)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1193)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:567)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:455)
      at hudson.model.Run.run(Run.java:1404)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:230)

          [JENKINS-11576] Getting "returned status code 128: ssh_exchange_identification" error sometimes

          Murali Srinivasan created issue -
          Murali Srinivasan made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          Murali Srinivasan made changes -
          Priority Original: Critical [ 2 ] New: Blocker [ 1 ]
          Murali Srinivasan made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Murali Srinivasan made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Murali Srinivasan made changes -
          Due Date New: 2012-02-06
          Seth Goings made changes -
          Fix Version/s New: current [ 10162 ]
          Seth Goings made changes -
          Assignee New: Seth Goings [ sgoings ]
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 141819 ] New: JNJira + In-Review [ 205435 ]
          Stuart Shannon made changes -
          Link New: This issue is related to JENKINS-39556 [ JENKINS-39556 ]

            sgoings Seth Goings
            chandramuralis Murali Srinivasan
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: