Hi,
I have some problems with XIFF and ejabberd. I'm trying to authenticate on a ejabberd server but I can't.
My IM client sends
<?xml version="1.0"?> <stream:stream to="myServer.com" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" />
and receives
<?xml version='1.0'?> <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4148489547' from='myServer.com' xml:lang='en'> </stream:stream>
So the connection is established with the server but then, for the authentication, the client sends
<iq to="agora.atosorigin.com" type="get" id="auth_1"> <query xmlns="jabber:iq:auth"><username>agora2</username></query> </iq>
but it never received an answer.
I don't understand, I think the stanza is ok.
Can someone help me please?
Thank you.
Bane
PS: Sorry for my bad english
bane wrote:Hi, I have some
Hi,
I have some problems with XIFF and ejabberd. I'm trying to authenticate on a ejabberd server but I can't.
I'm not really fluent in these Flash things⦠are you trying to:
My IM client sends
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.
and receives
In response, the server opens a stream and immediately closes it.
So the connection is established with the server but then, for the authentication, the client sends
but it never received an answer.
Since the stream is closed, the server sees no need to reply.
bane wrote: My IM client
My IM client sends
Doesn't that last slash close the
<stream>stanza? You don't want to do that. Don't invoke</stream>until you are disconnecting from the server.