[jdev] Fw: Unexpected 503 error code returned by MUC (ejabberd), help required

Abhinav Singh abhinavsingh at ymail.com
Mon Aug 23 06:39:31 CDT 2010


+jdev at jabber.org
went missing in my reply....



----- Forwarded Message ----
From: Abhinav Singh <abhinavsingh at ymail.com>
To: kevin at kismith.co.uk
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 guest.3666062361282549857235348 at im.jaxl.im/jaxl.1282549857 wants to 
enter room jaxl.im-b-guest.366606_threadtitle at muc.jaxl.im
- Code identifies room doesn't already exists and hence try to create one by 
sending a room join presence from imjaxlim at im.jaxl.im/jaxl.1282549915 to 
jaxl.im-b-guest.366606_threadtitle at muc.jaxl.im/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="imjaxlim at im.jaxl.im/jaxl.1282549915" 
to="jaxl.im-b-guest.366606_threadtitle at muc.jaxl.im/imjaxlim">
</presence>
or 
<presence from="imjaxlim at im.jaxl.im/jaxl.1282549915" 
to="jaxl.im-b-guest.366606_threadtitle at muc.jaxl.im/imjaxlim">
<x xmlns="http://jabber.org/protocol/muc"></x>
</presence>
both gives me the same result.

Thanks for your help.

--
Abhinav Singh,
Founder, Jaxl Inc.
Bangalore, India
http://abhinavsingh.com/blog




________________________________
From: Kevin Smith  <kevin at kismith.co.uk>
To: Jabber/XMPP software development list <jdev at jabber.org>
Sent: Mon, August 23, 2010 4:09:59 PM
Subject: Re: [jdev] Unexpected 503 error code returned by MUC (ejabberd), help 
required

On Mon, Aug 23, 2010 at 11:11 AM, Abhinav Singh <abhinavsingh at ymail.com> wrote:
> I am facing an expected 503 error code returned by MUC (ejabberd)
> implementation. Below XMPP stanza's shall explain what i m trying to do:
> http://pastebin.com/16AJcr7Y

You  seem to be sending an empty presence before sending the room join presence.

/K
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe at jabber.org
_______________________________________________


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20100823/9167656e/attachment.htm>


More information about the JDev mailing list