AnsweredAssumed Answered

querying active subscriptions in the notification mechanism

Question asked by stephan.steiner on Jan 29, 2016
Latest reply on Feb 29, 2016 by dekwan



Since subscriptions are persistent, I figured I'd try to query if I'm already subscribed to a node after connecting. While I do get a response, it is always 403, even when I query the user I'm logged in with.


Am I doing something wrong or is querying the subscription list not supported (and if not.. what's the workaround.. after all applications may crash and you have to clear up things without rebooting the entire cluster).


Here's the request and answer that go over the wire


<iq id="MX_15" type="get" to="pubsub.chdevuccx105.nxodev.intra"><pubsub xmlns=""><subscriptions node="/finesse/api/User/lsste" /></pubsub></iq>

<iq type="error" id="MX_15" from="pubsub.chdevuccx105.nxodev.intra" to="lsste@chdevuccx105.nxodev.intra/MatriX"><pubsub xmlns=""><subscriptions node="/finesse/api/User/lsste"/></pubsub><error code="403" type="auth"><forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>