hudson.util.IOException2

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • If hudson tries to start the slave on the slave via ssh, the following exception is thrown: {code} [06/01/10 13:51:45] [SSH] Checking java version of /opt/java6/bin/java [06/01/10 13:51:45] [SSH] /opt/java6/bin/java -version returned 1.6.0.06. [06/01/10 13:51:45] [SSH] Starting sftp client. [06/01/10 13:51:46] [SSH] SFTP failed. Copying via SCP. hudson.util.IOException2: Could not copy slave.jar to slave at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:442) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:401) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:211) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:183) 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) Caused by: java.io.IOException: Could not open channel (The server refused to open the channel (SSH_OPEN_ADMINISTRATIVELY_PROHIBITED, 'open failed')) 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.copySlaveJarUsingSCP(SSHLauncher.java:426) ... 8 more [06/01/10 13:51:46] [SSH] Connection closed. {code}
    via by leovonklenze,
  • If hudson tries to start the slave on the slave via ssh, the following exception is thrown: {code} [06/01/10 13:51:45] [SSH] Checking java version of /opt/java6/bin/java [06/01/10 13:51:45] [SSH] /opt/java6/bin/java -version returned 1.6.0.06. [06/01/10 13:51:45] [SSH] Starting sftp client. [06/01/10 13:51:46] [SSH] SFTP failed. Copying via SCP. hudson.util.IOException2: Could not copy slave.jar to slave at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:442) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:401) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:211) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:183) 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) Caused by: java.io.IOException: Could not open channel (The server refused to open the channel (SSH_OPEN_ADMINISTRATIVELY_PROHIBITED, 'open failed')) 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.copySlaveJarUsingSCP(SSHLauncher.java:426) ... 8 more [06/01/10 13:51:46] [SSH] Connection closed. {code}
    via by leovonklenze,
  • Slave on HPUX Itanium
    via by jmccaskey,
  • Slave on Solaris 9
    via by jmccaskey,
    • hudson.util.IOException2: Could not copy slave.jar to slave at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:442) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:401) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:211) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:183) 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) Caused by: java.io.IOException: Could not open channel (The server refused to open the channel (SSH_OPEN_ADMINISTRATIVELY_PROHIBITED, 'open failed')) 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.copySlaveJarUsingSCP(SSHLauncher.java:426) ... 8 more
    No Bugmate found.