Cant connecto to a ejabberd server

Hi everyone, I’‘m trying to connect to a ejabberd server, but I cant, I NEED to use a ejabberd server due to a project that I’'m involved requires a clustered server infrastructure.

I’'m usin Pandion Client to test te connection, the user is created, and pandion client logs perfectly and chat is posible.

But, I cant get logged with the flash example. The client sends the XML string:

SENT: <?xml version="1.0"?><stream:stream to=“localhost” xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0”>[/b]

the server console says:

=INFO REPORT==== 22-Jul-2005::12:11:23 ===

I(<0.257.0>:ejabberd_listener:90): (#Port<0.474>) Accepted connection {{127,0,0,1},1693} -> {{127,0,0,1},5222}[/b]

and the client waits the answer from the server, that NEVER take place, I change the connection script, in the .fla file to:

connection.connect( “standard” );[/b]

But still doesn’'s wants to connect. Anyone knows a workarround for this?

The servers show the user I’'m testing as “not connected”, when I connect with a pandion client I know that the connection is susecsfull because my test user is listed in the “connecteds ussers” list in the server HTTP console.

TIA

Does ejabberd support Flash XMLSocket? I don’‘t believe it does. In fact, I’‘m almost sure it doesn’‘t. In that case, you’‘re out of luck - you’'ll need to use a server that supports Flash. (Or hack ejabberd or create a proxy for the server …)

you’'ll need to use a server that supports Flash…

Any suggestions?

Servers known to support Flash:

Jive Messenger

jabberd 1.4.x

jabberd2 (with Flash patch)

OpenIM (I think)

Antepo

Bias aside, I’‘d go with Jive Messenger purely for the added benefit that Jive Software supports XIFF also. Plus, it’'s the easiest to get set up and rolling on.

I have jabberd 1.4.3 installed. I can’'t get it to answer my flash requests.

I did tcpdump on my server and compared the difference between what works and what doesn’'t.

This works:

<?xml version="1.0"?>

This doesn’'t:

<?xml version="1.0"?>00 -> "00" should be read null

Is there a setting on the server to accept the null char from Flash?

Please help

poldee

Yes, ejabberd do not support the unstandard behaviour of Flash. Alexey (main coder of ejabberd) said the mainstream ejabberd version will never do.

So there are three solutions (ordered from the cleanest to the less cleanest solutions):

  1. Contact Adobe and ask to fix it.

  2. Contribute a proxy to the XIFF project that automatically translates these things.

  3. Create your own proxy project.

  4. Write a patch for ejabberd and update it for every new release of ejabberd if necessary.

PS: If you wanted Flash for a web client you also can opt for JWChat ( http://jwchat.sourceforge.net/ ). This is a feature rich and Javascript based client that works very well with ejabberd ( http://ejabberd.jabber.ru/jwchat/ ).

Maybe this is the solution?:

http://www.ipster.org/ruse/

There is an updated patch for ejabberd available:

http://ejabberd.jabber.ru/node/320#comment-1152

But still, it will be much better if Macromedia releases a fixed Flash version. So if someone from Macromedia (or someone who can lobby them about this) is reading this, please fix it.