powered by Jive Software

OF 4.0.3 with WebSocket plugin 1.1.3


I just set up a OF server (Version 4.0.3, embedded DB, clean install) on my mac (El Captain 10.11.6) with WebSocket plugin (Version 1.1.3) for development purposes.

Whenever I try to connect to the server via web socket connections (ws://localhost:7070/ws/) I get the following error:

  • Using the “Smart WebSocket Client” extension for chrome logs
    "WebSocket connection to ‘ws://localhost:7070/ws/’ failed: Error during WebSocket handshake: Unexpected response code: 503"
    on console.
  • Meanwhile the warn.log shows:
    org.jivesoftware.openfire.websocket.WebSocketPlugin - Failed to create websocket: org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest@d99cade

After a day with google I was unable to find the reason for this behavior. Any advices on where to find an idea to fix this?

Thanks in advance,


Testing the websocket requires to set “xmpp” as subprotocol. If you miss that, the socket will not be created at all.

Stupid me. =)