hudson.plugins.git.GitException: Failed to fetch from ssh://***@hostname:29418/TESTPROJECT.git

Jenkins JIRA | Arun Shankar B | 9 months ago
  1. 0

    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

    Jenkins JIRA | 9 months ago | Arun Shankar B
    hudson.plugins.git.GitException: Failed to fetch from ssh://***@hostname:29418/TESTPROJECT.git
  2. 0

    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

    Jenkins JIRA | 9 months ago | Arun Shankar B
    hudson.plugins.git.GitException: Failed to fetch from ssh://***@hostname:29418/TESTPROJECT.git
  3. 0

    Jenkins git fetch timeout

    Stack Overflow | 9 months ago | Colin Basnett
    hudson.plugins.git.GitException: Failed to fetch from http://192.168.4.40/Bonobo.Git.Server/Service.git
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins github username password login

    Stack Overflow | 9 months ago | vandzi
    hudson.plugins.git.GitException: Failed to fetch from https://github.com/myproject/myproject-android.git
  6. 0

    How to reconnect to my git repository on GitLab from NetBeans IDE 8 and Jenkins?

    Stack Overflow | 2 years ago | PJvG
    hudson.plugins.git.GitException: Failed to fetch from https://gitlab.com/<group-name>/<project-name>

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.jenkinsci.plugins
      CliGitAPIImpl$1.execute
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
      4. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
      4 frames
    3. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:764)
      2. hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1022)
      3. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1053)
      3 frames
    4. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.scm.SCM.checkout(SCM.java:485)
      2. hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
      3 frames
    5. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      2. hudson.model.Run.execute(Run.java:1738)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:98)
      5. hudson.model.Executor.run(Executor.java:410)
      5 frames