java.io.IOException: Could not open channel (The connection is being shutdown)

Jenkins JIRA | Dimitar Sakarov | 6 years ago
  1. 0

    I get the following output when I try to connect the slave: [10/08/10 10:27:44] [SSH] Opening SSH connection to slave.host.name:22. [10/08/10 10:27:44] [SSH] Authenticating as username with /home/username/.ssh/id_rsa. [10/08/10 10:27:44] [SSH] Authenticating as username/******. [10/08/10 10:27:44] [SSH] Authentication successful. [10/08/10 10:27:44] [SSH] The remote users environment is: java.io.IOException: Could not open channel (The connection is being shutdown) at com.trilead.ssh2.channel.ChannelManager.waitUntilChannelOpen(ChannelManager.java:127) at com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:584) at com.trilead.ssh2.Session.<init>(Session.java:40) at com.trilead.ssh2.Connection.openSession(Connection.java:1047) at com.trilead.ssh2.Connection.exec(Connection.java:1434) at hudson.plugins.sshslaves.SSHLauncher.reportEnvironment(SSHLauncher.java:450) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:177) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:184) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) [10/08/10 10:27:44] [SSH] Connection closed.

    Jenkins JIRA | 6 years ago | Dimitar Sakarov
    java.io.IOException: Could not open channel (The connection is being shutdown)
  2. 0

    I get the following output when I try to connect the slave: [10/08/10 10:27:44] [SSH] Opening SSH connection to slave.host.name:22. [10/08/10 10:27:44] [SSH] Authenticating as username with /home/username/.ssh/id_rsa. [10/08/10 10:27:44] [SSH] Authenticating as username/******. [10/08/10 10:27:44] [SSH] Authentication successful. [10/08/10 10:27:44] [SSH] The remote users environment is: java.io.IOException: Could not open channel (The connection is being shutdown) at com.trilead.ssh2.channel.ChannelManager.waitUntilChannelOpen(ChannelManager.java:127) at com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:584) at com.trilead.ssh2.Session.<init>(Session.java:40) at com.trilead.ssh2.Connection.openSession(Connection.java:1047) at com.trilead.ssh2.Connection.exec(Connection.java:1434) at hudson.plugins.sshslaves.SSHLauncher.reportEnvironment(SSHLauncher.java:450) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:177) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:184) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) [10/08/10 10:27:44] [SSH] Connection closed.

    Jenkins JIRA | 6 years ago | Dimitar Sakarov
    java.io.IOException: Could not open channel (The connection is being shutdown)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Could not open channel: Jenkins connecting to Windows slave via Kpym SSHD

    Google Groups | 4 years ago | Joshua Boyd
    java.io.IOException: Could not open channel (The connection is being shutdown)
  5. 0

    Slave on Solaris 9

    Google Groups | 6 years ago | jmccaskey
    java.io.IOException: Could not open channel (The connection is being shutdown)

    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. java.io.IOException

      Could not open channel (The connection is being shutdown)

      at com.trilead.ssh2.channel.ChannelManager.waitUntilChannelOpen()
    2. Trilead
      Connection.exec
      1. com.trilead.ssh2.channel.ChannelManager.waitUntilChannelOpen(ChannelManager.java:127)
      2. com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:584)
      3. com.trilead.ssh2.Session.<init>(Session.java:40)
      4. com.trilead.ssh2.Connection.openSession(Connection.java:1047)
      5. com.trilead.ssh2.Connection.exec(Connection.java:1434)
      5 frames
    3. hudson.plugins.sshslaves
      SSHLauncher.launch
      1. hudson.plugins.sshslaves.SSHLauncher.reportEnvironment(SSHLauncher.java:450)
      2. hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:177)
      2 frames
    4. Hudson
      SlaveComputer$1.call
      1. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:184)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      5. java.lang.Thread.run(Thread.java:619)
      5 frames