[ejabberd] ejabberd configuration issue

Badlop badlop at gmail.com
Mon Sep 17 13:43:26 MSK 2012


On 16 September 2012 13:08, Anurag Srivastava <anurag.cs at gmail.com> wrote:
> i can login to
> http://localhost:5280/admin/
>
> with user name admin at DS-001D92DDE38D

> When i try to connect my client application to server , I am getting this
> error in ejabberd log
>
> =ERROR REPORT==== 2012-09-16 16:33:48 ===
> E(<0.420.0>:ejabberd_http_bind:1236) : You are trying to use BOSH (HTTP
> Bind) in host "DS-001D92DDE38D", 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.

I have replicated your setup in my test machine, and I can login with
Gajim client using BOSH.
Among other lines, I get:

=INFO REPORT==== 17-Sep-2012::11:38:09 ===
I(<0.503.0>:ejabberd_c2s:941) :
({socket_state,ejabberd_http_bind,{http_bind,<0.502.0>,{{127,0,0,1},41048}},ejabberd_http_bind})
Opened session for user1 at ds-001d92dde38d/Gajim

Try two things:
1. in your client, put the XMPP server in lowercase:
instead of DS-001D92DDE38D put ds-001d92dde38d.

2. If that doesn't work, install Gajim or other BOSH client,
and try to see if that works.


> Please help me to fix this issue. Please also suggest is it necessary to
> change default node name ejabberd at localhost to ejabberd at DS-001D92DDE38D.

No need to change that, that is irrelevant.


---
Badlop
ProccesOne


More information about the ejabberd mailing list