java.io.IOException

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.

  • The server just disconnected on its own - I did not restart either the master or the slave. After that it refuses to connect. I have two other Windows XP slaves that are connected just fine. I tried both JNLP via JavaWS & headless connections. Same problem Not sure how you would repeat the issue since I don't even know how it started. This is the output when I start it headless (just did this to see what errors there were): Jul 22, 2010 9:01:09 AM hudson.remoting.jnlp.Main$CuiListener <init> INFO: Hudson agent is running in headless mode. Jul 22, 2010 9:01:09 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [http://149.244.178.189:8080/] Jul 22, 2010 9:01:09 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to 149.244.178.189:49311 Jul 22, 2010 9:01:09 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Handshaking Jul 22, 2010 9:01:09 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected Jul 22, 2010 9:01:09 AM hudson.remoting.Channel$ReaderThread run SEVERE: I/O error in channel channel java.io.IOException: Unexpected termination of the channel at hudson.remoting.Channel$ReaderThread.run(Channel.java:875) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:869) Jul 22, 2010 9:01:09 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Terminated and this repeats over and over.
    via by Sagar Khushalani,
  • I am seeing the same on my Windows XP master-slave setup. I am running latest Hudson ver. 1.363 I am using the close-workspace-scm plugin to copy my workspace from master to slave(150). Started by user anonymous Building remotely on 150 FATAL: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.call(Request.java:137) at hudson.remoting.Channel.call(Channel.java:555) at hudson.FilePath.act(FilePath.java:742) at hudson.FilePath.act(FilePath.java:735) at hudson.FilePath.unzip(FilePath.java:415) at hudson.FileSystemProvisioner$Default$WorkspaceSnapshotImpl.restoreTo(FileSystemProvisioner.java:227) at hudson.plugins.cloneworkspace.CloneWorkspaceSCM$Snapshot.restoreTo(CloneWorkspaceSCM.java:344) at hudson.plugins.cloneworkspace.CloneWorkspaceSCM.checkout(CloneWorkspaceSCM.java:126) at hudson.model.AbstractProject.checkout(AbstractProject.java:1044) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) at hudson.model.Run.run(Run.java:1253) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:127) Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.abort(Request.java:257) at hudson.remoting.Channel.terminate(Channel.java:602) at hudson.remoting.Channel$ReaderThread.run(Channel.java:893) Caused by: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Channel$ReaderThread.run(Channel.java:875) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:869)
    via by nirmal_patel,
  • The server just disconnected on its own - I did not restart either the master or the slave. After that it refuses to connect. I have two other Windows XP slaves that are connected just fine. I tried both JNLP via JavaWS & headless connections. Same problem Not sure how you would repeat the issue since I don't even know how it started. This is the output when I start it headless (just did this to see what errors there were): Jul 22, 2010 9:01:09 AM hudson.remoting.jnlp.Main$CuiListener <init> INFO: Hudson agent is running in headless mode. Jul 22, 2010 9:01:09 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [http://149.244.178.189:8080/] Jul 22, 2010 9:01:09 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to 149.244.178.189:49311 Jul 22, 2010 9:01:09 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Handshaking Jul 22, 2010 9:01:09 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected Jul 22, 2010 9:01:09 AM hudson.remoting.Channel$ReaderThread run SEVERE: I/O error in channel channel java.io.IOException: Unexpected termination of the channel at hudson.remoting.Channel$ReaderThread.run(Channel.java:875) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:869) Jul 22, 2010 9:01:09 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Terminated and this repeats over and over.
    via by Sagar Khushalani,
  • I am seeing the same on my Windows XP master-slave setup. I am running latest Hudson ver. 1.363 I am using the close-workspace-scm plugin to copy my workspace from master to slave(150). Started by user anonymous Building remotely on 150 FATAL: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.call(Request.java:137) at hudson.remoting.Channel.call(Channel.java:555) at hudson.FilePath.act(FilePath.java:742) at hudson.FilePath.act(FilePath.java:735) at hudson.FilePath.unzip(FilePath.java:415) at hudson.FileSystemProvisioner$Default$WorkspaceSnapshotImpl.restoreTo(FileSystemProvisioner.java:227) at hudson.plugins.cloneworkspace.CloneWorkspaceSCM$Snapshot.restoreTo(CloneWorkspaceSCM.java:344) at hudson.plugins.cloneworkspace.CloneWorkspaceSCM.checkout(CloneWorkspaceSCM.java:126) at hudson.model.AbstractProject.checkout(AbstractProject.java:1044) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) at hudson.model.Run.run(Run.java:1253) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:127) Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.abort(Request.java:257) at hudson.remoting.Channel.terminate(Channel.java:602) at hudson.remoting.Channel$ReaderThread.run(Channel.java:893) Caused by: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Channel$ReaderThread.run(Channel.java:875) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:869)
    via by nirmal_patel,
    • java.io.IOException: Unexpected termination of the channel at hudson.remoting.Channel$ReaderThread.run(Channel.java:875) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:869)

    Users with the same issue

    Unknown UserUnknown User
    19 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    ex00ex00
    1 times, last one,
    eti22eti22
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    10 more bugmates