I have installed Openfire version 4.2.3, Monitoring Service plugin version 1.6.1, REST API plugin version 1.3.1. With this set up client apps (iOS and android devices) working fine till Nov 19 (Almost more than 2 years working functionality).
Now issue i notice for duplicate message,
When i send message from one client to other then openfire monitoring service add 2 entries in my SQL server in OfArchive table and OfOffline table. So other end client received two entries. If you logout from app and re-login then using Rest API i fetched all records from archive table and display into my list then ofline table entry sync with my app and same message repeating.
Issue of triplicate message
This issue behaviour same like duplicate message but difference is open fire sometimes send same message using delay keyword in xml stanza example below,
<message xmlns="jabber:client" to="firstname.lastname@example.org" id="Sf98R-12" type="chat" from="email@example.com/Android"> <body>ok test 2</body> <thread>0bbda259-2324-46a1-b054-891932151919</thread> <delay xmlns="urn:xmpp:delay" from="mydomain.com" stamp="2019-11-29T10:22:56.229Z"></delay> </message>
So delay message sync after sometimes.
It’s all inconsistent behaviour but frequently happened.
In short of story i facing following issues,
- Duplicate/Triplicate message
- Delay message