Message archiving - Monitoring plugin - conversation count is 0 always

I am using Openfire 3.9.3 and Monitoring plugin 1.4.2 (I read that XEP 0136 which was earlier in Openarchive is also integrated in this). I am using the Strophe.archive.js javascript functions to query and retrieve the messages. I have enabled archiving feature and turned on the one-to-one chat archiving in the Openfire admin portal.

The xml sent is:

  1. <set xmlns='[http://jabber.org/protocol/rsm](http://jabber.org/protocol/rsm)'>
    
  2.   <max>10</max>
    
  3. </set>
    
  4. The reply that I am getting from the server is:
  5. <iq xmlns='jabber:client' type='result' id='4:list' to='user@server/resource'> <list xmlns='urn:xmpp:archive'> <set xmlns='[http://jabber.org/protocol/rsm](http://jabber.org/protocol/rsm)'> <count>0</count> </set> </list> </iq>
    I am able to view the conversations on the admin portal but the query always returns the count as 0. I tried without the max value of 10 too and that didn’t change the result. Please help me fix this issue.