Chris Nehren | 16 Jul 2012 20:55
Picon

Problems connecting external users to an ejabberd MUC

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"},
(Continue reading)

Pablo Polvorin | 17 Jul 2012 01:07
Favicon

Re: Problems connecting external users to an ejabberd MUC

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",[]}
(Continue reading)

Chris Nehren | 23 Jul 2012 20:29
Picon

Re: Problems connecting external users to an ejabberd MUC

On Mon, Jul 16, 2012 at 20:07:59 -0300 , Pablo Polvorin wrote:
> 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?).

It's not, but it's been anonymized because it's a private 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

Maybe it will once I provide some more info. That JID does exist. It's a
MUC that several users are on at the time. The failures are
intermittent--sometimes I can send messages, sometimes I can't. When I
can't, I get the 503 error message detailed in the log I provided. These
users are external to the server, e.g. from a jabber.org or gtalk
server.

--

-- 
Chris Nehren           | Coder, Sysadmin, Masochist
Shadowcat Systems Ltd. | http://shadowcat.co.uk/
_______________________________________________
ejabberd mailing list
(Continue reading)

Kirk Bateman | 23 Jul 2012 21:07
Picon
Gravatar

Re: Problems connecting external users to an ejabberd MUC

I think we had the same problem early on with Buddycloud muc, it may have been related to intermittent DNS issues, tbh I can't remember.

May be worth getting in touch with Simon at BuddyCloud, he may remember and if it was DNS related, he would be the most likely person to have fixed it.

Try looking at timeout related things, perhaps Google can't initiate s2s to you so it works outbound from your server but when that connection eventually timesout its failing to reestablish in the opposite direction.

Just a thought.

regards

Kirk Bateman

On 23 Jul 2012 19:29, "Chris Nehren" <c.nehren/ejabberd <at> shadowcat.co.uk> wrote:
On Mon, Jul 16, 2012 at 20:07:59 -0300 , Pablo Polvorin wrote:
> 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?).

It's not, but it's been anonymized because it's a private 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

Maybe it will once I provide some more info. That JID does exist. It's a
MUC that several users are on at the time. The failures are
intermittent--sometimes I can send messages, sometimes I can't. When I
can't, I get the 503 error message detailed in the log I provided. These
users are external to the server, e.g. from a jabber.org or gtalk
server.

--
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

_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd

Gmane