[ejabberd] Problems connecting external users to an ejabberd MUC

Pablo Polvorin pablo.polvorin at process-one.net
Tue Jul 17 03:07:59 MSK 2012


Hi,
your problem might be in the address to where your client is trying to
send the groupchat message:  "chatchat at my.jabber.server".
Is that JID ok?   (is  "my.jabber.server" the address of the irc
component inside your server?).
For your logs seems ejabberd didn't find a component at that address,
and is trying to deliver the message to user "chatchat"  at server
"my.jabber.server",  that user didn't exist, and so the message is
bounced with the error condition you see.

hope that helps



On 16 July 2012 15:55, Chris Nehren <c.nehren/ejabberd at shadowcat.co.uk> wrote:
> 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/
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd



-- 
Pablo Polvorin
ProcessOne


More information about the ejabberd mailing list