java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • If the request includes body, when HTTP_2 client tries to access server over HTTPS, it may throw the following two exceptions: Exception in thread "main" java.io.IOException: Queue closed at sun.net.httpclient.common.Queue.take(java.httpclient@9-internal/Queue.java:113) at java.net.http.Stream.lambda$receiveData$1(java.httpclient@9-internal/Stream.java:203) at java.net.http.Stream.executeInline(java.httpclient@9-internal/Stream.java:179) at java.net.http.Stream.receiveData(java.httpclient@9-internal/Stream.java:197) at java.net.http.Stream.readBodyAsync(java.httpclient@9-internal/Stream.java:154) at java.net.http.Stream.readBody(java.httpclient@9-internal/Stream.java:168) at java.net.http.Exchange.readBody(java.httpclient@9-internal/Exchange.java:132) at java.net.http.MultiExchange.response(java.httpclient@9-internal/MultiExchange.java:155) at java.net.http.HttpRequestImpl.response(java.httpclient@9-internal/HttpRequestImpl.java:257) at SimpleSslTest.test(SimpleSslTest.java:37) at SimpleSslTest.main(SimpleSslTest.java:24) Exception in thread "main" java.io.IOException: stream closed at sun.net.httpclient.common.Queue.take(java.httpclient@9-internal/Queue.java:106) at java.net.http.Stream.lambda$receiveData$1(java.httpclient@9-internal/Stream.java:203) at java.net.http.Stream.executeInline(java.httpclient@9-internal/Stream.java:179) at java.net.http.Stream.receiveData(java.httpclient@9-internal/Stream.java:197) at java.net.http.Stream.readBodyAsync(java.httpclient@9-internal/Stream.java:154) at java.net.http.Stream.readBody(java.httpclient@9-internal/Stream.java:168) at java.net.http.Exchange.readBody(java.httpclient@9-internal/Exchange.java:132) at java.net.http.MultiExchange.response(java.httpclient@9-internal/MultiExchange.java:155) at java.net.http.HttpRequestImpl.response(java.httpclient@9-internal/HttpRequestImpl.java:257) at SimpleSslTest.test(SimpleSslTest.java:37) at SimpleSslTest.main(SimpleSslTest.java:24)
    via by John Jiang,
    • java.io.IOException: Queue closed at sun.net.httpclient.common.Queue.take(java.httpclient@9-internal/Queue.java:113) at java.net.http.Stream.lambda$receiveData$1(java.httpclient@9-internal/Stream.java:203) at java.net.http.Stream.executeInline(java.httpclient@9-internal/Stream.java:179) at java.net.http.Stream.receiveData(java.httpclient@9-internal/Stream.java:197) at java.net.http.Stream.readBodyAsync(java.httpclient@9-internal/Stream.java:154) at java.net.http.Stream.readBody(java.httpclient@9-internal/Stream.java:168) at java.net.http.Exchange.readBody(java.httpclient@9-internal/Exchange.java:132) at java.net.http.MultiExchange.response(java.httpclient@9-internal/MultiExchange.java:155) at java.net.http.HttpRequestImpl.response(java.httpclient@9-internal/HttpRequestImpl.java:257) at SimpleSslTest.test(SimpleSslTest.java:37) at SimpleSslTest.main(SimpleSslTest.java:24)
    No Bugmate found.