mod_http_bind

This is my first post here, so please be nice :D

I've installed ejabberd for one of websites and all was running OK until yesterday server restart. Right now there is some error in log /var/log/ejabberd/ejabberd.log

=ERROR REPORT==== 2011-10-25 19:57:59 ===
E(<0.591.0>:ejabberd_http_bind:1239) : You are trying to use BOSH (HTTP Bind) in host "www.SERVER.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.

Problem is with that host www.SERVER.com, because my host is beta.SERVER.com and i think that this is a proble, did anyone had problem like this?

my configuration looks like this:

{5280, ejabberd_http, [
%%{request_handlers,
%% [
%% {["pub", "archive"], mod_http_fileserver}
%% ]},
%%captcha,
http_bind,
http_poll,
web_admin
]}

and in modules section:
{mod_http_bind, []},

any ideas, I've searched through this forum but only help I've found is to check ejabberd.cfg file, but i can't find anything wrong there.

version 2.1.9

If you have in ejabberd.cfg

If you have in ejabberd.cfg something like this:
{hosts, ["localhost", "beta.server.com"]}.

Then you must send HTTP GET and POST requests indicating the HTTP header "Host: beta.server.com".

I've found a solution, all i

I've found a solution, all i needed to do was to add all possible hosts into ejabberd.cfg files, like server.com, beta.server.com, www.server.com, it would be nice if someone could explain me why it wasn't working when there was only beta.server.com, as this is the hostname of that machine?

Syndicate content