> From: Abhinav Singh <[email protected]>
> Sent: Mon, August 23, 2010 4:46:19 PM
> Subject: Re: [jdev] Unexpected 503 error code returned by MUC (ejabberd),
> help required
>
> Hi Kevin,
>
> Sorry but I am not clear on your message. Can you expand "sending an empty
> presence before sending the room join presence"?
>
> To be specific, here is what my code does:
> - Identify [email protected]/jaxl.1282549857 wants
> to enter room [email protected]
> - Code identifies room doesn't already exists and hence try to create one by
> sending a room join presence from [email protected]/jaxl.1282549915 to
> [email protected]/imjaxlim
> - Code also sends a room join presence from guest user to the room
> immediately.
>
> However, jabber server returns a 503 for 1st room join while a success for
> 2nd room join presence.
> But ejabberd log shows 1st room join presence actually created the room, but
> still receives a 503 presence.
>
> PS: I don't see sending any empty presence before room join presence....
> <presence from="[email protected]/jaxl.1282549915"
> to="[email protected]/imjaxlim">
> </presence>

That is an empty presence stanza to a room you haven't joined yet. In
the paste from your previous mail, this got a 503 response.

> or
> <presence from="[email protected]/jaxl.1282549915"
> to="[email protected]/imjaxlim">
> <x xmlns="http://jabber.org/protocol/muc";></x>
> </presence>

This is a join stanza. In the paste, this joined the room.

/K
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

Reply via email to