[JDEV] A question about the roster.

Seth Hartbecke gandalf at netins.net
Wed Jan 12 12:47:15 CST 2000


While developing my client things did work ok the first time or two...

...I am trying to remember what happend (I worked on it for some time
then decided that it was server related and moved on to other things.)

I will try to reproduce the error when I get home tonight...

Life would be so much easier if we could just look at the source code.

On Wed, 12 Jan 2000, Keith Minkler wrote:

> Sorry for the length of the this post and posting this here.. :) here are my
> logs from two clients connected, this verifies that everything works peachy
> keen..  if you look at your own logs, and find out why they differ, maybe
> this will help:
> (NOTE, the timestamps are in miliseconds, so you can look between A and B
> for the cronology)
> 
> ---------------------------------
> CLIENT A (DELME at jabber.org)
> ---------------------------------
> Connecting to "jabber.org"...
> (19150476)SENT: <?xml version="1.0" ?><stream:stream ...>
> (19150476)SENT: <iq type='set'><query
> xmlns="jabber:iq:auth">...</query></iq>
> (19514810)RCVD:<iq type='result'><query xmlns='jabber:iq:auth'/></iq>
> Connected to Server.
> GET ROSTER:
> (19515591)SENT: <iq type='get'><query xmlns='jabber:iq:roster'/></iq>
> SET ONLINE PRESENCE:
> (19515591)SENT: <presence/>
> RCV BLANK ROSTER:
> (19515812)RCVD:<iq type='result'><query xmlns='jabber:iq:roster'/></iq>
> SUBSCRIBE TO USER B (DELME2):
> (19599392)SENT: <presence type='subscribe' to='DELME2 at jabber.org'/>
> (19599392)SENT: <iq id='ignore0' type='set'><query
> xmlns='jabber:iq:roster'><item name='Delme2'
> jid='DELME2 at jabber.org'/></query></iq>
> RCVD ROSTER PUSH:
> (19599632)RCVD:<iq type='set'><query xmlns='jabber:iq:roster'><item
> jid='jabber:DELME2 at jabber.org' subscription='none'
> ask='subscribe'/></query></iq>
> (19599873)RCVD:<iq id='ignore0' type='result'><query
> xmlns='jabber:iq:roster'/></iq>
> RCVD: REPLY FROM B:
> (19601395)RCVD:<presence type='subscribed' from='jabber:DELME2 at jabber.org'/>
> AND ROSTER PUSH:
> (19601755)RCVD:<iq type='set'><query xmlns='jabber:iq:roster'><item
> jid='jabber:DELME2 at jabber.org' subscription='to'
> name='Delme2'/></query></iq><presence
> from='jabber:DELME2 at jabber.org/Jabba'/>
> RECIEVE SUB. REQUEST:
> (19622856)RCVD:<presence type='subscribe' from='jabber:DELME2 at jabber.org'/>
> ACCEPTED REQUEST:
> (19623897)SENT: <presence type='subscribed' to='jabber:DELME2 at jabber.org'/>
> GOT LAST ROSTER PUSH:
> (19624138)RCVD:<iq type='set'><query xmlns='jabber:iq:roster'><item
> jid='jabber:DELME2 at jabber.org' subscription='both'
> name='Delme2'/></query></iq>
> 
> 
> ----------------------------------------
> USER B (DELME2 at jabber.org)
> ----------------------------------------
> 
> Connecting to "jabber.org"...
> (19531635)SENT: <?xml version="1.0" ?><stream:stream ...>
> (19531635)SENT: <iq type='set'><query
> xmlns="jabber:iq:auth">...</query></iq>
> Connected to Server.
> (19531875)RCVD:<?xml version='1.0'?><stream:stream ...>
> (19532225)RCVD:<iq type='result'><query xmlns='jabber:iq:auth'/></iq>
> GET ROSTER:
> (19532926)SENT: <iq type='get'><query xmlns='jabber:iq:roster'/></iq>
> SET ONLINE PRESENCE:
> (19532926)SENT: <presence/>
> GOT BLANK ROSTER:
> (19533157)RCVD:<iq type='result'><query
> xmlns='jabber:iq:roster'></query></iq>
> (19544513)SENT: <iq id='ignore0' type='set'><query
> xmlns='jabber:iq:roster'><item subscription='remove'
> jid='jabber:DELME1 at jabber.org'/></query></iq>
> (19544753)RCVD:<iq id='ignore0' type='result'><query
> xmlns='jabber:iq:roster'/></iq>
> GOT SUB. REQUEST FROM A(DELME)
> (19599642)RCVD:<presence type='subscribe' from='jabber:DELME at jabber.org'/>
> SENT ACCEPT:
> (19601144)SENT: <presence type='subscribed' to='jabber:DELME at jabber.org'/>
> GOT ROSTER PUSH:
> (19601385)RCVD:<iq type='set'><query xmlns='jabber:iq:roster'><item
> jid='jabber:DELME at jabber.org' subscription='from'/></query></iq>
> SEND SUBSCRIBE REQUEST:
> (19622615)SENT: <presence type='subscribe' to='DELME at jabber.org'/>
> (19622615)SENT: <iq id='ignore1' type='set'><query
> xmlns='jabber:iq:roster'><item name='DELME'
> jid='DELME at jabber.org'/></query></iq>
> GOT ROSTER PUSH:
> (19622846)RCVD:<iq type='set'><query xmlns='jabber:iq:roster'><item
> jid='jabber:DELME at jabber.org' subscription='from'
> ask='subscribe'/></query></iq>
> (19623086)RCVD:<iq id='ignore1' type='result'><query
> xmlns='jabber:iq:roster'/></iq>
> GOT ACCEPT:
> (19624148)RCVD:<presence type='subscribed' from='jabber:DELME at jabber.org'/>
> AND LAST ROSTER PUSH:
> (19624488)RCVD:<iq type='set'><query xmlns='jabber:iq:roster'><item
> jid='jabber:DELME at jabber.org' subscription='both'
> name='DELME'/></query></iq><presence from='jabber:DELME at jabber.org/Jabba'/>
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 





More information about the JDev mailing list