Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jety Http/2 Client - getting AsynchronousCloseException

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?



--
View this message in context: http://jetty.4.x6.nabble.com/Jety-Http-2-Client-getting-AsynchronousCloseException-tp4966018.html
Sent from the Jetty User mailing list archive at Nabble.com.


Back to the top