java.io.IOException: Unexpected termination of the channel

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.

  • Suddenly Jenkins and ssh-slaves stopped working completly. Log shows only {code} Jul 11, 2013 10:16:13 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run SEVERE: I/O error in channel pikachu java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2596) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:72) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) {code} I checked and ssh connection works between master and slave, here is the proof, the auth.log from the slave: {code} Jul 11 10:16:45 sorins sshd[29280]: reverse mapping checking getaddrinfo for dote-02.80.10.in-addr.arpa [10.80.225.152] failed - POSSIBLE BREAK-IN ATTEMPT! Jul 11 10:16:45 sorins sshd[29280]: Accepted publickey for xenbuild from 10.80.225.152 port 42968 ssh2 Jul 11 10:16:45 sorins sshd[29280]: pam_unix(sshd:session): session opened for user xenbuild by (uid=0) Jul 11 10:17:01 sorins CRON[29460]: pam_unix(cron:session): session opened for user root by (uid=0) Jul 11 10:17:02 sorins CRON[29460]: pam_unix(cron:session): session closed for user root Jul 11 10:18:27 sorins sshd[29426]: Received disconnect from 10.80.225.152: 11: disconnected by user Jul 11 10:18:27 sorins sshd[29280]: pam_unix(sshd:session): session closed for user xenbuild {code}
    via by Sorin Sbarnea,
  • Suddenly Jenkins and ssh-slaves stopped working completly. Log shows only {code} Jul 11, 2013 10:16:13 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run SEVERE: I/O error in channel pikachu java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2596) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:72) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) {code} I checked and ssh connection works between master and slave, here is the proof, the auth.log from the slave: {code} Jul 11 10:16:45 sorins sshd[29280]: reverse mapping checking getaddrinfo for dote-02.80.10.in-addr.arpa [10.80.225.152] failed - POSSIBLE BREAK-IN ATTEMPT! Jul 11 10:16:45 sorins sshd[29280]: Accepted publickey for xenbuild from 10.80.225.152 port 42968 ssh2 Jul 11 10:16:45 sorins sshd[29280]: pam_unix(sshd:session): session opened for user xenbuild by (uid=0) Jul 11 10:17:01 sorins CRON[29460]: pam_unix(cron:session): session opened for user root by (uid=0) Jul 11 10:17:02 sorins CRON[29460]: pam_unix(cron:session): session closed for user root Jul 11 10:18:27 sorins sshd[29426]: Received disconnect from 10.80.225.152: 11: disconnected by user Jul 11 10:18:27 sorins sshd[29280]: pam_unix(sshd:session): session closed for user xenbuild {code}
    via by Sorin Sbarnea,
  • Jenkins slave terminated error message
    via by Lily Fu,
  • Unable to startup slave post master upgrade to 1.576
    via by Sudhakar.Shanmugam,
  • Error with termination of remote channel
    via by chris hemphill,
  • Communication problem with slave is not notified by email
    via by Rui Fernando Hayashi,
  • Windows XP slave agent launch failure on 1.519
    via by Jonathan Daugherty,
  • difficulty connecting to Mac slave
    via by Dan Tenenbaum,
    • java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2596) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:72) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

    Users with the same issue

    Unknown User
    Unknown User19 times, last one,
    Unknown visitor1 times, last one,
    ex00
    ex001 times, last one,
    eti22
    eti221 times, last one,
    Unknown visitor1 times, last one,
    10 more bugmates