hudson.AbortException: Authentication failed.

Jenkins JIRA | Alan Yang | 2 years ago
  1. 0

    The slaves on our project using credentials with a username different than the Jenkins user receive the following error: [11/10/14 11:25:16] [SSH] Opening SSH connection to hostname.com:22. ERROR: Server rejected the 1 private key(s) for builder (credentialId:21cdf000-1ffd-49d3-8984-e664cc3cf2cd/method:publickey) [11/10/14 11:25:16] [SSH] Authentication failed. hudson.AbortException: Authentication failed. at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1178) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:701) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:696) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) [11/10/14 11:25:16] Launch failed - cleaning up connection [11/10/14 11:25:16] [SSH] Connection closed. This began occurring after upgrading jenkins with "yum upgrade jenkins." The configuration of slaves and credentials worked prior to upgrade. I have tried downgrading Jenkins as well as each of the plugins, but continue to receive the error. Here are the things I have tried/verified: * SSHing as jenkins user to slave as user@slave works from command line * Recreating credentials and slaves * Was able to reproduce on a different slave as a different user

    Jenkins JIRA | 2 years ago | Alan Yang
    hudson.AbortException: Authentication failed.
  2. 0

    The slaves on our project using credentials with a username different than the Jenkins user receive the following error: [11/10/14 11:25:16] [SSH] Opening SSH connection to hostname.com:22. ERROR: Server rejected the 1 private key(s) for builder (credentialId:21cdf000-1ffd-49d3-8984-e664cc3cf2cd/method:publickey) [11/10/14 11:25:16] [SSH] Authentication failed. hudson.AbortException: Authentication failed. at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1178) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:701) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:696) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) [11/10/14 11:25:16] Launch failed - cleaning up connection [11/10/14 11:25:16] [SSH] Connection closed. This began occurring after upgrading jenkins with "yum upgrade jenkins." The configuration of slaves and credentials worked prior to upgrade. I have tried downgrading Jenkins as well as each of the plugins, but continue to receive the error. Here are the things I have tried/verified: * SSHing as jenkins user to slave as user@slave works from command line * Recreating credentials and slaves * Was able to reproduce on a different slave as a different user

    Jenkins JIRA | 2 years ago | Alan Yang
    hudson.AbortException: Authentication failed.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Authentication failed

    Stack Overflow | 2 years ago | lyn
    hudson.AbortException: Authentication failed.
  5. 0

    Changing a jenkins slave DNS entry

    Stack Overflow | 2 years ago | Tiersis
    hudson.AbortException: Authentication failed.

    5 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.AbortException

      Authentication failed.

      at hudson.plugins.sshslaves.SSHLauncher.openConnection()
    2. hudson.plugins.sshslaves
      SSHLauncher$2.call
      1. hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1178)
      2. hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:701)
      3. hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:696)
      3 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:744)
      4 frames