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

Sergei Golovan sgolovan at nes.ru
Wed Nov 12 10:56:06 MSK 2008


On Tue, Nov 11, 2008 at 11:26 PM, Gabriel Rossetti
<gabriel.rossetti at arimaz.com> wrote:
> Hello,
>
> 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.

Cheers!
-- 
Sergei Golovan


More information about the ejabberd mailing list