Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Can't connect strophe to Openfire via Websockets (Error during WebSocket handshake)

$
0
0

I am writing a simple chat client (using strophe) which connects to my Openfire server. Strophe works successfully with BOSH, but for some reason cannot connect using websockets.

 

I have installed the latest version (websockets-0.0.0.6) of "WebSockets Plugin" plugin for OpenFire, using the default path "ws".  My client url is ws://my-server:7070/ws.

 

I get the following error in my browser console:

WebSocket connection to 'ws://127.0.0.1:7070/ws/' failed: Error during WebSocket handshake: Unexpected response code: 404

 

Has anyone come across this problem before?

 

Any help would really be appreciated.

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 10742

Trending Articles