[ejabberd] Early termination when using http-bind

julien vehent julien at linuxwall.info
Tue Mar 8 01:09:13 MSK 2011


Hey guys,

I'm trying to use iJab with ejabberd http-bind, and it seems that the
connection is unstable. I get the following termination from time to
time in ejabberd.log.

(software stack: ejabberd 2.0.1-6+lenny2 on debian lenny, using an
openldap authent backend and apache 2.2 in Proxypass)

Below is the log, I'm having troubles understanding it...

------------------------------------------------------------
=ERROR REPORT==== 2011-03-07 22:19:34 ===
** State machine <0.967.0> terminating
** Last message in was {'$gen_sync_all_state_event',
                           {<0.958.0>,#Ref<0.0.0.14809>},
                           {http_put,3367913,
                               [{"xmlns",
                                 "http://jabber.org/protocol/httpbind"},
                                {"rid","3367913"},
                                {"sid",
                                 "3f392a8168b0db882d140252039efb786ee8365e"}],
                               [[60,"presence",[],62,
                                 [[60,"priority",[],62,
                                   ["5"],
                                   60,47,"priority",62],
                                  [60,"status",[],62,
                                   ["www.ijab.im"],
                                   60,47,"status",62]],
                                 60,47,"presence",62]],
                               1,[]}}
** When State == loop
**      Data  == {state,"3f392a8168b0db882d140252039efb786ee8365e",3367914,
                        [],
                        [[],60,"presence",
                         [[32,"from",61,39,"julien at linuxwall.info/ijab75BCB",
                           39],
                          [32,"to",61,39,"julien at linuxwall.info/ijab75BCB",
                           39]],
                         62,
                         [[60,"status",[],62,
                           ["www.ijab.im"],
                           60,47,"status",62]],
                         60,47,"presence",62],
                        [],
                        {<0.968.0>,ok},
                        <0.968.0>,0,undefined,undefined,1299532774317228,
                        #Ref<0.0.0.14789>,0,
                        [{hbr,3367914,[],[],[]}]}
** Reason for termination =
** {{badmatch,[]},
    [{ejabberd_http_bind,handle_sync_event,4},
     {gen_fsm,handle_msg,7},
     {proc_lib,init_p,5}]}
------------------------------------------------------------



Can you help me clarify this ?

Thanks,
Julien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20110307/718cf756/attachment.html>


More information about the ejabberd mailing list