powered by Jive Software

Weird login procedure, <stream:features> HELP!

I’‘m using eJabberd for a high availability clustered game lobby, it was modified to support flash-like-sockets, you know, the ‘’/0’’ to the end of the stream.

When I log to jive, the procedure(in my debug console) goes like this:




Cool! the loguin goes smoothly… to achieve this I call tho connection.connect(“flash”)

But when I try to connect with the modified server, somethisn extrange happens, look this loguin sequense:



unnespected reception


what that ? whats DIGEST-MD5? anyone has any idea whats happening here? ANY HELP WILL BE WELLCOME!


I forgot two things:

  1. When I connect to the modified server, I use connection.connect(“standatd”)

  2. Pandion is unable to connect.


You should read the documentation of jabber on www.jabber.org

The problem is that, in XMMP 1.0, the connection MUST be done by SASL, that means, password encryption, what I do is modify the XMMPConnection.as file in the line #327 as follows:

Replace:openingStreamTag = new String( “<?xml version=\"1.0\"?><stream:stream to=”" + server + “” xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0”>" );

for: openingStreamTag = new String( “<?xml version=\"1.0\"?><stream:stream to=”" + server + “” xmlns=“jabber:client” xmlns:stream="http://etherx.jabber.org/streams">" );

If you omit the version property, the server asumes that is NOT a XMPP SLAS compatible and start an encriptles autentication process.

Now, I’‘m getting a “xml-not-well-formed” as response and I don’'t know what to do with it.