Hello everyone,
After I installed succesfully JWChat on my server I tried to get MUCkl running too. I thought due to the fact both are based on the same Javascript-library that MUCkl should work easily. But I was wrong. I configured MUCkl and when I start it can connect and authenticate successfully, but directkly after the challenge/response I get a 400 error from jetty. So I am unable to connect to the chatroom. But JWChat ist still working like a charm.
/* BACKENDTYPE - the type of backend to be used * * Either 'polling' for HTTP Polling * Or 'binding' for HTTP Binding */
var BACKENDTYPE = 'binding'; /* HTTPBASE - base URI to contact HTTP Polling service * * This must be local to your web server which serves MUCkl. If * HTTP Polling service is not local to your web server you have to * define a rewrite rule which matches this address and redirects to * the real HTTP Polling URI. * * [refers to step 2 of installation instructions] */ //var HTTPBASE = "/tomcat/JHB/";
var HTTPBASE = "/http-bind/"; /* Login Data - the user to login * * [refers to step 3 of installation instructions] */ var XMPPDOMAIN = "my.jabber.host"; // domain name of jabber service to be used var AUTHTYPE = 'nonsasl';
//var AUTHHOST = "anon.localhost"; // hostname of sasl anonymous service var MUCKLJID = "muckl"; // username
var MUCKLPASS = "mucklpass"; // password /* ROOMS * * Which chat room to join * * [refers to step 4 of installation instructions] */ var ROOMS =
[
{
name:'abendplanung',
description:'Der Abendplanungschat der Holzener',
server:'conference.my.jabber.host'//,
// logo: 'http://localhost/spongebob.png'
}
]; /* CONFERENCENOHIST * whether to not show room history upon joining */
var CONFERENCENOHIST = true; /* DEFAULT_LOCK_MINS * time a user is being locked out if not otherwise indicated by kick reason */
var DEFAULT_LOCK_MINS = 1;
/* MAX_LOCK_MINS * maximum allowed number of minutes a user may be locked out by kick reason * on ban this is used as default value */
var MAX_LOCK_MINS = 60; /* *** * some internally used vars - don't change except you really know * what you are doing * *** */ var timerval = 1000; // poll frequency in msec var stylesheet = "muckl.css";
var THEMESDIR = "themes"; /* debugging options */
var DEBUG = true; // turn debugging on
var DEBUG_LVL = 2; // debug-level 0..4 (4 = very noisy) /* ** Don't touch ** */
var VERSION = "0.4.3";
Probably I am just too stupid or blind to see the error in my MUCkl config, so I hope that someone can give a solution or at least a hint.
P.S.: Sorry for my poor english but unfortunately I am not a native speaker but I try my best.