ejabberd - Comments for "eJabberd - Login Problem" https://www.ejabberd.im/node/1285 en Flash Patch https://www.ejabberd.im/node/1285#comment-14714 <p>The Flash patch is a patch because, Adobe has made a very ugly hack in adding null characters in streams. This is not standard and adding this uglyness in ejabberd seems odd.<br /> They fixed the behaviour in Flash 9 fortunatly.<br /> Did you try with Flash 9 ?</p> Sun, 10 Jun 2007 10:26:59 +0000 Mickael Rémond comment 14714 at https://www.ejabberd.im It depends on Flash version https://www.ejabberd.im/node/1285#comment-14713 <p>Are you targeting Flash 9 or Flash 8 ?<br /> Flash 9 supports normal XML stream and it should work as is.<br /> Otherwise, for Flash 8, you need to patch ejabberd to support null characters that Flash insert inside XML stream.</p> Sun, 10 Jun 2007 10:23:23 +0000 Mickaël Rémond comment 14713 at https://www.ejabberd.im Comment fixed https://www.ejabberd.im/node/1285#comment-13183 <p>No problem, I've slightly modified the HTML on your comment. If there's still any error on it, tell me.</p> Thu, 07 Jun 2007 18:32:43 +0000 mfoss comment 13183 at https://www.ejabberd.im OOPS! https://www.ejabberd.im/node/1285#comment-13168 <p>This forum doesn't stop html from posts, so the openingStreamTag that was supposed to appear in my last post, didn't. However, just remove the version="1.0" attribute from the end of the tag on line 108 and you'll be fine.</p> <p>-Aaron</p> Thu, 07 Jun 2007 16:58:55 +0000 Bobo Shim Kaddidle Jenkins comment 13168 at https://www.ejabberd.im How to: XIFF 3.0.0 & ejabberd https://www.ejabberd.im/node/1285#comment-13150 <p>Alrighty... So, the higher-level socket connector does require an end-byte. However, XIFF 3.0.0 contains a XMPPSocketConnection class that works with the new lower-level socket connector in Flash9. The gent before me had it correct, but didn't hit the details.</p> <p>There is a solution in <noindex><a href="http://www.igniterealtime.org/forum/thread.jspa?messageID=148418&amp;tstart=0" rel="nofollow" >this thread</a></noindex> that only requires a simple change in code to make XIFF 3.0.0 play nice with ejabberd. I've outlined the steps below:</p> <p>Get XIFF 3.0.0 from jivesoftware's SVN (subversion) server. There are numerous links burried in igniterealtime.org that will lead you to the repository. In the XMPPSocketConnection.as file under the "core" directory, change line 108 to the following:</p> <pre>openingStreamTag = "&lt;?xml version=\"1.0\"?&gt; &lt;stream:stream to=\"" + server + "\" xmlns=\"jabber:client\" xmlns:stream=\"http://etherx.jabber.org/streams\"&gt;";</pre><p> Just copy and paste it in. The difference is that the version="1.0" attribute and value are taken off the end of the tag. After this, in your ActionScript, connect using the core.XMPPSocketConnection class instead of the XMPPConnection class and pass the XMPPSocketConnection.connect() method a String "standard" which will tell XMPPSocketConnection to send the string you just modified in the code. Here's an example of making a connection:</p> <pre>import org.jivesoftware.xiff.core.XMPPSocketConnection; var connection = new XMPPSocketConnection(); //properties are constructed here... //then connection is made: connection.connect("standard");</pre><p> -Aaron</p> Thu, 07 Jun 2007 16:55:59 +0000 Bobo Shim Kaddidle Jenkins comment 13150 at https://www.ejabberd.im ??? I don't think so! https://www.ejabberd.im/node/1285#comment-12426 <p>??? I don't think so! Flash 9 still requires an end-byte when using the higher level socket connector which is just what is used in the latest version of Jive's XIFF 3 in subversion. WE NEED A WINDOWS RELEASE WITH SUPPORT FOR FLASH! HELP WE WHO ARE ERLANG CHALLENGED! Purty please! ;-)</p> <p>Thank you.</p> <p>P.S.<br /> I don't mean to sound frustrated... My next step is to do the compilation as best I can myself. If I get anything, I'll post it up.</p> Wed, 06 Jun 2007 23:08:44 +0000 Bobo Shim Kadidle Jenkins comment 12426 at https://www.ejabberd.im Good news, it seems the https://www.ejabberd.im/node/1285#comment-2832 <p>Good news, it seems the information is outdated. Flash 9 supports all XMPP servers. So you do not need the patch anymore. Just make sure you use the development version of XIFF; according to the Jive people that should work.</p> <p>--<br /> sander</p> Tue, 09 Jan 2007 19:51:21 +0000 sander comment 2832 at https://www.ejabberd.im eJabberd-Login Problem https://www.ejabberd.im/node/1285#comment-2831 <p>Thank you sander,</p> <p>I am Using eJabberd1.2.<br /> Windows XP os<br /> Flash 8 Professional for development of Client Connection.</p> <p>The url provided by you is having Data for Non-Windows OS. So can u pls help me to Fix this. Actually i m using eJabberd Windows Version Installer, I am not compiling the source to create the Server. If i have to compile it Thorugh which i can Compile?</p> <p>Pls Help me...<br /> Thank you verymuch For your interest to Help.</p> <p>To The World You are SomeOne<br /> To SomeOne You are The World</p> Tue, 09 Jan 2007 15:30:17 +0000 devendran_be comment 2831 at https://www.ejabberd.im Bug in Adobe Flash https://www.ejabberd.im/node/1285#comment-2830 <p>Unfortunately, Adobe Flash do not allow XMPP compliant communication. Because ejabberd do not want the XMPP protocol become a mess like in the web browser world (where browser builders support many unstandard behaviour in web pages which makes the web less open for entrants e.g.), ejabberd do not accept by default this unstandard behaviour of Flash (and so do most self-respecting Jabber servers including jabberd14, jabberd2 and probably others). There is a <noindex><a href="/flash-hack" rel="nofollow" >patch to fix the unstandard behaviour in Adobe Flash though</a></noindex>.</p> <p>I would strongly encourage you to send a complaint about the bad behaviour of Flash to Adobe; the more they receive of these, the higher the chance the bug will be fixed in a future version.</p> <p>--<br /> sander</p> Tue, 09 Jan 2007 12:36:35 +0000 sander comment 2830 at https://www.ejabberd.im