ejabberd - Comments for "PubSub with EXMPP: TCP connection closes on publish " https://www.ejabberd.im/node/3673 en Maybe ejabberd/exmpp close https://www.ejabberd.im/node/3673#comment-54701 <p>Maybe ejabberd/exmpp close abruptly the client session because the stanza is not XML-valid?</p> <p>If you do this making a call to a function in ejabberd or exmpp, try this: add a debug print in that function so it rints the arguments that you are providing. When you call that function the session is closed. Now connect with a desktop client (like Psi, Gajim, Tkabber...) and send the XMPP stanza using the client Raw XML Window. Check what arguments are printed by that function, and compare with your broken example.</p> Tue, 29 Sep 2009 18:29:01 +0000 mfoss comment 54701 at https://www.ejabberd.im