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

Gabriel Rossetti gabriel.rossetti at arimaz.com
Wed Nov 12 15:06:04 MSK 2008


Sergei Golovan wrote:
> 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!
>   
Hello,

yes, that's it! A better msg would be better I think. Thanks again for 
the explanation :-)

Gabriel


More information about the ejabberd mailing list