-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, repo-phoenix
-
b02
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8359250 | 25 | Daniel Fuchs | P4 | Resolved | Fixed | b27 |
JDK-8359054 | 21.0.9-oracle | Kieran Farrell | P4 | Resolved | Fixed | master |
JDK-8359288 | 17.0.17-oracle | Kieran Farrell | P4 | Resolved | Fixed | master |
JDK-8359289 | 11.0.29-oracle | Kieran Farrell | P4 | Resolved | Fixed | master |
un 04, 2025 4:49:52 PM sun.net.www.protocol.http.HttpURLConnection plainConnect0
FINEST: ProxySelector Request for http://[0:0:0:0:0:0:0:1]:64804/
Jun 04, 2025 4:49:52 PM sun.net.www.protocol.http.HttpURLConnection plainConnect0
FINEST: Proxy used: HTTP @ xxxx-xxxx-xxx.xxx.xxx:80
(proxy address redacted)
The test should probably set a proxy selector that always returns NO_PROXY to avoid these kinds of intermittent failures.
This does not appear to be a problem for recent versions of the JDK - but I have seen this failure with JDK 11 and JDK 17.
test HttpURLConnectionExpectContinueTest.testChunkedRequestAndNoExpect100ContinueResponse(): failure
java.io.IOException: Server returned HTTP response code: 403 for URL: http://[0:0:0:0:0:0:0:1]:64804
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2019)
at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2014)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:551)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:2013)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1575)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1559)
at HttpURLConnectionExpectContinueTest.testChunkedRequestAndNoExpect100ContinueResponse(HttpURLConnectionExpectContinueTest.java:277)
...
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://[0:0:0:0:0:0:0:1]:64804
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1963)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1559)
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
at HttpURLConnectionExpectContinueTest.testChunkedRequestAndNoExpect100ContinueResponse(HttpURLConnectionExpectContinueTest.java:276)
... 33 more
- backported by
-
JDK-8359054 java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails with 403 due to system proxies
-
- Resolved
-
-
JDK-8359250 java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails with 403 due to system proxies
-
- Resolved
-
-
JDK-8359288 java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails with 403 due to system proxies
-
- Resolved
-
-
JDK-8359289 java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails with 403 due to system proxies
-
- Resolved
-
- relates to
-
JDK-8359374 HttpClient: Explicitly configure a proxy for all tests
-
- Open
-
-
JDK-8359337 XML/JAXP tests that make network connections should ensure that no proxy is selected
-
- Open
-
-
JDK-8359340 KRB5 tests should protect themselves against random proxy selection
-
- Open
-
-
JDK-8359364 java/net/URL/EarlyOrDelayedParsing test fails intermittently
-
- Resolved
-
- links to
-
Commit(jdk25) openjdk/jdk/aa4f79ea
-
Commit(master) openjdk/jdk/a377773f
-
Review(jdk25) openjdk/jdk/25755
-
Review(master) openjdk/jdk25u/2
-
Review(master) openjdk/jdk/25692