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

HttpsURLConnectionTest fails due to network firewall rules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 24
    • None
    • security-libs

      This test tries to access https://github.com and fails because network firewall rules prevent accessing external servers.

      open/test/jdk/security/infra/javax/net/ssl/HttpsURLConnectionTest.java

      Error:

      ----------System.err:(11/839)----------
      java.lang.RuntimeException: Test failed: Unable to tunnel through proxy. Proxy returns "HTTP/1.0 500 handshakefailed"
      at HttpsURLConnectionTest.main(HttpsURLConnectionTest.java:46)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed: Unable to tunnel through proxy. Proxy returns "HTTP/1.0 500 handshakefailed"
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed: Unable to tunnel through proxy. Proxy returns "HTTP/1.0 500 handshakefailed"

            fguallini Fernando Guallini
            mdonovan Matthew Donovan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: