[ejabberd] <stream:error><xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream>

Konstantin Khomoutov flatworm at users.sourceforge.net
Wed Nov 12 16:03:36 MSK 2008

Sergei Golovan wrote:
>> I use ejabberd to send binary data encoded in base64. I sometimes get this
>> error :
>> RECV: <stream:error><xml-not-well-formed
>> xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream>
>> 2008-11-11 21:22:24,599 - DEBUG - XmppBaseClient.py at line no. 254 -
>> Disconnected!
> Unfortunately, ejabberd never includes any text messages in stream
> errors. xml-not-well-formed may be issued if it's indeed not
> well-formed, bat also it is sent if a received stanza size exceeds
> maximum stanza size (configured in a config file, parameter
> max_stanza_size), and if you send XML stanza before an initial stream
> header.
> In your case it's likely the stanza size bound.
For the stanza size limit there's a wishlist item filed: 

More information about the ejabberd mailing list