| Issue 13: | Unknown bug in pubsub Openfire | |
| 1 person starred this issue and may be notified of changes. | Back to list |
An unknown bug somewhere, probably in Openfire, causes the subscriber to recieve publications twice. Only the windows and linux versions of Openfire seem to be affected. When running all code on linux and using an Openfire server that is running on a mac, everything works as expected. Expected: the subscriber should recieve the testresult only once. What happens: the subscriber recieves the testresult two times, with a different "to" in the message header. Example of an unexpected result: <message from="pubsub.localhost" to="kinti@localhost/buckets/logger" id="kinti/runner/results__kinti@localhost__928Aj"><event xmlns="http://jabber.org/protocol/pubsub#event"><items node="kinti/runner/results"><item id="tag:kinti.code.google.com,1204628288"><result xmlns="">{u\'ftp\': u\'Plugin ftp cannot be loaded\', u\'ping\': True}</result></item></items></event><headers xmlns="http://jabber.org/protocol/shim"><header name="pubsub#subid">N640OVNaTa0fP7O13VYtdsVicGFd8Rnrzi44YgCm</header></headers></message> <message from="pubsub.localhost" to="kinti@localhost" id="kinti/runner/results__kinti@localhost__JPGAM"><event xmlns="http://jabber.org/protocol/pubsub#event"><items node="kinti/runner/results"><item id="tag:kinti.code.google.com,1204628288"><result xmlns="">{u\'ftp\': u\'Plugin ftp cannot be loaded\', u\'ping\': True}</result></item></items></event><headers xmlns="http://jabber.org/protocol/shim"><header name="pubsub#subid">SVm3g8vMnimm4aba2jh26YXTG8dxA29jC6nEFS30</header></headers></message> Workaround: check the "to"-header and process only relevant messages, therefore discarding the second message.
Mar 4, 2008
Project Member
#1
Moeh...@gmail.com
Status:
Duplicate
|