I am using Openfire 3.4.5 and JWChat-1.0beta3.
I can see website at mydomain.com/jwchat, but when I try to log in a window pops up and a message “Service unavailable”.
HTTP binding is enabled on port 8080. I found that if I enable Script Syntax BOSH and log in to mydomain.com:8080/http-bind/ I get
HTTP ERROR: 400 BAD_REQUEST, but when I dissable this option I get HTTP ERROR: 404 NOT_FOUND. In either case I still get “Service unavailable” error.
var SITENAME = “mydomain.com”;
var BACKENDS =
RewriteRule /jwchat/http-bind/ http://mydomain.com:8080/http-bind/
RewriteRule /http-bind/ http://mydomain.com:8080/http-bind/
Options +Indexes +Multiviews
I also tried changing those but without success:
Edit jsjac.js and set
var JSJACHBC_USE_BOSH_VER = false; /* true; */
Edit jwchat.html and just before line:
Add this line:
oArg.authtype = ‘nonsasl’;
Log into OpenFire as an administrator and add two server properties:
xmpp.httpbind.client.requests.polling = 0
xmpp.httpbind.client.requests.wait = 10
I have been stuck with it for a long time now. Appreciate any comments. Please help!