org.eclipse.jetty.io.EofException: null

JIRA | Michael Smith | 4 months ago
  1. 0

    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}

    JIRA | 4 months ago | Michael Smith
    org.eclipse.jetty.io.EofException: null
  2. 0

    GitHub comment 3#89515980

    GitHub | 2 years ago | smokingwheels
    org.eclipse.jetty.io.EofException
  3. 0

    In mostly testing, we sometimes see failures like {code} actual: java.util.concurrent.ExecutionException: java.nio.channels.ClosedChannelException at java.util.concurrent.FutureTask.report (FutureTask.java:122) java.util.concurrent.FutureTask.get (FutureTask.java:206) clojure.core$deref_future.invoke (core.clj:2182) clojure.core$future_call$reify__6320.deref (core.clj:6424) clojure.core$deref.invoke (core.clj:2204) puppetlabs.pcp.client$eval6567$_wait_for_connection__6572$fn__6573.invoke (client.clj:245) puppetlabs.pcp.client$eval6567$_wait_for_connection__6572.invoke (client.clj:241) puppetlabs.pcp.client.Client.wait_for_connection (client.clj:85) puppetlabs.pcp.messaging_test$fn__33875$fn__33878$fn__33879$fn__33882$fn__33883$fn__33886.invoke (messaging_test.clj:120) {code} This should be an expected error while waiting for connection - you might get an exception attempting to establish a connection, and this should be treated as failure to connect. It should be clear what to do when these exceptions occur. We should move to catching execution exceptions when dereferencing the websocket-connection. It seems like we have a few cases: - `connected?` and `wait-for-connection` can catch the exceptions and return appropriately (connected? should return false if an exception occured, and wait-for-connection should return with nil signifying no connection was established) - `send!` should probably still throw an exception, but might want to catch and wrap it as a not-connected failure - `close` should probably catch and swallow (log) failure, as it's not supposed to attempt to close the websocket-connection if not connected I don't think associate-response has a similar issue, because we start with none and just `deliver success`. {code} 2016-08-05 08:03:29,042 ERROR [p.p.client] Unexpected error org.eclipse.jetty.io.EofException: null at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:192) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:793) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:408) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:364) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] at org.eclipse.jetty.io.ssl.SslConnection$1.run(SslConnection.java:97) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) ~[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) ~[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79] Caused by: java.io.IOException: Broken pipe at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[na:1.7.0_79] at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) ~[na:1.7.0_79] at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) ~[na:1.7.0_79] at sun.nio.ch.IOUtil.write(IOUtil.java:65) ~[na:1.7.0_79] at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:488) ~[na:1.7.0_79] at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:170) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] ... 7 common frames omitted {code} also occurs sometimes in testing. This appears to be somewhat normal behavior when a connection closes while trying to perform an operation on it (like sendBytes).

    JIRA | 4 months ago | Michael Smith
    org.eclipse.jetty.io.EofException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jetty 9 server connection forcibly closed by the remote host

    Stack Overflow | 2 years ago | venlentine
    org.eclipse.jetty.io.EofException: null
  6. 0

    Committed before 500 STREAM

    Stack Overflow | 3 years ago | jesus.saad
    org.eclipse.jetty.io.EofException

  1. MoYapro 7 times, last 3 weeks ago
  2. DoktorDoener666 5 times, last 4 weeks ago
  3. tvrmsmith 1 times, last 1 month ago
  4. dafman 1 times, last 2 months ago
  5. davidvanlaatum 2 times, last 3 months ago
21 more registered users
74 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Broken pipe

    at sun.nio.ch.FileDispatcherImpl.write0()
  2. Java RT
    SocketChannelImpl.write
    1. sun.nio.ch.FileDispatcherImpl.write0(Native Method)[na:1.7.0_95]
    2. sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)[na:1.7.0_95]
    3. sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)[na:1.7.0_95]
    4. sun.nio.ch.IOUtil.write(IOUtil.java:65)[na:1.7.0_95]
    5. sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:492)[na:1.7.0_95]
    5 frames
  3. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:170)[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310]
    2. org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:793)[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310]
    3. org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:408)[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310]
    4. org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:364)[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310]
    5. org.eclipse.jetty.io.ssl.SslConnection$1.run(SslConnection.java:97)[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310]
    6. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310]
    7. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310]
    7 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.7.0_95]
    1 frame