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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JDK Bug System by John Jiang, 1 year ago
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.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 undefined.SimpleSslTest.main(SimpleSslTest.java:35)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.