Not logged in. · Lost password · Register
Forum: agsXMPP RSS
The Client Does the Connection but Doesn;t become Online
Avatar
hernanJabber #1
User title: Hernan
Member since Aug 2007 · 8 posts · Location: Israel
Group memberships: Members
Show profile · Link to this post
Subject: Connecting but not Authenticating...
Hello! Can ANyone Please Help me?

My Client Manages to connect, LogIn, and even Send and Receive Messages, But the Xmppcon.Authenticated Flag is STILL FALSE, how can this be?

There are sometimes (in other Clients too) Where the Client makes the connection, it seems to be online, but is "Waiting" for it to be available for chatting...
Is it a bug in the XMPP or just an issue of th Server being IDLE??

Thank you for the Support

HernanJabber :rolleyes:
Avatar
Jabberer #2
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
Please post your XML debug here.
Software Developer
AG-Software
Avatar
hernanJabber #3
User title: Hernan
Member since Aug 2007 · 8 posts · Location: Israel
Group memberships: Members
Show profile · Link to this post
Subject: XML
SEND: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9InRlc3QiLHJlYWxtPSJoZXJuYW5sYXAiLG5vbmNlPSI2UkZaZE1aRmsxeG9NTWlscWNWR1l1MUF5N0NVemE1NTFhdjRlelRlIixjbm9uY2U9ImJhMzYyNGRhNmZkZDU5ZjAwY2RmMmYwZjNmZDcyMTNmNzgzMDhlZmU5YmNlZmY4Yjc5YzVhZmJjNzYwMWVhMWYiLG5jPTAwMDAwMDAxLHFvcD1hdXRoLGRpZ2VzdC11cmk9InhtcHAvaGVybmFubGFwIixjaGFyc2V0PXV0Zi04LHJlc3BvbnNlPWRmYjcwYTc5MWUzMGU2YzI1YWQ4NjVjODVhMmMwNWEz</response>
RECV: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD00MjE1ZmU1MGY5NTk5ZDAyNGRjMDYwMjU3MmUyMDE0OA==</success>
SEND: <stream:stream to='hernanlap' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="hernanlap" xml:lang="en" id="adf8786" >
RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" /><session xmlns="urn:ietf:params:xml:ns:xmpp-session" /></stream:features>
SEND: <iq xmlns="jabber:client" id="agsXMPP_1" type="set" to="hernanlap"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>SpikkoMes</resource></bind></iq>
RECV: <iq xmlns="jabber:client" from="hernanlap" id="agsXMPP_1" to="hernanlap/adf8786" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>test@hernanlap/SpikkoMes</jid></bind></iq>
SEND: <iq xmlns="jabber:client" id="agsXMPP_2" type="set" to="hernanlap"><session xmlns="urn:ietf:params:xml:ns:xmpp-session" /></iq>
RECV: <iq xmlns="jabber:client" from="hernanlap" id="agsXMPP_2" to="test@hernanlap/SpikkoMes" type="result"><session xmlns="urn:ietf:params:xml:ns:xmpp-session" /></iq>
SEND: <iq xmlns="jabber:client" id="agsXMPP_3" type="get" to="hernanlap"><query xmlns="jabber:iq:agents" /></iq>
SEND: <iq xmlns="jabber:client" id="agsXMPP_4" type="get"><query xmlns="jabber:iq:roster" /></iq>
RECV: <iq xmlns="jabber:client" from="hernanlap" id="agsXMPP_3" to="test@hernanlap/SpikkoMes" type="error"><query xmlns="jabber:iq:agents" /><error code="501" type="cancel"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
RECV: <iq xmlns="jabber:client" id="agsXMPP_4" to="test@hernanlap/SpikkoMes" type="result"><query xmlns="jabber:iq:roster"><item subscription="both" jid="daniel@hernanlap" name="Daniel" /><item subscription="both" jid="test4@hernanlap" /><item subscription="both" jid="test2@hernanlap" /></query></iq>
SEND: <presence xmlns="jabber:client"><status /><priority>10</priority></presence>
SEND: <stream:stream to='hernanlap' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
Avatar
Jabberer #4
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
There must be smth wrong in your code.
Directly after you send your presence you send a new stream header.
Software Developer
AG-Software
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS