java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(java.base@9-internal/Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-internal/AbstractPlainSocketImpl.java:400)
at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-internal/AbstractPlainSocketImpl.java:243)
at java.net.AbstractPlainSocketImpl.connect(java.base@9-internal/AbstractPlainSocketImpl.java:225)
at java.net.Socket.connect(java.base@9-internal/Socket.java:591)
at sun.net.NetworkClient.doConnect(java.base@9-internal/NetworkClient.java:177)
at sun.net.www.http.HttpClient.openServer(java.base@9-internal/HttpClient.java:432)
at sun.net.www.http.HttpClient$1.run(java.base@9-internal/HttpClient.java:484)
at sun.net.www.http.HttpClient$1.run(java.base@9-internal/HttpClient.java:482)
at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
at sun.net.www.http.HttpClient.privilegedOpenServer(java.base@9-internal/HttpClient.java:481)
at sun.net.www.http.HttpClient.openServer(java.base@9-internal/HttpClient.java:522)
at sun.net.www.http.HttpClient.<init>(java.base@9-internal/HttpClient.java:211)
at sun.net.www.http.HttpClient.New(java.base@9-internal/HttpClient.java:308)
at sun.net.www.http.HttpClient.New(java.base@9-internal/HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(java.base@9-internal/HttpURLConnection.java:1163)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(java.base@9-internal/HttpURLConnection.java:1142)
at sun.net.www.protocol.http.HttpURLConnection$6.run(java.base@9-internal/HttpURLConnection.java:986)
at sun.net.www.protocol.http.HttpURLConnection$6.run(java.base@9-internal/HttpURLConnection.java:984)
at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(java.base@9-internal/AccessController.java:792)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(java.base@9-internal/HttpURLConnection.java:983)
at sun.net.www.protocol.http.HttpURLConnection.connect(java.base@9-internal/HttpURLConnection.java:930)
at java.net.HttpConnectSocketImpl.doTunnel(java.base@9-internal/HttpConnectSocketImpl.java:167)
at java.net.HttpConnectSocketImpl.access$200(java.base@9-internal/HttpConnectSocketImpl.java:44)
at java.net.HttpConnectSocketImpl$2.run(java.base@9-internal/HttpConnectSocketImpl.java:151)
at java.net.HttpConnectSocketImpl$2.run(java.base@9-internal/HttpConnectSocketImpl.java:149)
at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
at java.net.HttpConnectSocketImpl.privilegedDoTunnel(java.base@9-internal/HttpConnectSocketImpl.java:148)
at java.net.HttpConnectSocketImpl.connect(java.base@9-internal/HttpConnectSocketImpl.java:111)
at java.net.Socket.connect(java.base@9-internal/Socket.java:591)
at java.net.Socket.connect(java.base@9-internal/Socket.java:540)
at HttpProxy.test(HttpProxy.java:89)
at HttpProxy.main(HttpProxy.java:68)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
at java.net.PlainSocketImpl.socketConnect(java.base@9-internal/Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-internal/AbstractPlainSocketImpl.java:400)
at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-internal/AbstractPlainSocketImpl.java:243)
at java.net.AbstractPlainSocketImpl.connect(java.base@9-internal/AbstractPlainSocketImpl.java:225)
at java.net.Socket.connect(java.base@9-internal/Socket.java:591)
at sun.net.NetworkClient.doConnect(java.base@9-internal/NetworkClient.java:177)
at sun.net.www.http.HttpClient.openServer(java.base@9-internal/HttpClient.java:432)
at sun.net.www.http.HttpClient$1.run(java.base@9-internal/HttpClient.java:484)
at sun.net.www.http.HttpClient$1.run(java.base@9-internal/HttpClient.java:482)
at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
at sun.net.www.http.HttpClient.privilegedOpenServer(java.base@9-internal/HttpClient.java:481)
at sun.net.www.http.HttpClient.openServer(java.base@9-internal/HttpClient.java:522)
at sun.net.www.http.HttpClient.<init>(java.base@9-internal/HttpClient.java:211)
at sun.net.www.http.HttpClient.New(java.base@9-internal/HttpClient.java:308)
at sun.net.www.http.HttpClient.New(java.base@9-internal/HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(java.base@9-internal/HttpURLConnection.java:1163)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(java.base@9-internal/HttpURLConnection.java:1142)
at sun.net.www.protocol.http.HttpURLConnection$6.run(java.base@9-internal/HttpURLConnection.java:986)
at sun.net.www.protocol.http.HttpURLConnection$6.run(java.base@9-internal/HttpURLConnection.java:984)
at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(java.base@9-internal/AccessController.java:792)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(java.base@9-internal/HttpURLConnection.java:983)
at sun.net.www.protocol.http.HttpURLConnection.connect(java.base@9-internal/HttpURLConnection.java:930)
at java.net.HttpConnectSocketImpl.doTunnel(java.base@9-internal/HttpConnectSocketImpl.java:167)
at java.net.HttpConnectSocketImpl.access$200(java.base@9-internal/HttpConnectSocketImpl.java:44)
at java.net.HttpConnectSocketImpl$2.run(java.base@9-internal/HttpConnectSocketImpl.java:151)
at java.net.HttpConnectSocketImpl$2.run(java.base@9-internal/HttpConnectSocketImpl.java:149)
at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
at java.net.HttpConnectSocketImpl.privilegedDoTunnel(java.base@9-internal/HttpConnectSocketImpl.java:148)
at java.net.HttpConnectSocketImpl.connect(java.base@9-internal/HttpConnectSocketImpl.java:111)
at java.net.Socket.connect(java.base@9-internal/Socket.java:591)
at java.net.Socket.connect(java.base@9-internal/Socket.java:540)
at HttpProxy.test(HttpProxy.java:89)
at HttpProxy.main(HttpProxy.java:68)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
- relates to
-
JDK-8171496 Some jdk_net tests failed with "java.net.ConnectException: Operation timed out (Connection timed out)"
- Open
-
JDK-8141703 sun/net/www/protocol/https/HttpsURLConnection/B6216082.java failed with operation timed out exception
- Closed