Details
-
Bug
-
Resolution: Fixed
-
P4
-
18
-
b27
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8278710 | 19 | Daniel Fuchs | P4 | Resolved | Fixed | team |
JDK-8329384 | 17.0.12-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b02 |
JDK-8321265 | 17.0.11 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8331901 | 11.0.24 | Amos SHI | P4 | Resolved | Fixed | b03 |
Description
----------System.err:(59/4768)----------
Jun 15, 2021 7:40:53 PM ManyRequestsLegacy main
INFO: TEST
ClientImpl (async) elapsed 847 millis for POST to https://localhost:61682/foo/x7
ClientImpl (async) elapsed 946 millis for POST to https://localhost:61682/foo/x2
ClientImpl (async) elapsed 1029 millis for POST to https://localhost:61682/foo/x6
ClientImpl (async) elapsed 1121 millis for POST to https://localhost:61682/foo/x5
ClientImpl (async) elapsed 1118 millis for POST to https://localhost:61682/foo/x20
ClientImpl (async) elapsed 1154 millis for POST to https://localhost:61682/foo/x13
ClientImpl (async) elapsed 1202 millis for POST to https://localhost:61682/foo/x11
ClientImpl (async) elapsed 1217 millis for POST to https://localhost:61682/foo/x12
ClientImpl (async) elapsed 1237 millis for POST to https://localhost:61682/foo/x19
ClientImpl (async) elapsed 1263 millis for POST to https://localhost:61682/foo/x18
ClientImpl (async) elapsed 1318 millis for POST to https://localhost:61682/foo/x16
ClientImpl (async) elapsed 1387 millis for POST to https://localhost:61682/foo/x14
ClientImpl (async) elapsed 1492 millis for POST to https://localhost:61682/foo/x8
ClientImpl (async) elapsed 1553 millis for POST to https://localhost:61682/foo/x9
ClientImpl (async) elapsed 1575 millis for POST to https://localhost:61682/foo/x3
ClientImpl (async) elapsed 1630 millis for POST to https://localhost:61682/foo/x4
ClientImpl (async) elapsed 1681 millis for POST to https://localhost:61682/foo/x10
ClientImpl (async) elapsed 1680 millis for POST to https://localhost:61682/foo/x17
ClientImpl (async) elapsed 1814 millis for POST to https://localhost:61682/foo/x1
ClientImpl (async) elapsed 1788 millis for POST to https://localhost:61682/foo/x15
java.util.concurrent.CompletionException: java.net.ConnectException: Connection timed out: connect
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:347)
at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:874)
at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2162)
at ManyRequestsLegacy$LegacyHttpClient.lambda$sendAsync$0(ManyRequestsLegacy.java:184)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:579)
at java.base/sun.nio.ch.Net.connect(Net.java:568)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:299)
at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:174)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:183)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:498)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:603)
at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266)
at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:189)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1287)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:175)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1430)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1401)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:220)
at ManyRequestsLegacy$LegacyHttpClient.lambda$sendAsync$0(ManyRequestsLegacy.java:175)
... 1 more
JavaTest Message: Test threw exception: java.util.concurrent.CompletionException: java.net.ConnectException: Connection timed out: connect
JavaTest Message: shutting down test
Attachments
Issue Links
- backported by
-
JDK-8278710 java/net/httpclient/ManyRequestsLegacy.java failed with connection timeout
- Resolved
-
JDK-8321265 java/net/httpclient/ManyRequestsLegacy.java failed with connection timeout
- Resolved
-
JDK-8329384 java/net/httpclient/ManyRequestsLegacy.java failed with connection timeout
- Resolved
-
JDK-8331901 java/net/httpclient/ManyRequestsLegacy.java failed with connection timeout
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/665e1cd4
-
Commit openjdk/jdk17u-dev/a0281202
-
Commit openjdk/jdk/37921e30
-
Review openjdk/jdk11u-dev/2696
-
Review openjdk/jdk17u-dev/2009
-
Review openjdk/jdk/6740