org.eclipse.jetty.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.

  • GitHub comment 8580#277487662
    via GitHub by dhimmel
    ,
  • GitHub comment 155#289046096
    via GitHub by LeFrenchie
    ,
  • Committed before 500 STREAM
    via Stack Overflow by jesus.saad
    ,
  • GitHub comment 3#89515980
    via GitHub by smokingwheels
    ,
  • Occasionally {{connect-to-a-down-up-down-up-broker-test}} and {{connect-to-a-down-broker-test}} fail with an exception triggered from {{client/connected?}} when it dereferences the websocket-connection. The exception is triggered by a broken pipe, presumably while trying to connect to the broker. This might be happening because the client tries to connect while the broker is starting up. What we're missing to verify that is some client logging that would show an error message being returned. Failure at https://jenkins.puppetlabs.com/job/platform_clj-pcp-client_unit-clj_master/29/JDK=openjdk7,label=unit/console {code} 08:49:06 2016-08-04 08:49:06,442 INFO [p.p.b.service] Shutting down broker service 08:49:07 2016-08-04 08:49:07,931 INFO [p.p.b.service] Initializing broker service 08:49:08 2016-08-04 08:49:08,027 INFO [p.p.b.service] Starting broker service 08:49:08 2016-08-04 08:49:08,670 WARN [o.a.a.b.BrokerService] Store limit is 100000 mb, whilst the data directory: /var/lib/jenkins/workspace/platform_clj-pcp-client_unit-clj_master/JDK/openjdk7/label/unit/test-resources/tmp/spool/pcp/KahaDB only has 38530 mb of usable space 08:49:08 2016-08-04 08:49:08,670 ERROR [o.a.a.b.BrokerService] Temporary Store limit is 50000 mb, whilst the temporary data directory: /var/lib/jenkins/workspace/platform_clj-pcp-client_unit-clj_master/JDK/openjdk7/label/unit/test-resources/tmp/spool/pcp/tmp_storage only has 38530 mb of usable space 08:49:09 2016-08-04 08:49:09,312 INFO [p.p.b.service] Shutting down broker service 08:49:11 2016-08-04 08:49:11,552 INFO [p.p.b.service] Initializing broker service 08:49:11 2016-08-04 08:49:11,675 INFO [p.p.b.service] Starting broker service 08:49:12 2016-08-04 08:49:12,299 WARN [o.a.a.b.BrokerService] Store limit is 100000 mb, whilst the data directory: /var/lib/jenkins/workspace/platform_clj-pcp-client_unit-clj_master/JDK/openjdk7/label/unit/test-resources/tmp/spool/pcp/KahaDB only has 38530 mb of usable space 08:49:12 2016-08-04 08:49:12,299 ERROR [o.a.a.b.BrokerService] Temporary Store limit is 50000 mb, whilst the temporary data directory: /var/lib/jenkins/workspace/platform_clj-pcp-client_unit-clj_master/JDK/openjdk7/label/unit/test-resources/tmp/spool/pcp/tmp_storage only has 38530 mb of usable space 08:49:12 2016-08-04 08:49:12,851 INFO [p.p.b.service] Shutting down broker service 08:49:14 2016-08-04 08:49:14,879 INFO [p.p.b.service] Initializing broker service 08:49:14 2016-08-04 08:49:14,988 INFO [p.p.b.service] Starting broker service 08:49:15 2016-08-04 08:49:15,658 WARN [o.a.a.b.BrokerService] Store limit is 100000 mb, whilst the data directory: /var/lib/jenkins/workspace/platform_clj-pcp-client_unit-clj_master/JDK/openjdk7/label/unit/test-resources/tmp/spool/pcp/KahaDB only has 38530 mb of usable space 08:49:15 2016-08-04 08:49:15,659 ERROR [o.a.a.b.BrokerService] Temporary Store limit is 50000 mb, whilst the temporary data directory: /var/lib/jenkins/workspace/platform_clj-pcp-client_unit-clj_master/JDK/openjdk7/label/unit/test-resources/tmp/spool/pcp/tmp_storage only has 38530 mb of usable space 08:49:16 08:49:16 lein test :only puppetlabs.pcp.messaging-test/connect-to-a-down-up-down-up-broker-test 08:49:16 08:49:16 FAIL in (connect-to-a-down-up-down-up-broker-test) (messaging_test.clj:152) 08:49:16 Should now be connected 08:49:16 expected: (client/connected? client) 08:49:16 actual: (not (client/connected? #puppetlabs.pcp.client.Client{:server "wss://localhost:8143/pcp/", :identity "pcp://client01.example.com/demo-client", :handlers {"http://puppetlabs.com/associate_response" #<client$eval6346$associate_response_handler__6351 puppetlabs.pcp.client$eval6346$associate_response_handler__6351@396e4c66>, "example/any_schema" #<core$constantly$fn__4085 clojure.core$constantly$fn__4085@52f6f06c>, :default #<messaging_test$default_request_handler puppetlabs.pcp.messaging_test$default_request_handler@522286c7>}, :should-stop #<core$promise$reify__6363@1e5a4259: :pending>, :websocket-connection #<Atom@37b9f0a0: #<core$future_call$reify__6320@56c3e32e: :pending>>, :websocket-client #<WebSocketClient org.eclipse.jetty.websocket.client.WebSocketClient@7017d31b>, :associate-response #<Atom@56780d82: #<core$promise$reify__6363@63befe27: :pending>>, :user-data nil})) 08:49:16 2016-08-04 08:49:16,235 INFO [p.p.b.service] Shutting down broker service 08:49:19 2016-08-04 08:49:19,148 ERROR [p.p.client] Unexpected error 08:49:19 org.eclipse.jetty.io.EofException: null 08:49:19 at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:192) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] 08:49:19 at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:793) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] 08:49:19 at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:408) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] 08:49:19 at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:364) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] 08:49:19 at org.eclipse.jetty.io.ssl.SslConnection$1.run(SslConnection.java:97) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] 08:49:19 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) ~[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310] 08:49:19 at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) ~[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310] 08:49:19 at java.lang.Thread.run(Thread.java:745) [na:1.7.0_95] 08:49:19 Caused by: java.io.IOException: Broken pipe 08:49:19 at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[na:1.7.0_95] 08:49:19 at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) ~[na:1.7.0_95] 08:49:19 at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) ~[na:1.7.0_95] 08:49:19 at sun.nio.ch.IOUtil.write(IOUtil.java:65) ~[na:1.7.0_95] 08:49:19 at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:492) ~[na:1.7.0_95] 08:49:19 at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:170) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] 08:49:19 ... 7 common frames omitted 08:49:19 2016-08-04 08:49:19,207 INFO [p.p.b.service] Initializing broker service 08:49:19 2016-08-04 08:49:19,296 INFO [p.p.b.service] Starting broker service 08:49:20 2016-08-04 08:49:20,150 WARN [o.a.a.b.BrokerService] Store limit is 100000 mb, whilst the data directory: /var/lib/jenkins/workspace/platform_clj-pcp-client_unit-clj_master/JDK/openjdk7/label/unit/test-resources/tmp/spool/pcp/KahaDB only has 38530 mb of usable space 08:49:20 2016-08-04 08:49:20,150 ERROR [o.a.a.b.BrokerService] Temporary Store limit is 50000 mb, whilst the temporary data directory: /var/lib/jenkins/workspace/platform_clj-pcp-client_unit-clj_master/JDK/openjdk7/label/unit/test-resources/tmp/spool/pcp/tmp_storage only has 38530 mb of usable space 08:49:20 2016-08-04 08:49:20,900 INFO [p.p.b.service] Shutting down broker service 08:49:24 08:49:24 lein test :only puppetlabs.pcp.messaging-test/connect-to-a-down-up-down-up-broker-test 08:49:24 08:49:24 ERROR in (connect-to-a-down-up-down-up-broker-test) (FutureTask.java:122) 08:49:24 Uncaught exception, not in assertion. 08:49:24 expected: nil 08:49:24 2016-08-04 08:49:24,681 INFO [p.p.b.service] Initializing broker service 08:49:24 2016-08-04 08:49:24,794 INFO [p.p.b.service] Starting broker service 08:49:25 2016-08-04 08:49:25,509 WARN [o.a.a.b.BrokerService] Store limit is 100000 mb, whilst the data directory: /var/lib/jenkins/workspace/platform_clj-pcp-client_unit-clj_master/JDK/openjdk7/label/unit/test-resources/tmp/spool/pcp/KahaDB only has 38530 mb of usable space 08:49:25 2016-08-04 08:49:25,509 ERROR [o.a.a.b.BrokerService] Temporary Store limit is 50000 mb, whilst the temporary data directory: /var/lib/jenkins/workspace/platform_clj-pcp-client_unit-clj_master/JDK/openjdk7/label/unit/test-resources/tmp/spool/pcp/tmp_storage only has 38530 mb of usable space 08:49:25 2016-08-04 08:49:25,625 DEBUG [o.e.j.u.c.AbstractLifeCycle] STARTED @93972ms org.eclipse.jetty.io.SelectorManager$ManagedSelector@723b59c6 keys=0 selected=0 08:49:25 2016-08-04 08:49:25,625 DEBUG [o.e.j.u.c.AbstractLifeCycle] starting org.eclipse.jetty.io.SelectorManager$ManagedSelector@731206ba keys=-1 selected=-1 08:49:25 2016-08-04 08:49:25,626 DEBUG [o.e.j.i.SelectorManager] Starting Thread[WebSocketClient@507842001-422-selector-WebSocketClientSelectorManager@2477d85b/0,5,main] on org.eclipse.jetty.io.SelectorManager$ManagedSelector@723b59c6 keys=0 selected=0 08:49:25 2016-08-04 08:49:25,626 DEBUG [o.e.j.u.c.AbstractLifeCycle] STARTED @93978ms org.eclipse.jetty.io.SelectorManager$ManagedSelector@731206ba keys=0 selected=0 08:49:25 2016-08-04 08:49:25,626 DEBUG [o.e.j.i.SelectorManager] Selector loop waiting on select 08:49:25 2016-08-04 08:49:25,626 DEBUG [o.e.j.u.c.AbstractLifeCycle] STARTED @93979ms org.eclipse.jetty.websocket.client.io.WebSocketClientSelectorManager@2477d85b 08:49:25 2016-08-04 08:49:25,626 DEBUG [o.e.j.i.SelectorManager] Starting Thread[WebSocketClient@507842001-423-selector-WebSocketClientSelectorManager@2477d85b/1,5,main] on org.eclipse.jetty.io.SelectorManager$ManagedSelector@731206ba keys=0 selected=0 08:49:25 2016-08-04 08:49:25,626 DEBUG [o.e.j.u.c.AbstractLifeCycle] STARTED @93979ms org.eclipse.jetty.websocket.client.io.ConnectionManager@cb54fdf 08:49:25 2016-08-04 08:49:25,626 DEBUG [o.e.j.i.SelectorManager] Selector loop waiting on select 08:49:25 2016-08-04 08:49:25,627 DEBUG [o.e.j.w.c.WebSocketClient] Connect Promise: FutureCallback@538ebffd{false,false,null} 08:49:25 2016-08-04 08:49:25,628 DEBUG [o.e.j.i.SelectorManager] Queued change org.eclipse.jetty.io.SelectorManager$ManagedSelector$Accept@19fcb05f 08:49:25 2016-08-04 08:49:25,628 DEBUG [o.e.j.i.SelectorManager] Running change org.eclipse.jetty.io.SelectorManager$ManagedSelector$Accept@19fcb05f 08:49:25 2016-08-04 08:49:25,628 DEBUG [o.e.j.i.SelectorManager] Queued change org.eclipse.jetty.io.SelectorManager$ManagedSelector$Connect@19aca3e9 08:49:27 2016-08-04 08:49:27,105 INFO [p.p.b.service] Shutting down broker service 08:49:28 2016-08-04 08:49:28,095 INFO [p.p.b.service] Initializing broker service 08:49:28 2016-08-04 08:49:28,166 INFO [p.p.b.service] Starting broker service 08:49:28 2016-08-04 08:49:28,830 WARN [o.a.a.b.BrokerService] Store limit is 100000 mb, whilst the data directory: /var/lib/jenkins/workspace/platform_clj-pcp-client_unit-clj_master/JDK/openjdk7/label/unit/test-resources/tmp/spool/pcp/KahaDB only has 38530 mb of usable space 08:49:28 2016-08-04 08:49:28,830 ERROR [o.a.a.b.BrokerService] Temporary Store limit is 50000 mb, whilst the temporary data directory: /var/lib/jenkins/workspace/platform_clj-pcp-client_unit-clj_master/JDK/openjdk7/label/unit/test-resources/tmp/spool/pcp/tmp_storage only has 38530 mb of usable space 08:49:29 2016-08-04 08:49:29,507 INFO [p.p.b.service] Shutting down broker service 08:49:31 actual: java.util.concurrent.ExecutionException: org.eclipse.jetty.io.EofException 08:49:31 at java.util.concurrent.FutureTask.report (FutureTask.java:122) 08:49:31 java.util.concurrent.FutureTask.get (FutureTask.java:188) 08:49:31 clojure.core$deref_future.invoke (core.clj:2180) 08:49:31 clojure.core$future_call$reify__6320.deref (core.clj:6420) 08:49:31 clojure.core$deref.invoke (core.clj:2200) 08:49:31 puppetlabs.pcp.client$eval6247$_connected_QMARK___6252$fn__6253.invoke (client.clj:98) 08:49:31 puppetlabs.pcp.client$eval6247$_connected_QMARK___6252.invoke (client.clj:95) 08:49:31 puppetlabs.pcp.client$eval6639$_close__6644$fn__6645.invoke (client.clj:269) 08:49:31 puppetlabs.pcp.client$eval6639$_close__6644.invoke (client.clj:259) 08:49:31 puppetlabs.pcp.client.Client.close (client.clj:87) 08:49:31 sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2) 08:49:31 sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:57) 08:49:31 sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) 08:49:31 java.lang.reflect.Method.invoke (Method.java:606) 08:49:31 clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:93) 08:49:31 clojure.lang.Reflector.invokeNoArgInstanceMember (Reflector.java:313) 08:49:31 puppetlabs.pcp.messaging_test/fn (messaging_test.clj:148) 08:49:31 clojure.test$test_var$fn__7187.invoke (test.clj:704) 08:49:31 clojure.test$test_var.invoke (test.clj:704) 08:49:31 clojure.test$test_vars$fn__7209$fn__7214.invoke (test.clj:722) 08:49:31 clojure.test$default_fixture.invoke (test.clj:674) 08:49:31 clojure.test$test_vars$fn__7209.invoke (test.clj:722) 08:49:31 clojure.test$default_fixture.invoke (test.clj:674) 08:49:31 clojure.test$test_vars.invoke (test.clj:718) 08:49:31 clojure.test$test_all_vars.invoke (test.clj:728) 08:49:31 clojure.test$test_ns.invoke (test.clj:747) 08:49:31 clojure.core$map$fn__4245.invoke (core.clj:2559) 08:49:31 clojure.lang.LazySeq.sval (LazySeq.java:40) 08:49:31 clojure.lang.LazySeq.seq (LazySeq.java:49) 08:49:31 clojure.lang.Cons.next (Cons.java:39) 08:49:31 clojure.lang.RT.boundedLength (RT.java:1654) 08:49:31 clojure.lang.RestFn.applyTo (RestFn.java:130) 08:49:31 clojure.core$apply.invoke (core.clj:626) 08:49:31 clojure.test$run_tests.doInvoke (test.clj:762) 08:49:31 clojure.lang.RestFn.applyTo (RestFn.java:137) 08:49:31 clojure.core$apply.invoke (core.clj:624) 08:49:31 user$eval85$fn__144$fn__175.invoke (form-init3774032803310670945.clj:1) 08:49:31 user$eval85$fn__144$fn__145.invoke (form-init3774032803310670945.clj:1) 08:49:31 user$eval85$fn__144.invoke (form-init3774032803310670945.clj:1) 08:49:31 user$eval85.invoke (form-init3774032803310670945.clj:1) 08:49:31 clojure.lang.Compiler.eval (Compiler.java:6703) 08:49:31 clojure.lang.Compiler.eval (Compiler.java:6693) 08:49:31 clojure.lang.Compiler.load (Compiler.java:7130) 08:49:31 clojure.lang.Compiler.loadFile (Compiler.java:7086) 08:49:31 clojure.main$load_script.invoke (main.clj:274) 08:49:31 clojure.main$init_opt.invoke (main.clj:279) 08:49:31 clojure.main$initialize.invoke (main.clj:307) 08:49:31 clojure.main$null_opt.invoke (main.clj:342) 08:49:31 clojure.main$main.doInvoke (main.clj:420) 08:49:31 clojure.lang.RestFn.invoke (RestFn.java:421) 08:49:31 clojure.lang.Var.invoke (Var.java:383) 08:49:31 clojure.lang.AFn.applyToHelper (AFn.java:156) 08:49:31 clojure.lang.Var.applyTo (Var.java:700) 08:49:31 clojure.main.main (main.java:37) 08:49:31 Caused by: org.eclipse.jetty.io.EofException: null 08:49:31 at org.eclipse.jetty.io.ChannelEndPoint.flush (ChannelEndPoint.java:192) 08:49:31 org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush (SslConnection.java:793) 08:49:31 org.eclipse.jetty.io.WriteFlusher.flush (WriteFlusher.java:408) 08:49:31 org.eclipse.jetty.io.WriteFlusher.completeWrite (WriteFlusher.java:364) 08:49:31 org.eclipse.jetty.io.ssl.SslConnection$1.run (SslConnection.java:97) 08:49:31 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:635) 08:49:31 org.eclipse.jetty.util.thread.QueuedThreadPool$3.run (QueuedThreadPool.java:555) 08:49:31 java.lang.Thread.run (Thread.java:745) 08:49:31 Caused by: java.io.IOException: Broken pipe 08:49:31 at sun.nio.ch.FileDispatcherImpl.write0 (FileDispatcherImpl.java:-2) 08:49:31 sun.nio.ch.SocketDispatcher.write (SocketDispatcher.java:47) 08:49:31 sun.nio.ch.IOUtil.writeFromNativeBuffer (IOUtil.java:93) 08:49:31 sun.nio.ch.IOUtil.write (IOUtil.java:65) 08:49:31 sun.nio.ch.SocketChannelImpl.write (SocketChannelImpl.java:492) 08:49:31 org.eclipse.jetty.io.ChannelEndPoint.flush (ChannelEndPoint.java:170) 08:49:31 org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush (SslConnection.java:793) 08:49:31 org.eclipse.jetty.io.WriteFlusher.flush (WriteFlusher.java:408) 08:49:31 org.eclipse.jetty.io.WriteFlusher.completeWrite (WriteFlusher.java:364) 08:49:31 org.eclipse.jetty.io.ssl.SslConnection$1.run (SslConnection.java:97) 08:49:31 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:635) 08:49:31 org.eclipse.jetty.util.thread.QueuedThreadPool$3.run (QueuedThreadPool.java:555) 08:49:31 java.lang.Thread.run (Thread.java:745) {code}
    via by Michael Smith,
    • org.eclipse.jetty.io.EofException at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:192) at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:408) at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:364) at org.eclipse.jetty.io.SelectChannelEndPoint.onSelected(SelectChannelEndPoint.java:111) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:636) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:607) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:545) at org.eclipse.jetty.util.thread.NonBlockingThread.run(NonBlockingThread.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) at sun.nio.ch.IOUtil.write(IOUtil.java:65) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:170) ... 10 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    361 more bugmates