JDK-8280104 : sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java fails with test timeout
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 18
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2022-01-17
  • Updated: 2022-10-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
The test timeout
test result: Error. Program `/run/media/oracle8/2894-DC76/Tuong/oraclejdk/jdk-18/bin/java' timed out (timeout set to 120000ms, elapsed time including timeout handling was 151603ms).

but looks like a failure in the Proxy

----------System.out:(4/244)----------
URL: https://[0:0:0:0:0:0:0:1]:44445/index.html
Proxy Failed: java.io.IOException: Proxy received a request: CONNECT [0:0:0:0:0:0:0:1]:44445 HTTP/1.1
No incoming client connection in 30 seconds. Ignore in server side.
Timeout refired 120 times
----------System.err:(10/654)----------
java.io.IOException: Proxy received a request: CONNECT [0:0:0:0:0:0:0:1]:44445 HTTP/1.1
	at ProxyTunnelServer.retrieveConnectInfo(ProxyTunnelServer.java:282)
	at ProxyTunnelServer.processRequests(ProxyTunnelServer.java:121)
	at ProxyTunnelServer.run(ProxyTunnelServer.java:92)
Caused by: java.lang.NumberFormatException: For input string: "0:0:0:0:0:0:1]:44445"
	at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
	at java.base/java.lang.Integer.parseInt(Integer.java:668)
	at java.base/java.lang.Integer.parseInt(Integer.java:784)
	at ProxyTunnelServer.retrieveConnectInfo(ProxyTunnelServer.java:280)
	... 2 more
Comments
This test takes 3 minutes to complete, see JDK-8186765. It can't complete in 2 minutes. That will be fixed in JDK-8186765; let's keep this for the proxy issue
04-10-2022

Same issue than JDK-8280099 but with a different copy of the ProxyTunnelServer.java class. See JDK-8280099 for more details. Maybe this bug should be closed as a duplicate of JDK-8280099.
18-01-2022