Closed pokal4u closed 11 years ago
This is not an issue with JSJaC.
HI, give me a suggestion?
Thanks Pokal4u
You are trying to use BOSH (HTTP Bind) in host "domain.com", but the module mod_http_bind is not started in that host. Configure your BOSH client to connect to the correct host, or add your desired host to the configuration, or check your 'modules' section in your ejabberd configuration file.
Hi,
Chat working good. in config file set {loglevel, 2}. then got below error in ejabberd log? ' You are trying to use BOSH (HTTP Bind) in host "domain.com", but the module mod_http_bind is not started in that host. Configure your BOSH client to connect to the correct host, or add your desired host to the configuration, or check your 'modules' section in your ejabberd configuration file.
and in my config file:
{modules, [ {mod_http_bind,[]} ]}
and my code:
oArgs = new Object(); oArgs.httpbase ="1.domain.com"; //oArgs.httpbase ="2.domain.com"; //oArgs.httpbase ="3.domain.com"; oArgs.timerval = 2000; if (typeof(oDbg) != 'undefined') oArgs.oDbg = oDbg; con = new JSJaCHttpBindingConnection(oArgs); setupCon(con); oArgs = new Object(); oArgs.domain ="domain.com"; oArgs.username ="pokal4u"; oArgs.resource ="123456"; oArgs.pass =''; con.connect(oArgs);
Please help.
Thanks Pokal4u