powered by Jive Software

Subscription plugin problem

I’‘ve been having a problem with the presence of my clients, and I think I’'ve narrowed it down.

Using 3.2.4 on a windows or linux box, with the subscription plugin installed.

with a local user database

I have manually created two users (A and B)

A logs in using Pandion

B logs in using ipworks activeX control, and tries to subscribe to A.

If subscription is turned off (disabled), A gets an “authorise request” message. Press yes, and B sees A changing presence.

If subscription is turned on (Accepts, and ALL option checked), A does not get an “authorise request” message, but B never sees A changing presence.

Anyone else hit this problem ? I can reproduce this on more than one different server.

I can verify this with wildfire 3.2.2 using PSI as client.

Hey guys,

I just verified the code of the subscription plugin and the problem is in the plugin. The plugin is overriding the entire presence handling on the server. This creates several problems where the one you are reporting is just one. I’'m now fixing the plugin and the new version will be available with Openfire 3.3.0 to be released this week.


– Gato

Hey Gato,

Thanks for taking care of that. I apologize for not seeing this post.

Thanks again,


Hey Ryan,

No problem. There is a difference now in how the plugin will work. In the old version when userA added userB to his roster no matter userB’'s presence the subscription was accepted. In the new version the presence subscription will be accepted when userB comes online. If he is online then it will be automatically accepted. Otherwise the server will store the subscription request and accept it when the user comes online. This happens since now the plugin is intercepting outgoing packets before they are actually processed. By intercepting outgoing packets we are giving the server the chance to update rosters based on subscription requests.


– Gato

I am still experiencing the presence issue with the subscription plugin on Openfire 3.3.0


Hi Gato,

I’'ve seen a related problem with 3.3.0, using the latest subscription plugin.

Here is the behaviour I am seeing:

User A is online, User B is offline.

A sends a presence subscribe request to B. B is added to A’'s roster list.

A then sends a presence unsubscribe request to B - but B has not logged in yet to have the subscribe auto-accepted The unsubscribe is ignored, and B is not marked as ask=“unsubscribe” from A’'s roster list.

I have tried having A send a Roster “remove” IQ request, but that wipes out subscriptions in both directions.

Is there a way for A to cancel the subscription request, without affecting B’'s subscribed roster list?

Message was edited by: MRunge