Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
jmanley #1
Member since Aug 2008 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: Presence updates not coming to client
I'm running Openfire v3.5.2 (latest) on Windows Server 2003 and for most of the clients, I'm using Spark v2.5.8 (latest) on Windows XP.
I've got the latest agsXMPP.dll and I'm trying to build a client for Windows Mobile 6 (I'm building it on the Windows Mobile 5 platform right now, but running it on 6.1).  My device is HTC Mogul (latest ROM), and I'm connecting through Sprint and also connecting through ActiveSync into my local network.

I've got other clients that seem to work fine on my device (OctroTalk, Mundu, etc)... (and I'm writing this one because those are all bloated and provide way more than just a simple XMPP client).

Ok... so, you've got all the background.  Here's my problem.

I log on to Spark on my desktop as jmanley@xxxxxxx.com and I log onto my mobile as administrator@xxxxxxx.com ... both clients see each other no problem.  I can send messages back and forth... no problem.  I can set status on mobile and it goes to desktop, no problem.  However, when I set status on the desktop, it doesn't go to the client (agsXMPP)...

I've tried using the example projects for both miniClientWM5 and MiniClientVB... log onto the agsXMPP as administrator@xxxxxxx.com... always the same problem.

Now, I'm sure that I can send a presence request from time to time and get the current status of all my subscriptions, but I really only want them when the status changes (and automatically).

So... after some investigating, I found out that the server isn't sending the presence update from jmanley@xxxxxxx.com to administrator@xxxxxxx.com, but is sending that presence to everybody else.  On Openfire, I turned on the logging of Presence notifications and I'll attach the dump in the next post (10,000 character per post limit).  However, what you'll see is that the server is sending a presence packet to everybody but administrator@xxxxxxx.com (even though the server reports administrator@xxxxxxx.com as logged in, and the subscription between jmanley@xxxxxxx.com and administrator@xxxxxxx.com is BOTH).

Is there a setting someplace, or something that we're not telling the server to let the server know that I want all presence notifications for my subscriptions?

