Jabber protocol change?
Victor Danilchenko <[email protected]> Fri, 17 Feb 2012 09:39:52 -0500
| Newsgroups | gmane.network.jabber.admin |
|---|---|
| Message-ID | <[email protected]> |
Hi guys, Sorry to bother you again, this is still related to my jabber upgrade project. So the new server is running jaber14 1.6, the old one was jabber14 1.4. My client is actually a Flash applet, we use it to provide a chatroom facility for out product. Now the client is failing to connect to the new server, I captured the TCP stream, and I am trying to figure out what my client is doing wrong -- but since I have no clue about the Jabber protocol, i am totally lost. The server logs nothing useful. This is all it logged for the failed connection: jabberd14[13239]: [stat] (sessions.localhost): delivered messages 0 jabberd14[13239]: [stat] (sessions.localhost): delivered presences 0 jabberd14[13239]: [stat] (sessions.localhost): delivered iqs 0 jabberd14[13239]: [stat] (sessions.localhost): delivered subscriptions 0 here is what the malfunctioning stream looks like -- when my client connects to Jabber14 1.6 server: SENT: <?xml version="1.0"?><stream:stream to="foo.askonline.net" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" /> SENT: <presence to="[email protected]/victor-admin"><x xmlns="http://jabber.org/protocol/muc" /></presence> Connection succeeded! RECEIVED: <?xml version='1.0'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="e656b3f206b30e40c92ab34f970ab0bbe5d190d8" from="foo.askonline.net" version="1.0" xmlns="jabber:client" /> * SENT: <iq id="log_user_1" type="get"><query xmlns="jabber:iq:auth"><username>victor</username></query></iq> * RECEIVED: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><register xmlns="http://jabber.org/features/iq-register" /><auth xmlns="http://jabber.org/features/iq-auth" /></stream:features> * RECEIVED: <stream:error><conflict xmlns="urn:ietf:params:xml:ns:xmpp-streams" /><text xmlns="urn:ietf:params:xml:ns:xmpp-streams" xml:lang="en">Disconnected</text></stream:error> ERROR: Remote Server Error And here is what it looks like when trying to connect to the old server (the 2nd and 3rd transmissions after "connection succeeded" seem to be key) -- the login goes without a hitch: SENT: <?xml version="1.0"?><stream:stream to="demo.askonline.net" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" /> SENT: <presence to="[email protected]/victor-admin"><x xmlns="http://jabber.org/protocol/muc" /></presence> Connection succeeded! RECEIVED: <?xml version='1.0'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="4F3E62CE" xmlns="jabber:client" from="demo.askonline.net" /> * SENT: <iq id="log_user_1" type="get"><query xmlns="jabber:iq:auth"><username>victor</username></query></iq> * RECEIVED: <iq id="log_user_1" type="result"><query xmlns="jabber:iq:auth"><username>victor</username><password /><resource /></query></iq> * SENT: <iq id="log_user2_3" type="set"><query xmlns="jabber:iq:auth"><password>***********</password><username>victor</username><resource>demo-Geometry-1643</resource></query></iq> Our Flash jabber client is very old, but it's the only one we got, so I need to make it work with the new jabber server. Can you guys see what my chat client is doing wrong? Should I post my jabber.xml, could that make the difference? _______________________________________________ JAdmin mailing list Info: http://mail.jabber.org/mailman/listinfo/jadmin Unsubscribe: [email protected] _______________________________________________