Hi,
I've tried to implement the tune PEP example of the XEP-0163 specification. Is it possible that PEP notifications in ejabberd 2.1.5 and 2.1.4 are not working? I've published some events, but the owner and the subscribers did not receive any notifications. According to XEP-0163: "PEP services must send notifications to the account owner, you too receive the notification at each of your resources." I do not modify the config of the ejabberd server except of increasing max_items_node.
The disco#info response to the full JID of the PEP node owner is:
<iq id="sfs934345" to="localhost" type="result">
<query xmlns="http://jabber.org/protocol/disco#info node="https://www.foo.com#ByKLmwGd3iP7t511lAeJoRYj0rw=">
<identity category="client" name="efg" type="pc"/>
<feature var="http://jabber.org/protocol/caps"/>
<feature var="http://jabber.org/protocol/tune"/>
<feature var="http://jabber.org/protocol/tune+notify"/>
<feature var="http://jabber.org/protocol/disco#info"/>
<feature var="http://jabber.org/protocol/disco#items"/>
</query>
</iq>
My outgoing presence is:
<presence id="U4534-3">
<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.foo.com' ver='ByKLmwGd3iP7t511lAeJoRYj0rw='/>
</presence>
I've run the same example on ejabberd 2.0.5 and all works perfect!
Can anybody please help me or clarify if PEP notfications are currently working or not!
Thanks in advance!
Re: PEP notifications not working!?
I've computed your disco in ejabberd and got "RZ6z1zGpEKUKt2GndQcLwRucq+w=". So ejabberd ignores your disco info, thus you don't receive PEP notifications.
Tanks a lot! You are right.
Tanks a lot! You are right. The caps extension was missing when calculating the verification string. Why is it not possible to receive all PEP notifications?
Re: PEP notifications not working!?
This is disco cache poisoning protection. Please read XEP-0115 carefully.
The same problem here
My client have those features:
<identity category="client" type="mobile" name="eyeCU 0.1" />
<feature var="http://jabber.org/protocol/activity" />
<feature var="http://jabber.org/protocol/activity+notify" />
<feature var="http://jabber.org/protocol/bytestreams" />
<feature var="http://jabber.org/protocol/chatstates" />
<feature var="http://jabber.org/protocol/disco#info" />
<feature var="http://jabber.org/protocol/geoloc" />
<feature var="http://jabber.org/protocol/geoloc+notify" />
<feature var="http://jabber.org/protocol/ibb" />
<feature var="http://jabber.org/protocol/mood" />
<feature var="http://jabber.org/protocol/mood+notify" />
<feature var="http://jabber.org/protocol/muc" />
<feature var="http://jabber.org/protocol/si" />
<feature var="http://jabber.org/protocol/si/profile/file-transfer" />
<feature var="http://jabber.org/protocol/tune" />
<feature var="http://jabber.org/protocol/tune+notify" />
<feature var="jabber:x:data" />
<feature var="jabber:x:oob" />
<feature var="jabber:iq:last" />
<feature var="jabber:iq:oob" />
<feature var="jabber:iq:time" />
<feature var="jabber:iq:version" />
<feature var="urn:xmpp:attention:0" />
<feature var="urn:xmpp:avatar:data" />
<feature var="urn:xmpp:avatar:metadata" />
<feature var="urn:xmpp:avatar:metadata+notify" />
<feature var="urn:xmpp:ping" />
<feature var="urn:xmpp:receipts" />
<feature var="urn:xmpp:time" />
So, S is:
client/mobile//eyeCU 0.1<http://jabber.org/protocol/activity<http://jabber.org/protocol/activity+notify<http://jabber.org/protocol/bytestreams<http://jabber.org/protocol/chatstates<http://jabber.org/protocol/disco#info<http://jabber.org/protocol/geoloc<http://jabber.org/protocol/geoloc+notify<http://jabber.org/protocol/ibb<http://jabber.org/protocol/mood<http://jabber.org/protocol/mood+notify<http://jabber.org/protocol/muc<http://jabber.org/protocol/si<http://jabber.org/protocol/si/profile/file-transfer<http://jabber.org/protocol/tune<http://jabber.org/protocol/tune+notify<jabber:x:data<jabber:x:oob<jabber:iq:last<jabber:iq:oob<jabber:iq:time<jabber:iq:version<urn:xmpp:attention:0<urn:xmpp:avatar:data<urn:xmpp:avatar:metadata<urn:xmpp:avatar:metadata+notify<urn:xmpp:ping<urn:xmpp:receipts<urn:xmpp:time<
And, SHA-1, I've calculated is:
I57R3+FVbzuQ6v4ZzEd5A5uJkdU=
The presence is:
<presence from="admin@akio/eyeCU" xml:lang="en" to="admin@akio/akio" >
<c xmlns="http://jabber.org/protocol/caps" node="http://eyecu.ru/caps" ver="I57R3+FVbzuQ6v4ZzEd5A5uJkdU=" hash="sha-1" />
<x xmlns="vcard-temp:x:update">
<photo/>
</x>
</presence>
PEP notifications do not work. What am I doing wrong?