-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
9
When HTTP_2 client access a HTTP/2 server over HTTPS, the below exception was thrown,
Exception in thread "main" java.io.IOException: stream closed
at java.net.http.Queue.putAll(java.httpclient@9-internal/Queue.java:45)
at java.net.http.AsyncSSLDelegate.write(java.httpclient@9-internal/AsyncSSLDelegate.java:152)
at java.net.http.AsyncSSLConnection.write(java.httpclient@9-internal/AsyncSSLConnection.java:92)
at java.net.http.Http2Connection.sendConnectionPreface(java.httpclient@9-internal/Http2Connection.java:564)
at java.net.http.Http2Connection.<init>(java.httpclient@9-internal/Http2Connection.java:189)
at java.net.http.Http2ClientImpl.getConnectionFor(java.httpclient@9-internal/Http2ClientImpl.java:101)
at java.net.http.ExchangeImpl.get(java.httpclient@9-internal/ExchangeImpl.java:86)
at java.net.http.Exchange.responseImpl0(java.httpclient@9-internal/Exchange.java:179)
at java.net.http.Exchange.responseImpl(java.httpclient@9-internal/Exchange.java:172)
at java.net.http.Exchange.response(java.httpclient@9-internal/Exchange.java:122)
at java.net.http.MultiExchange.response(java.httpclient@9-internal/MultiExchange.java:146)
at java.net.http.HttpRequestImpl.response(java.httpclient@9-internal/HttpRequestImpl.java:251)
at SimpleSslTest.main(SimpleSslTest.java:35)
Exception in thread "main" java.io.IOException: stream closed
at java.net.http.Queue.putAll(java.httpclient@9-internal/Queue.java:45)
at java.net.http.AsyncSSLDelegate.write(java.httpclient@9-internal/AsyncSSLDelegate.java:152)
at java.net.http.AsyncSSLConnection.write(java.httpclient@9-internal/AsyncSSLConnection.java:92)
at java.net.http.Http2Connection.sendConnectionPreface(java.httpclient@9-internal/Http2Connection.java:564)
at java.net.http.Http2Connection.<init>(java.httpclient@9-internal/Http2Connection.java:189)
at java.net.http.Http2ClientImpl.getConnectionFor(java.httpclient@9-internal/Http2ClientImpl.java:101)
at java.net.http.ExchangeImpl.get(java.httpclient@9-internal/ExchangeImpl.java:86)
at java.net.http.Exchange.responseImpl0(java.httpclient@9-internal/Exchange.java:179)
at java.net.http.Exchange.responseImpl(java.httpclient@9-internal/Exchange.java:172)
at java.net.http.Exchange.response(java.httpclient@9-internal/Exchange.java:122)
at java.net.http.MultiExchange.response(java.httpclient@9-internal/MultiExchange.java:146)
at java.net.http.HttpRequestImpl.response(java.httpclient@9-internal/HttpRequestImpl.java:251)
at SimpleSslTest.main(SimpleSslTest.java:35)