java.io.IOException

The execute request failed.

Samebug tips2

It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.

This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment: https://goo.gl/hx0YB3

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web16891

  • The execute request failed.
  • via Jenkins JIRA by mmorizot, 11 months ago
    The subsystem request failed.
  • via Jenkins JIRA by mmorizot, 1 year ago
    The subsystem request failed.
  • Stack trace

    • java.io.IOException: The execute request failed. at com.trilead.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:774) at com.trilead.ssh2.Session.execCommand(Session.java:306) at com.trilead.ssh2.Connection.exec(Connection.java:1553) at hudson.plugins.sshslaves.SSHLauncher.verifyNoHeaderJunk(SSHLauncher.java:872) at hudson.plugins.sshslaves.SSHLauncher.access$100(SSHLauncher.java:137) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:713) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:706) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: This SSH2 channel is not open. state: 4 at com.trilead.ssh2.channel.ChannelManager.ioException(ChannelManager.java:1543) at com.trilead.ssh2.channel.ChannelManager.waitForChannelRequestResult(ChannelManager.java:167) at com.trilead.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:769) ... 10 more Caused by: java.io.IOException: The connection is being shutdown at com.trilead.ssh2.channel.ChannelManager.handleEndMessage(ChannelManager.java:1525) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:522) ... 1 more Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at com.trilead.ssh2.crypto.cipher.CipherInputStream.fill_buffer(CipherInputStream.java:41) at com.trilead.ssh2.crypto.cipher.CipherInputStream.internal_read(CipherInputStream.java:52) at com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:79) at com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108) at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:693) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:489) ... 1 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    2 times, 11 months ago
    297 more bugmates