hudson.remoting.RequestAbortedException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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.


rafael
tip

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


rafael

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

  • If you shutdown/reboot a windows 2003 server with that slave installed as service the master still thinks the slave is online. This is related to 2566. After the reboot the service on the windows2003 is not started. So the slave is still offline. But the master acts if it is online. The master is not up to date on the status of the slaves. When you execute a task on that slave you get: FATAL: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.Request.call(Request.java:131) at hudson.remoting.Channel.call(Channel.java:481) at hudson.FilePath.act(FilePath.java:427) at hudson.FilePath.mkdirs(FilePath.java:482) at hudson.model.AbstractProject.checkout(AbstractProject.java:799) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:896) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.Request.abort(Request.java:223) at hudson.remoting.Channel.terminate(Channel.java:528) at hudson.remoting.Channel$ReaderThread.run(Channel.java:684) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2247) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2540) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2550) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:665)
    via by Cees Bos,
  • If you shutdown/reboot a windows 2003 server with that slave installed as service the master still thinks the slave is online. This is related to 2566. After the reboot the service on the windows2003 is not started. So the slave is still offline. But the master acts if it is online. The master is not up to date on the status of the slaves. When you execute a task on that slave you get: FATAL: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.Request.call(Request.java:131) at hudson.remoting.Channel.call(Channel.java:481) at hudson.FilePath.act(FilePath.java:427) at hudson.FilePath.mkdirs(FilePath.java:482) at hudson.model.AbstractProject.checkout(AbstractProject.java:799) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:896) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.Request.abort(Request.java:223) at hudson.remoting.Channel.terminate(Channel.java:528) at hudson.remoting.Channel$ReaderThread.run(Channel.java:684) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2247) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2540) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2550) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:665)
    via by Cees Bos,
  • OCX in JWebBrowser
    via djproject by codex86
    ,
  • When trying to start a jnlp slave: 2009-04-24 05:27:47,064 ERROR [STDERR] Apr 24, 2009 5:27:47 AM hudson.TcpSlaveAgentListener$ConnectionHandler run INFO: Accepted connection #182 from /10.16.43.62:45415 2009-04-24 05:27:47,376 ERROR [STDERR] Apr 24, 2009 5:27:47 AM hudson.TcpSlaveAgentListener$ConnectionHandler run WARNING: Connection #182 failed java.io.FileNotFoundException: /maven-agent.jar (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at hudson.FilePath$22.call(FilePath.java:979) at hudson.FilePath$22.call(FilePath.java:975) at hudson.remoting.UserRequest.perform(UserRequest.java:97) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at hudson.remoting.Engine$1$1.run(Engine.java:54) at java.lang.Thread.run(Thread.java:595) 2009-04-24 05:27:47,377 ERROR [STDERR] Apr 24, 2009 5:27:47 AM hudson.remoting.Channel$ReaderThread run SEVERE: I/O error in channel slave3-alt java.net.SocketException: Socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2196) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2486) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2496) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.Channel$ReaderThread.run(Channel.java:678) 2009-04-24 05:27:47,377 ERROR [STDERR] Apr 24, 2009 5:27:47 AM hudson.TcpSlaveAgentListener$ConnectionHandler$1 onClosed WARNING: Connection #182 terminated java.net.SocketException: Socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2196) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2486) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2496) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.Channel$ReaderThread.run(Channel.java:678) Hudson is running on JBoss AS 4.2.3.GA.
    via by Carlo de Wolf,
  • When trying to start a jnlp slave: 2009-04-24 05:27:47,064 ERROR [STDERR] Apr 24, 2009 5:27:47 AM hudson.TcpSlaveAgentListener$ConnectionHandler run INFO: Accepted connection #182 from /10.16.43.62:45415 2009-04-24 05:27:47,376 ERROR [STDERR] Apr 24, 2009 5:27:47 AM hudson.TcpSlaveAgentListener$ConnectionHandler run WARNING: Connection #182 failed java.io.FileNotFoundException: /maven-agent.jar (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at hudson.FilePath$22.call(FilePath.java:979) at hudson.FilePath$22.call(FilePath.java:975) at hudson.remoting.UserRequest.perform(UserRequest.java:97) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at hudson.remoting.Engine$1$1.run(Engine.java:54) at java.lang.Thread.run(Thread.java:595) 2009-04-24 05:27:47,377 ERROR [STDERR] Apr 24, 2009 5:27:47 AM hudson.remoting.Channel$ReaderThread run SEVERE: I/O error in channel slave3-alt java.net.SocketException: Socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2196) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2486) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2496) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.Channel$ReaderThread.run(Channel.java:678) 2009-04-24 05:27:47,377 ERROR [STDERR] Apr 24, 2009 5:27:47 AM hudson.TcpSlaveAgentListener$ConnectionHandler$1 onClosed WARNING: Connection #182 terminated java.net.SocketException: Socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2196) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2486) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2496) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.Channel$ReaderThread.run(Channel.java:678) Hudson is running on JBoss AS 4.2.3.GA.
    via by Carlo de Wolf,
    • hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.Request.call(Request.java:131) at hudson.remoting.Channel.call(Channel.java:481) at hudson.FilePath.act(FilePath.java:427) at hudson.FilePath.mkdirs(FilePath.java:482) at hudson.model.AbstractProject.checkout(AbstractProject.java:799) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:896) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.Request.abort(Request.java:223) at hudson.remoting.Channel.terminate(Channel.java:528) at hudson.remoting.Channel$ReaderThread.run(Channel.java:684) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2247) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2540)

    Users with the same issue

    ivanszkypeter
    40 times, last one,
    linxiaolong
    2 times, last one,
    Unknown visitor1 times, last one,
    tvrmsmith
    1 times, last one,
    Unknown visitor1 times, last one,
    189 more bugmates