ejabberd - Comments for "Ejabberd xiff, login problem" https://www.ejabberd.im/node/1658 en bane wrote: My IM client https://www.ejabberd.im/node/1658#comment-42072 <div class="quote-msg"> <div class="quote-author"><em>bane</em> wrote:</div> <p>My IM client sends</p> <pre>&lt;?xml version="1.0"?&gt; &lt;stream:stream to="myServer.com" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" /&gt;</pre></div> <p>Doesn't that last slash close the <code>&lt;stream&gt;</code> stanza? You don't want to do that. Don't invoke <code>&lt;/stream&gt;</code> until you are disconnecting from the server.</p> Fri, 10 Aug 2007 23:26:13 +0000 Anonymous comment 42072 at https://www.ejabberd.im bane wrote:Hi, I have some https://www.ejabberd.im/node/1658#comment-32885 <div class="quote-msg"> <div class="quote-author"><em>bane</em> wrote:</div> <p>Hi,</p> <p>I have some problems with XIFF and ejabberd. I'm trying to authenticate on a ejabberd server but I can't. </p></div> <p>I'm not really fluent in these Flash things… are you trying to:</p> <ul> <li>develop an application that requires Flash 9, which supports normal XMPP streams?</li> <li>or develop an application for lower Flash versions, which don't support proper XMPP and therefore requires <noindex><a href="/flash-hack" rel="nofollow" >a patch to ejabberd</a></noindex> and a special degeneracy in the XMPP stream?</li> </ul> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>My IM client sends</p> <pre>&lt;?xml version="1.0"?&gt; &lt;stream:stream to="myServer.com" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" /&gt;</pre></div> <p>Here, your client opens a stream and immediately closes it. The text you send vaguely, but not entirely or convincingly, resembles the XMPP stream degeneracy that pre-9 Flash clients use.</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>and receives </p> <pre>&lt;?xml version='1.0'?&gt; &lt;stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4148489547' from='myServer.com' xml:lang='en'&gt; &lt;/stream:stream&gt;</pre></div> <p>In response, the server opens a stream and immediately closes it.</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>So the connection is established with the server but then, for the authentication, the client sends </p> <pre>&lt;iq to="agora.atosorigin.com" type="get" id="auth_1"&gt; &lt;query xmlns="jabber:iq:auth"&gt;&lt;username&gt;agora2&lt;/username&gt;&lt;/query&gt; &lt;/iq&gt;</pre><p>but it never received an answer.</p></div> <p>Since the stream is closed, the server sees no need to reply.</p> Fri, 27 Jul 2007 11:11:32 +0000 legoscia comment 32885 at https://www.ejabberd.im