0 down vote favorite
I am getting the following error when i m creating the prebind session over http using php to jabber
I have enabled the module mod_http_bind,external authentication
=INFO REPORT==== 2013-08-26 12:01:47 ===
D(<0.448.0>:ejabberd_http_bind:916) : OutPacket: [{xmlstreamelement,
{xmlelement,"success",
[{"xmlns",
"urn:ietf:params:xml:ns:xmpp-sasl"}],
[]}},
{xmlstreamelement,
{xmlelement,
"stream:error",[],
[{xmlelement,
"xml-not-well-formed",
[{"xmlns",
"urn:ietf:params:xml:ns:xmpp-streams"}],
[]}]}},
{xmlstreamend,
"stream:stream"}]
=INFO REPORT==== 2013-08-26 12:01:47 ===
D(<0.445.0>:ejabberd_http_bind:406) : Closing bind session "81b2b33276a9b372cffeefca8f06392160f21b3f" - Reason: {stream_error,
[{xmlstreamelement,
{xmlelement,
"success",
[{"xmlns",
"urn:ietf:params:xml:ns:xmpp-sasl"}],
[]}},
{xmlstreamelement,
{xmlelement,
"stream:error",
[],
[{xmlelement,
"xml-not-well-formed",
[{"xmlns",
"urn:ietf:params:xml:ns:xmpp-streams"}],
[]}]}},
{xmlstreamend,
"stream:stream"}]}
=INFO REPORT==== 2013-08-26 12:01:47 ===
D(<0.445.0>:ejabberd_http_bind:547) : terminate: Deleting session 81b2b33276a9b372cffeefca8f06392160f21b3f
enter code here
"xml-not-well-formed" Aparent
"xml-not-well-formed"
Aparently, the client is sending an XMPP stanza to ejabberd that isn't well formed.