Jety Http/2 Client - getting AsynchronousCloseException

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Jety Http/2 Client - getting AsynchronousCloseException

sxam
This post has NOT been accepted by the mailing list yet.
Hi,
I keep getting those exceptions under load when I use HttpClientTransportOverHTTP2 wrapped around HTTP2Client. The requests are SSL.

java.nio.channels.AsynchronousCloseException
        at org.eclipse.jetty.http2.client.http.HttpConnectionOverHTTP2.close(HttpConnectionOverHTTP2.java:90) ~[http2-http-client-transport-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.client.http.HttpClientTransportOverHTTP2.onClose(HttpClientTransportOverHTTP2.java:153) ~[http2-http-client-transport-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.client.http.HttpClientTransportOverHTTP2$SessionListenerPromise.onClose(HttpClientTransportOverHTTP2.java:209) ~[http2-http-client-transport-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.HTTP2Session.notifyClose(HTTP2Session.java:996) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.HTTP2Session$2.succeeded(HTTP2Session.java:377) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.util.Callback$Nested.succeeded(Callback.java:91) ~[jetty-util-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.HTTP2Session$ControlEntry.succeeded(HTTP2Session.java:1151) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_60]
        at org.eclipse.jetty.http2.HTTP2Flusher.succeeded(HTTP2Flusher.java:259) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:332) ~[jetty-io-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:141) ~[jetty-io-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.HTTP2Flusher.process(HTTP2Flusher.java:247) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241) ~[jetty-util-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224) ~[jetty-util-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.HTTP2Session.frame(HTTP2Session.java:622) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.HTTP2Session.frames(HTTP2Session.java:597) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.HTTP2Session.control(HTTP2Session.java:583) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.HTTP2Session.onGoAway(HTTP2Session.java:372) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.parser.BodyParser.notifyGoAway(BodyParser.java:187) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.parser.GoAwayBodyParser.onGoAway(GoAwayBodyParser.java:169) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.parser.GoAwayBodyParser.parse(GoAwayBodyParser.java:139) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.parser.Parser.parseBody(Parser.java:182) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.parser.Parser.parse(Parser.java:110) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.http2.HTTP2Connection$HTTP2Producer.produce(HTTP2Connection.java:166) ~[http2-common-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:171) ~[jetty-util-9.3.9.M1.jar:9.3.9.M1]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.execute(ExecuteProduceConsume.java:102) ~[jetty-util-9.3.9.M1.jar:9.3.9.M1]

Any ideas as to why thisis happening?