java.net.SocketException: socket closed

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • javax/net/ssl/ciphersuites/DisabledAlgorithms.java fails intermittently ----------System.out:(28/2284)---------- jdk.tls.disabledAlgorithms = SSLv3, RC4 Server: enable cipher suites: [TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA, SSL_RSA_WITH_RC4_128_SHA, TLS_ECDH_ECDSA_WITH_RC4_128_SHA, TLS_ECDH_RSA_WITH_RC4_128_SHA, SSL_RSA_WITH_RC4_128_MD5, TLS_ECDH_anon_WITH_RC4_128_SHA, SSL_DH_anon_WITH_RC4_128_MD5] Server: started Client: enable cipher suite: TLS_ECDHE_ECDSA_WITH_RC4_128_SHA Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: TLS_ECDHE_RSA_WITH_RC4_128_SHA Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: SSL_RSA_WITH_RC4_128_SHA Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: TLS_ECDH_ECDSA_WITH_RC4_128_SHA Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: TLS_ECDH_RSA_WITH_RC4_128_SHA Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: SSL_RSA_WITH_RC4_128_MD5 Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: TLS_ECDH_anon_WITH_RC4_128_SHA Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: SSL_DH_anon_WITH_RC4_128_MD5 Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Server: finished ----------System.err:(14/897)---------- java.lang.RuntimeException: Expected SSL exception not thrown on server side at DisabledAlgorithms.checkFailure(DisabledAlgorithms.java:136) at DisabledAlgorithms.main(DisabledAlgorithms.java:91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:502) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92) at java.lang.Thread.run(Thread.java:745) JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected SSL exception not thrown on server side JavaTest Message: shutting down test
    via by Amy Lu,
  • javax/net/ssl/ciphersuites/DisabledAlgorithms.java fails intermittently ----------System.out:(28/2284)---------- jdk.tls.disabledAlgorithms = SSLv3, RC4 Server: enable cipher suites: [TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA, SSL_RSA_WITH_RC4_128_SHA, TLS_ECDH_ECDSA_WITH_RC4_128_SHA, TLS_ECDH_RSA_WITH_RC4_128_SHA, SSL_RSA_WITH_RC4_128_MD5, TLS_ECDH_anon_WITH_RC4_128_SHA, SSL_DH_anon_WITH_RC4_128_MD5] Server: started Client: enable cipher suite: TLS_ECDHE_ECDSA_WITH_RC4_128_SHA Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: TLS_ECDHE_RSA_WITH_RC4_128_SHA Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: SSL_RSA_WITH_RC4_128_SHA Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: TLS_ECDH_ECDSA_WITH_RC4_128_SHA Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: TLS_ECDH_RSA_WITH_RC4_128_SHA Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: SSL_RSA_WITH_RC4_128_MD5 Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: TLS_ECDH_anon_WITH_RC4_128_SHA Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Client: enable cipher suite: SSL_DH_anon_WITH_RC4_128_MD5 Client: connect to server Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Server: finished ----------System.err:(14/897)---------- java.lang.RuntimeException: Expected SSL exception not thrown on server side at DisabledAlgorithms.checkFailure(DisabledAlgorithms.java:136) at DisabledAlgorithms.main(DisabledAlgorithms.java:91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:502) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92) at java.lang.Thread.run(Thread.java:745) JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected SSL exception not thrown on server side JavaTest Message: shutting down test
    via by Amy Lu,
  • GitHub comment 4#286388633
    via GitHub by erudisch
    ,
  • Jackrabbit GC
    via GitHub by maxencelaurent
    ,
  • Error by SSLServerSocket
    via Stack Overflow by pinoxxio
    ,
    • java.net.SocketException: socket closed at java.net.DualStackPlainSocketImpl.accept0(Native Method) at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketImpl.java:131) at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:404) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:199) at java.net.ServerSocket.implAccept(ServerSocket.java:546) at sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:348) at DisabledAlgorithms$SSLServer.run(DisabledAlgorithms.java:213) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,