[Juser] Rerequest authorization "from" in out of sync situations
Robert.Wohlrab at gmx.de
Robert.Wohlrab at gmx.de
Tue Feb 9 15:43:51 CST 2010
Kev just asked me to post this question to the mailinglist as a reminder for him. Just parts of the conversation from muc:
[19:31:57] <Testoo> Kev: i have a small question about correct behaviour in situation when two server things differently in the subscriber situation
[19:32:35] <Testoo> lets say that myserver things that mr. x has the subscription status "both" for me
[19:33:15] <Testoo> and the otherrserver things that from is missing. so the user on otherserver ask for authorisation from
[19:34:08] <Testoo> should the server just grant it, ignore it or ask the user (even if the server things that the subscription status is from/to aka both already)
[19:51:43] <waqas> Testoo: http://xmpp.org/internet-drafts/draft-ietf-xmpp-3921bis-03.html#sub-request-inbound - seen point 3
[19:52:25] <waqas> In short, the server must auto-reply with a subscription approval.
[19:52:38] <Testoo> ok, then there is a problem somewhere between gmx and jabber.org
[19:53:01] <Testoo> today/yesterday some user send automatically a unsubscribe to all their contacts
[Annotation: the server send it automatically for the user when they were offline - not the users automatically]
[19:53:19] <Kev> Real users, or users that have been deleted?
[19:53:22] <Testoo> the server was gone for a while and afterward the rosters of the jabber.org user showed that everything was as it was before
[Annotation: as before == subscription was shown in psi as both]
[19:53:37] <Kev> Ah.
[19:53:44] <Kev> When did they last log in before today?
[19:53:48] <Testoo> the users existed after the server was online again
[Annotation: existed == subscription was "both" in psi]
[19:53:53] <rjhall> waqas: i think it's should, not must ...
[19:54:01] *rjhall was reading the rfc earlier today
[19:54:02] <Testoo> hard to say, maybe a day ago
[19:54:14] <Kev> rjhall: on the public network they're close to equivalent.
[19:54:48] <Testoo> nevertheless, the users on gmx could send a "request for authorisation from" but nothing happens
[Annotation: the status where shown on the gmx site differently to the jabber.org site - like when the jabber.org site cancelled the subscription and deleted the gmx-contact in the roster of the jabber.org user]
[19:55:12] <Testoo> nothing reached the user and the gmx server also didn't marked them correctly as both aka from/to
[Annotation: so i would assume that the server didn't answered correctly or the gmx server didn't reacted correctly]
[19:55:48] <Testoo> the only thing which helped was that the jabber.org user deleted the contact and then either the gmx or the jabber.org user readded the contact
[19:56:11] <waqas> rjhall: I was reading the bis draft, in which it's a MUST.
[19:56:12] <Testoo> it didn't help when the gmx user deleted the contact
I don't have a log of the situation where gmx only thinks that the jabber.org user deleted his contact, but the situation where the gmx user tries to remove the contact and readds it (no action by the jabber.org user - he still thinks that the subscription is both):
<presence type="subscribe" to="anonymous at jabber.org" >
<iq from="mousanony at gmx.de/Psi" type="set" to="mousanony at gmx.de/Psi" id="push" >
<item subscription="none" ask="subscribe" name="Mouse" jid="anonymous at jabber.org" >
<iq type="result" to="mousanony at gmx.de/Psi" id="push" />
<iq from="mousanony at gmx.de/Psi" type="result" xml:lang="en" to="mousanony at gmx.de/Psi" id="push" />
More information about the JUser