java.io.EOFException

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.

  • Some weeks ago, we migrated from Hudson to Jenkins. Since that time (same configuration with Apache httpd & Winstone) the Winestone server crashes sporadicaly. The only abnormal log entry is this [Winstone 2011/11/06 06:25:22] - Error within request handler thread java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at winstone.ajp13.Ajp13IncomingPacket.<init>(Ajp13IncomingPacket.java:60) at winstone.ajp13.Ajp13Listener.allocateRequestResponse(Ajp13Listener.java:173) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:79) at java.lang.Thread.run(Thread.java:636) and this [Winstone 2011/11/07 13:41:07] - Error within request handler thread winstone.ClientSocketException: Failed to write to client at winstone.ClientOutputStream.write(ClientOutputStream.java:33) at winstone.ajp13.Ajp13OutputStream.finishResponse(Ajp13OutputStream.java:160) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:154) at java.lang.Thread.run(Thread.java:636) Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) at java.net.SocketOutputStream.write(SocketOutputStream.java:141) at winstone.ClientOutputStream.write(ClientOutputStream.java:31) ... 3 more The rest of the logfile seems to be ok. I attatched our logfiles and the server config (Apache httpd + Jenkins). I hope you are able to help!
    via by René Charbonneau,
  • Some weeks ago, we migrated from Hudson to Jenkins. Since that time (same configuration with Apache httpd & Winstone) the Winestone server crashes sporadicaly. The only abnormal log entry is this [Winstone 2011/11/06 06:25:22] - Error within request handler thread java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at winstone.ajp13.Ajp13IncomingPacket.<init>(Ajp13IncomingPacket.java:60) at winstone.ajp13.Ajp13Listener.allocateRequestResponse(Ajp13Listener.java:173) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:79) at java.lang.Thread.run(Thread.java:636) and this [Winstone 2011/11/07 13:41:07] - Error within request handler thread winstone.ClientSocketException: Failed to write to client at winstone.ClientOutputStream.write(ClientOutputStream.java:33) at winstone.ajp13.Ajp13OutputStream.finishResponse(Ajp13OutputStream.java:160) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:154) at java.lang.Thread.run(Thread.java:636) Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) at java.net.SocketOutputStream.write(SocketOutputStream.java:141) at winstone.ClientOutputStream.write(ClientOutputStream.java:31) ... 3 more The rest of the logfile seems to be ok. I attatched our logfiles and the server config (Apache httpd + Jenkins). I hope you are able to help!
    via by René Charbonneau,
  • According to this bug https://issues.apache.org/bugzilla/show_bug.cgi?id=39658 an the mod_jk documentation, ssl_key_size attribute is passed as an integer. Winstone parses it as a string and generates a stack trace. Steps to reproduce: 1. Start jenkins in standalone mode with AJP activated on some port 2. Setup a reverse proxy on apache on a virtualhost which has ssl configured 3. navigate to https://rproxy.address/jenkins Results - Apache returns an "Internal error" - /var/log/jenkins/jenkins.log is filled with EOFException stack such as this one java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at winstone.ajp13.Ajp13IncomingPacket.readString(Ajp13IncomingPacket.java:244) at winstone.ajp13.Ajp13IncomingPacket.readString(Ajp13IncomingPacket.java:231) at winstone.ajp13.Ajp13IncomingPacket.parsePacket(Ajp13IncomingPacket.java:168) at winstone.ajp13.Ajp13Listener.allocateRequestResponse(Ajp13Listener.java:184) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:67) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Expected behaviour: A jenkins page, like when using http
    via by Simon Poirier,
  • According to this bug https://issues.apache.org/bugzilla/show_bug.cgi?id=39658 an the mod_jk documentation, ssl_key_size attribute is passed as an integer. Winstone parses it as a string and generates a stack trace. Steps to reproduce: 1. Start jenkins in standalone mode with AJP activated on some port 2. Setup a reverse proxy on apache on a virtualhost which has ssl configured 3. navigate to https://rproxy.address/jenkins Results - Apache returns an "Internal error" - /var/log/jenkins/jenkins.log is filled with EOFException stack such as this one java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at winstone.ajp13.Ajp13IncomingPacket.readString(Ajp13IncomingPacket.java:244) at winstone.ajp13.Ajp13IncomingPacket.readString(Ajp13IncomingPacket.java:231) at winstone.ajp13.Ajp13IncomingPacket.parsePacket(Ajp13IncomingPacket.java:168) at winstone.ajp13.Ajp13Listener.allocateRequestResponse(Ajp13Listener.java:184) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:67) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Expected behaviour: A jenkins page, like when using http
    via by Simon Poirier,
    • java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at winstone.ajp13.Ajp13IncomingPacket.<init>(Ajp13IncomingPacket.java:60) at winstone.ajp13.Ajp13Listener.allocateRequestResponse(Ajp13Listener.java:173) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:79) at java.lang.Thread.run(Thread.java:636)

    Users with the same issue

    jpveejpvee
    4 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    9 more bugmates