Using Websocket with 4.0.2

Added websocket.jar ver(1.1.6) downloaded from plugins page. At plugins on console it exists. But when connecting to http://host:7070/ws/ I got error

2016.04.20 20:02:43 WARN  [Jetty-QTP-BOSH-146]: org.jivesoftware.openfire.websocket.WebSocketPlugin - Failed to create websocket: org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest@fb62b4

How could use websocket with last openfire version?

What OS? Which Java version? I mean Java version which Openfire reports on the home page of Admin Console.

Do you use http(s):// or ws(s):// ?

openfire.JPG

Using ws://host:7070/ws/

with GitHub - gunblues/strophe-openfire-websocket: use strophe to connect nginx or haproxy websocket proxy (openfire)

I have success The connection URL is

new WebSocket(“ws://host:7070/ws/server?username=login&password=password&resource=d emo”, “xmpp”);

UPDATE: I just updated strophe.js - and websocket is already supported. No need to third-part plugin.

var conn = new Strophe.Connection(“ws://host:7070/ws/server”, {protocol: “ws”});

Thanks for everyone.!

Wrong plugin. That is websockets and no more supported