Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11413

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

$
0
0

Hi Ed,

 

This is a better late than never post.

 

I have it working on my laptop with OpenFire v3.9.3 and the old websockets-0.0.0.6.zip file from https://code.google.com/p/openfire-websockets/downloads/list. I use my own version of strophe.js for websockets, which I am still working on. It seems to work pretty good, but it hasn't been rigorously tested. Anyway, here is where you can find the code:

 

https://github.com/OpenSiteMobile/osm_strophe

 

,,,and the websocket version is v102ws.uc.js file.

 

The rest of the strophe.js related files are there too. I am using Strophe.js with Candy Chat, and those files for reference are as follows:

 

Simple demo page and configuration: ttps://github.com/OpenSiteMobile/candyjs

Actual Candy Chat (my version): ttps://github.com/OpenSiteMobile/osm_candy

 

I spent a fair amount of time piecing together the best of what I could find at the time for websockets and OpenFire (about a year ago). If nothing else, it should be a good starting point or ref. for the next iteration, if there is going to be one.


Viewing all articles
Browse latest Browse all 11413

Trending Articles