Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8218133

sun/net/www/protocol/http/ProtocolRedirect.java failed with "java.net.ConnectException"

XMLWordPrintable

    • b07
    • x86_64
    • windows_2012

        Platform:Windows Server 2012 R2 6.3 (amd64)
        Error log:
        java.net.ConnectException: Connection refused: connect
        at java.base/java.net.PlainSocketImpl.connect0(Native Method)
        at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:101)
        at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
        at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
        at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
        at java.base/java.net.Socket.connect(Socket.java:591)
        at java.base/java.net.Socket.connect(Socket.java:540)
        at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
        at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
        at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
        at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:709)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1604)
        at java.base/sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1501)
        at java.base/sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1499)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:690)
        at java.base/java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:932)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
        at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
        at ProtocolRedirect.main(ProtocolRedirect.java:44)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
        at java.base/java.lang.Thread.run(Thread.java:835)

        JavaTest Message: Test threw exception: java.net.ConnectException
        JavaTest Message: shutting down test

        result: Error. Agent error: java.lang.Exception: Agent 5 timed out with a timeout of 480 seconds; check console log for any additional details


        test result: Error. Agent error: java.lang.Exception: Agent 5 timed out with a timeout of 480 seconds; check console log for any additional details

              dfuchs Daniel Fuchs
              dzhou Dora Zhou (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: