Skip to content

TLS/SSL web socket feature demo not working #9

@field-theory

Description

@field-theory

Steps to reproduce:

  1. System setup: macOS X 10.12.6, Leiningen 2.8.1 on Java 1.8.0_152 Java HotSpot(TM) 64-Bit Server VM, the feature demo is checked out from this repository.
  2. Run lein with-profiles http2 run
  3. Connect to wss://localhost:8443/reverser with the client http://demos.kaazing.com/echo/.

Expected behavior: The web socket connection is established.

Actual behavior: The connection fails with the following exception stack trace:

Exception in thread "XNIO-1 task-3" java.lang.NoSuchMethodError: sun.security.ssl.SupportedEllipticCurvesExtension.curveIds()[I
        at sun.security.ssl.ServerHandshaker.setupEphemeralECDHKeys(ServerHandshaker.java:1470)
        at sun.security.ssl.ServerHandshaker.trySetCipherSuite(ServerHandshaker.java:1272)
        at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:1076)
        at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:742)
        at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:225)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026)
        at sun.security.ssl.Handshaker$1.run(Handshaker.java:966)
        at sun.security.ssl.Handshaker$1.run(Handshaker.java:963)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1416)
        at io.undertow.protocols.ssl.SslConduit$5.run(SslConduit.java:1034)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions