[ejabberd] Stanzas from external components can't be delivered

Ricardo Otero dos Santos oterosantos at gmail.com
Thu Apr 15 15:45:38 MSD 2010


Hello all,

I'm trying to migrate from a previous Openfire configuration to
ejabberd-2.1.3 but it seems like I can't get this to work.

I have external components connected and receiving messages from
clients, but the replies never get to the clients.

For example, the client requesting for disco#info never gets the
response from the external component. Here's the debug log:

-------------------------------------------------
=INFO REPORT==== 2010-04-14 12:17:48 ===
D(<0.1814.0>:ejabberd_receiver:320) : Received XML on stream = "<iq
type=\"get\" to=\"gps.hobbes\" id=\"abdaa\" >\n<query
xmlns=\"http://jabber.org/protocol/disco#info\"/>\n</iq>"
=INFO REPORT==== 2010-04-14 12:17:48 ===
D(<0.1814.0>:shaper:61) : State: {maxrate,1000,499.75571544737096,
                                     1271243858997135}, Size=104
M=69.32204379702914, I=9221.227

=INFO REPORT==== 2010-04-14 12:17:48 ===
D(<0.1815.0>:ejabberd_router:301) : route
from {jid,"rikas","hobbes","itav109","rikas","hobbes","itav109"}
to {jid,[],"gps.hobbes",[],[],"gps.hobbes",[]}
packet {xmlelement,"iq",
                   [{"xml:lang","en"},
                    {"type","get"},
                    {"to","gps.hobbes"},
                    {"id","abdaa"}],
                   [{xmlcdata,<<"\n">>},
                    {xmlelement,"query",
                        [{"xmlns","http://jabber.org/protocol/disco#info"}],
                        []},
                    {xmlcdata,<<"\n">>}]}

=INFO REPORT==== 2010-04-14 12:17:48 ===
D(<0.1817.0>:ejabberd_receiver:320) : Received XML on stream = "<iq
from='gps.hobbes' to='rikas at hobbes/itav109' id='abdaa' type='result'
xml:lang='en'>\n<query
xmlns='http://jabber.org/protocol/disco#info'><identity name='GPS
location provider component' category='provider' type='text'/><feature
var='http://jabber.org/protocol/disco#info'/></query>\n</iq>"
-------------------------------------------------

So the information gets to the server and then it does nothing. Any
clue on why is this happening?

Thanks!


More information about the ejabberd mailing list