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

Failed to connect to repository : Command "/home/git-2.1.3/bin/git -c core.askpass=true ls-remote -h ssh://***@hostname:29418/TESTPROJECT.git HEAD" returned status code 128:

    XMLWordPrintable

Details

    Description

      Failed to connect to repository : Command "/home/git-2.1.3/bin/git -c core.askpass=true ls-remote -h ssh://***@hostname:29418/TESTPROJECT.git HEAD" returned status code 128:

      stdout:
      stderr: ***@hostname#29418's passwordConnection open failed; Disconnected by application (local): Error processing packet.
      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights
      and the repository exists.

      Note: We are able to access the SSH command and connect to git from linux.

      Build Failure Log:

      > /home/git-2.1.3/bin/git -c core.askpass=true fetch --tags --progress ssh://***@hostname:29418/TESTPROJECT.git refs/heads/develop
      ERROR: Error fetching remote repo 'origin'
      hudson.plugins.git.GitException: Failed to fetch from ssh://***@hostname:29418/TESTPROJECT.git
      at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:766)
      at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1022)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1053)
      at hudson.scm.SCM.checkout(SCM.java:485)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      at hudson.model.Run.execute(Run.java:1738)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      Caused by: hudson.plugins.git.GitException: Command "/home/git-2.1.3/bin/git -c core.askpass=true fetch --tags --progress ssh://***@hostname:29418/TESTPROJECT.git refs/heads/develop" returned status code 128:
      stdout:
      stderr: ***@hostname#29418's passwordConnection open failed; Disconnected by application (local): Error processing packet.
      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights
      and the repository exists.

      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
      at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:764)
      ... 11 more
      ERROR: null
      Finished: FAILURE

      Attachments

        Activity

          markewaite Mark Waite added a comment -

          Please don't use bug reports to troubleshoot configuration issues. There are far fewer people who read bug reports than who read the Jenkins Users mailing list.

          Please ask your question there, along with sufficient information so that someone else can duplicate the problem. Describe the different experiments you've tried, and the results of those experiments.

          markewaite Mark Waite added a comment - Please don't use bug reports to troubleshoot configuration issues. There are far fewer people who read bug reports than who read the Jenkins Users mailing list. Please ask your question there, along with sufficient information so that someone else can duplicate the problem. Describe the different experiments you've tried, and the results of those experiments.

          People

            markewaite Mark Waite
            arunshankar Arun Shankar B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: