[ejabberd] Problems connecting external users to an ejabberd MUC

Chris Nehren c.nehren/ejabberd at shadowcat.co.uk
Mon Jul 16 22:55:44 MSK 2012


Hi there. I'm trying to set up an ejabberd instance for a client with
mod_irc-enabled MUCs. Users from other jabber servers can connect and
join rooms, mostly without issue. However, I'm having intermittent 503
errors when trying to send messages. Below is debug level output for a
message that returned 503 to my client. I've kept the lines unwrapped to
preserve context.


=INFO REPORT==== 2012-07-16 17:45:14 ===
D(<0.443.0>:ejabberd_receiver:320) : Received XML on stream = "<message from='chrisnehren at jabber.org/aum' to='chatchat at my.jabber.server' type='groupchat' id='purple64dd7c31'><body>hello</body></message>"

=INFO REPORT==== 2012-07-16 17:45:14 ===
D(<0.444.0>:ejabberd_router:313) : route
        from {jid,"chrisnehren","jabber.org","aum","chrisnehren","jabber.org",
                  "aum"}
        to {jid,"chatchat","my.jabber.server",[],"chatchat","my.jabber.server",[]}
        packet {xmlelement,"message",
                           [{"from","chrisnehren at jabber.org/aum"},
                            {"to","chatchat at my.jabber.server"},
                            {"type","groupchat"},
                            {"id","purple64dd7c31"}],
                           [{xmlelement,"body",[],[{xmlcdata,<<"hello">>}]}]}


=INFO REPORT==== 2012-07-16 17:45:14 ===
D(<0.444.0>:ejabberd_local:286) : local route
        from {jid,"chrisnehren","jabber.org","aum","chrisnehren","jabber.org",
                  "aum"}
        to {jid,"chatchat","my.jabber.server",[],"chatchat","my.jabber.server",[]}
        packet {xmlelement,"message",
                           [{"from","chrisnehren at jabber.org/aum"},
                            {"to",[...]},
                            {[...],...},
                            {...}],
                           [{xmlelement,[...],...}]}


=INFO REPORT==== 2012-07-16 17:45:14 ===
D(<0.444.0>:ejabberd_sm:410) : session manager
        from {jid,"chrisnehren","jabber.org","aum","chrisnehren","jabber.org",
                  "aum"}
        to {jid,"chatchat","my.jabber.server",[],"chatchat","my.jabber.server",[]}
        packet {xmlelement,"message",
                           [{"from","chrisnehren at jabber.org/aum"},
                            {"to",[...]},
                            {[...],...},
                            {...}],
                           [{xmlelement,[...],...}]}


=INFO REPORT==== 2012-07-16 17:45:14 ===
D(<0.444.0>:ejabberd_router:313) : route
        from {jid,"chatchat","my.jabber.server",[],"chatchat","my.jabber.server",[]}
        to {jid,"chrisnehren","jabber.org","aum","chrisnehren","jabber.org",
                "aum"}
        packet {xmlelement,"message",
                   [{"type","error"},
                    {"to","chrisnehren at jabber.org/aum"},
                    {"from","chatchat at my.jabber.server"},
                    {"id","purple64dd7c31"}],
                   [{xmlelement,"body",[],[{xmlcdata,<<"hello">>}]},
                    {xmlelement,"error",
                        [{"code","503"},{"type","cancel"}],
                        [{xmlelement,"service-unavailable",
                             [{"xmlns","urn:ietf:params:xml:ns:xmpp-stanzas"}],
                             []}]}]}


=INFO REPORT==== 2012-07-16 17:45:14 ===
D(<0.444.0>:ejabberd_s2s:251) : s2s manager
        from {jid,"chatchat","my.jabber.server",[],"chatchat","my.jabber.server",[]}
        to {jid,"chrisnehren","jabber.org","aum","chrisnehren","jabber.org",
                "aum"}
        packet {xmlelement,"message",
                           [{"type","error"},{"to",[...]},{[...],...},{...}],
                           [{xmlelement,[...],...},{xmlelement,...}]}

-- 
Chris Nehren           | Coder, Sysadmin, Masochist
Shadowcat Systems Ltd. | http://shadowcat.co.uk/


More information about the ejabberd mailing list