I'd attach code, but as I said, I have the same problem with the packaged samples in the SDK (VS2005 MiniClientVB and MiniClientWM5).  I'd think that it would be a setting on the server, but I can't find anything, so I'm thinking that the client might just not be telling the server "Hey... It's ok if you send me Presence packets from my subscriptions... I'd like to not have to ask for it every second or so"
Avatar
jmanley #2
Member since Aug 2008 · 4 posts
Group memberships: Members
Show profile · Link to this post
<jive xmlns="http://www.jivesoftware.org">
<packet xmlns="http://www.jivesoftware.org" streamID="5caccc24" status="auth" timestamp="Aug 21, 2008 10:47:01:926 AM"><presence xmlns="" id="DSLz3-70" to="support@workgroup.xxxxxxx.com" from="jmanley@xxxxxxx.com/spark"><status>Away</status><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" status="unknown" timestamp="Aug 21, 2008 10:47:01:926 AM"><presence xmlns="" from="support@workgroup.xxxxxxx.com/Default Queue" to="jmanley@xxxxxxx.com/spark"><notify-queue xmlns="http://jabber.org/protocol/workgroup"><count>0</count><time>19</time><status>open</status></notify-queue></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="5caccc24" status="auth" timestamp="Aug 21, 2008 10:47:01:926 AM"><presence xmlns="" from="support@workgroup.xxxxxxx.com/Default Queue" to="jmanley@xxxxxxx.com/spark"><notify-queue xmlns="http://jabber.org/protocol/workgroup"><count>0</count><time>19</time><status>open</status></notify-queue></presence></packet>
<packet xmlns="http://www.jivesoftware.org" status="unknown" timestamp="Aug 21, 2008 10:47:01:926 AM"><presence xmlns="" from="support@workgroup.xxxxxxx.com/Default Queue" to="jmanley@xxxxxxx.com/spark"><notify-queue-details xmlns="http://jabber.org/protocol/workgroup"/></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="5caccc24" status="auth" timestamp="Aug 21, 2008 10:47:01:926 AM"><presence xmlns="" from="support@workgroup.xxxxxxx.com/Default Queue" to="jmanley@xxxxxxx.com/spark"><notify-queue-details xmlns="http://jabber.org/protocol/workgroup"/></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="5caccc24" status="auth" timestamp="Aug 21, 2008 10:47:01:926 AM"><presence xmlns="" id="DSLz3-70" to="radkins@xxxxxxx.com/spark" from="jmanley@xxxxxxx.com/spark"><status>Away</status><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x><agent-status xmlns="http://jabber.org/protocol/workgroup" jid="support@workgroup.xxxxxxx.com"><max-chats>4</max-chats><current-chats xmlns="http://jivesoftware.com/protocol/workgroup"/></agent-status></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="ad21e31d" status="auth" timestamp="Aug 21, 2008 10:47:01:926 AM"><presence xmlns="" id="DSLz3-70" to="radkins@xxxxxxx.com/spark" from="jmanley@xxxxxxx.com/spark"><status>Away</status><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x><agent-status xmlns="http://jabber.org/protocol/workgroup" jid="support@workgroup.xxxxxxx.com"><max-chats>4</max-chats><current-chats xmlns="http://jivesoftware.com/protocol/workgroup"/></agent-status></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="5caccc24" status="auth" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-71" to="aim.xxxxxxx.com" from="jmanley@xxxxxxx.com/spark"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" status="unknown" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" to="jmanley@xxxxxxx.com" from="aim.xxxxxxx.com"><show>away</show><status>Away</status></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="5caccc24" status="auth" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" to="jmanley@xxxxxxx.com" from="aim.xxxxxxx.com"><show>away</show><status>Away</status></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="5caccc24" status="auth" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" from="jmanley@xxxxxxx.com/spark"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="11fbb282" status="auth" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" from="jmanley@xxxxxxx.com/spark" to="jproudfoot@xxxxxxx.com"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="1dffbc74" status="auth" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" from="jmanley@xxxxxxx.com/spark" to="tmhewitt@xxxxxxx.com"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="a8ee9d6a" status="connected" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" to="jgoff@hkbtsa.com"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="3c257328" status="auth" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" from="jmanley@xxxxxxx.com/spark" to="bcorob@xxxxxxx.com"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="1713893a" status="auth" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" from="jmanley@xxxxxxx.com/spark" to="bbryson@xxxxxxx.com"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="a8ee9d6a" status="connected" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" to="cboyle@hkbtsa.com"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="ad21e31d" status="auth" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" from="jmanley@xxxxxxx.com/spark" to="radkins@xxxxxxx.com"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="a8ee9d6a" status="connected" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" to="ssiadmin@hkbtsa.com"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="5572293f" status="auth" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" from="jmanley@xxxxxxx.com/spark" to="jfeather@xxxxxxx.com"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="a0019977" status="auth" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" from="jmanley@xxxxxxx.com/spark" to="sslagle@xxxxxxx.com"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="a8ee9d6a" status="connected" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" to="langel@hkbtsa.com"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
<packet xmlns="http://www.jivesoftware.org" streamID="e1430da" status="auth" timestamp="Aug 21, 2008 10:47:01:941 AM"><presence xmlns="" id="DSLz3-66" from="jmanley@xxxxxxx.com/spark" to="mcmanley@xxxxxxx.com"><status>Away</status><priority>0</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>39817ab729c5ca481ab0678418a3fddea9b94d92</photo></x><x xmlns="jabber:x:avatar"><hash>39817ab729c5ca481ab0678418a3fddea9b94d92</hash></x></presence></packet>
Avatar
jmanley #3
Member since Aug 2008 · 4 posts
Group memberships: Members
Show profile · Link to this post
nevermind?  I don't know what's going on, but I think it's a problem with my server or I tried too much stuff at once and got it all confused.

I flushed the cache on the server (through the web admin) and then restarted Openfire and now everything works like it's supposed to...
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