[jdev] Why is my jabber server kicking out a remote useron anerror?

Tom Kalafut tommyk at tridsys.com
Wed Feb 20 13:26:25 CST 2008

Oops.  I did use error code not_acceptable, so it's not that.  It's apparently kicking out the user that sent an iq stanza of type error (any code).

I think I understand now.  Apparently, ejabberd is kicking out the user in the Line 294 check because the 'to' is a chatroom JID, no matter what the stanza is.  And the Line 294 check is not going away, right?  So I think I'm stuck.
I think I may have to just return a message and append some "ERROR" text to the body.  Everybody on the local side of the chat room will receive the error like a normal message.  Any other ideas?


Tom Kalafut
I3/CG Crew Member
Trident Systems Inc.
tommyk at tridsys.com

The opinions expressed in this e-mail may not necessarily reflect the opinions of Trident Systems Inc.

-----Original Message-----
From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf Of Peter Saint-Andre
Sent: Wednesday, February 20, 2008 1:52 PM
To: Jabber/XMPP software development list
Subject: Re: [jdev] Why is my jabber server kicking out a remote useron anerror?

Tom Kalafut wrote:
> Changing to an iq stanza kicked the user out, too :(
> Do I have to use an error code not listed in the discussion link?

Either that or wait for this bug to be fixed (I am not sure if the fix
made it into the soon-to-be-released ejabberd 2.0.0, but you might want
to ask on the ejabberd list).


Peter Saint-Andre

More information about the JDev mailing list