PubSub services discovery issue?

Issue #79 closed
jjoannes created an issue

Not sure at all whether the issue is in Babbler or in my XMPP server (Tigase) but when I try to discover the PubSub services all I get is an empty list. Here are the traces:

IN : <iq from="lh6kl662" id="43e9c3ba-9b6a-4c3f-890b-39f16976643f" to="activation@lh6kl662/res" type="result"><query xmlns="http://jabber.org/protocol/disco#items"><item jid="proxy@lh6kl662" name="Socks5 Bytestreams Service"></item><item jid="muc.lh6kl662" name="Multi User Chat"></item><item jid="pubsub.lh6kl662" name="PubSub"></item></query></iq>
OUT: <iq id="e9efa5f7-3090-45c4-8bcd-0a3928c18d8b" to="proxy@lh6kl662" type="get"><query xmlns="http://jabber.org/protocol/disco#info"></query></iq>
OUT: <iq id="8c7e6091-4867-4050-a627-5f5497ce4173" to="muc.lh6kl662" type="get"><query xmlns="http://jabber.org/protocol/disco#info"></query></iq>
OUT: <iq id="759fdb94-075e-4c04-84f5-d1b701bca5e0" to="pubsub.lh6kl662" type="get"><query xmlns="http://jabber.org/protocol/disco#info"></query></iq>
IN : <iq from="proxy@lh6kl662" id="e9efa5f7-3090-45c4-8bcd-0a3928c18d8b" to="activation@lh6kl662/res" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="proxy" type="bytestreams" name="Socks5 Bytestreams Service"></identity><feature var="http://jabber.org/protocol/bytestreams"></feature><feature var="http://jabber.org/protocol/commands"></feature></query></iq>
IN : <iq from="muc.lh6kl662" id="8c7e6091-4867-4050-a627-5f5497ce4173" to="activation@lh6kl662/res" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="conference" type="text" name="Multi User Chat"></identity><feature var="http://jabber.org/protocol/commands"></feature><feature var="http://jabber.org/protocol/muc"></feature><feature var="jabber:iq:version"></feature><feature var="urn:xmpp:ping"></feature></query></iq>
IN : <iq from="pubsub.lh6kl662" id="759fdb94-075e-4c04-84f5-d1b701bca5e0" to="activation@lh6kl662/res" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="pubsub" type="service" name="Publish-Subscribe"></identity><feature var="http://jabber.org/protocol/commands"></feature><feature var="http://jabber.org/protocol/pubsub#access-authorize"></feature><feature var="http://jabber.org/protocol/pubsub#access-open"></feature><feature var="http://jabber.org/protocol/pubsub#access-presence"></feature><feature var="http://jabber.org/protocol/pubsub#access-roster"></feature><feature var="http://jabber.org/protocol/pubsub#access-whitelist"></feature><feature var="http://jabber.org/protocol/pubsub#auto-subscribe"></feature><feature var="http://jabber.org/protocol/pubsub#collections"></feature><feature var="http://jabber.org/protocol/pubsub#config-node"></feature><feature var="http://jabber.org/protocol/pubsub#create-and-configure"></feature><feature var="http://jabber.org/protocol/pubsub#create-nodes"></feature><feature var="http://jabber.org/protocol/pubsub#delete-nodes"></feature><feature var="http://jabber.org/protocol/pubsub#get-pending"></feature><feature var="http://jabber.org/protocol/pubsub#instant-nodes"></feature><feature var="http://jabber.org/protocol/pubsub#manage-subscriptions"></feature><feature var="http://jabber.org/protocol/pubsub#member-affiliation"></feature><feature var="http://jabber.org/protocol/pubsub#modify-affiliations"></feature><feature var="http://jabber.org/protocol/pubsub#multi-collection"></feature><feature var="http://jabber.org/protocol/pubsub#outcast-affiliation"></feature><feature var="http://jabber.org/protocol/pubsub#presence-notifications"></feature><feature var="http://jabber.org/protocol/pubsub#publish"></feature><feature var="http://jabber.org/protocol/pubsub#publisher-affiliation"></feature><feature var="http://jabber.org/protocol/pubsub#purge-nodes"></feature><feature var="http://jabber.org/protocol/pubsub#retract-items"></feature><feature var="http://jabber.org/protocol/pubsub#retrieve-affiliations"></feature><feature var="http://jabber.org/protocol/pubsub#retrieve-default"></feature><feature var="http://jabber.org/protocol/pubsub#retrieve-items"></feature><feature var="http://jabber.org/protocol/pubsub#retrieve-subscriptions"></feature><feature var="http://jabber.org/protocol/pubsub#subscribe"></feature><feature var="http://jabber.org/protocol/pubsub#subscription-notifications"></feature><feature var="tigase:pubsub:1"></feature><feature var="urn:xmpp:ping"></feature></query></iq>

The code:

        Collection<PubSubService> pubSubServices =
            pubSubManager.discoverPubSubServices().getResult();

Comments (5)

  1. Log in to comment