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

javax/net/ssl/TLSCommon/TLSTest.java fails with connection refused

    XMLWordPrintable

    Details

      Description

      javax/net/ssl/TLSCommon/TLSTest.java

      ----------System.out:(13/877)----------
      Server listining on port: 54076
      java.net.SocketTimeoutException: Accept timed out
      at java.base/sun.nio.ch.NioSocketImpl.timedAccept(NioSocketImpl.java:705)
      at java.base/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:749)
      at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:675)
      at java.base/java.net.ServerSocket.platformImplAccept(ServerSocket.java:641)
      at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:596)
      at java.base/sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:271)
      at TLSTest$Server.doServerSide(TLSTest.java:226)
      at TLSTest$Server.run(TLSTest.java:251)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:833)
      ----------System.err:(23/1484)----------
      java.net.ConnectException: Connection refused: connect
      at java.base/sun.nio.ch.Net.connect0(Native Method)
      at java.base/sun.nio.ch.Net.connect(Net.java:579)
      at java.base/sun.nio.ch.Net.connect(Net.java:568)
      at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:585)
      at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
      at java.base/java.net.Socket.connect(Socket.java:633)
      at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:299)
      at java.base/sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:158)
      at java.base/sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)
      at TLSTest$Client.doClientSide(TLSTest.java:284)
      at TLSTest.main(TLSTest.java:158)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:51)
      at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.net.ConnectException: Connection refused: connect

        Attachments

          Activity

            People

            Assignee:
            rhalade Rajan Halade
            Reporter:
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: