Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1292

connectToServer - throw exceptio when connecting to wss (secure websocket)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.4.23.Final, 2.0.1.Final
    • None
    • None
    • None

    Description

      Using the following code to connect to a server:

      final URI uri = URI.create("wss://localhost:8443/wss1_war_exploded/websocket");
      MyClientEndpoint clientEndpoint = new MyClientEndpoint();
      Session session = ContainerProvider.getWebSocketContainer().connectToServer(clientEndpoint, uri);
      

      I'm getting this exception

      java.lang.IllegalArgumentException: XNIO000100: 'https' URL scheme chosen but no SSL provider given
      

      Any helps ? Thanks.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            kasim994 Kasim Jasarevic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: