Skip to content

Error during WebSocket handshake #23

@artknight

Description

@artknight

@isapir reading the thread (#12) I am a bit confused on the whole installation process. Please correct me if I am wrong

Step 1: Go to the Lucee Admin and install the Websockets Application 2.0.3. That should be it?

  • Do I still need to copy/paste the servlet-filter-utils-1.1.1.jar into the tomcat/lib directory?
  • Do you I need to add the code below to web.xml?
<!-- Required for the Lucee WebSocket Extension !-->    
    <filter>
      <filter-name>HttpSessionInitializerFilter</filter-name>
      <filter-class>net.twentyonesolutions.servlet.filter.HttpSessionInitializerFilter</filter-class>
    </filter>

    <filter-mapping>
      <filter-name>HttpSessionInitializerFilter</filter-name>
      <!-- modify url-pattern to match your websocket endpoints !-->
      <url-pattern>/ws/*</url-pattern>
    </filter-mapping>

I am getting a 200 handshake error that I can't seem to resolve.

VM723:1 WebSocket connection to 'wss://mysite.com/ws/meetings' failed: Error during WebSocket handshake: Unexpected response code: 200

Thanks!
Art

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions