【问题标题】:Unable to retrieve archive messages from openfire无法从 openfire 检索存档消息
【发布时间】:2013-12-21 12:14:33
【问题描述】:

我已在服务器中配置启用消息审核

这是我传递给 Openfire Server 的节

<body rid='754080999' xmlns='http://jabber.org/protocol/httpbind' sid='8e08a428'><iq id='zob_5' type='get' xmlns='jabber:client'><list with='sampath@sampath.efycaci.com/js' start='2013-12-20T11:21:46Z' xmlns='urn:xmpp:archive'><set xmlns='http://jabber.org/protocol/rsm'><before/><max>2</max></set></list></iq></body>

这是我从服务器收到的结果

<body xmlns='http://jabber.org/protocol/httpbind'>
 <iq xmlns="jabber:client" type="error" id="zob_5" to="arun@sampath.efycaci.com/js">
      <list xmlns="urn:xmpp:archive" with="sampath@sampath.efycaci.com/js" start="2013-12-20T11:21:46Z">
           <set xmlns="http://jabber.org/protocol/rsm"><before/>
                <max>2</max>
           </set>
      </list>
       <error code="503" type="cancel">
           <service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
      </error>
 </iq>

我无法从 openfire 检索存档消息。请帮助解决此问题。

我使用的是 Openfire 3.8.2。

提前致谢

【问题讨论】:

    标签: openfire


    【解决方案1】:

    getSearchForm returns null when using UserSearch in XMPP with aSmack 这个链接会有所帮助。尝试将 configure(ProviderManager pm) 功能添加到您的项目中

    【讨论】:

      猜你喜欢
      • 2012-07-08
      • 2012-12-19
      • 2013-10-27
      • 2016-12-26
      • 2012-01-03
      • 2021-06-26
      • 1970-01-01
      • 2016-07-07
      相关资源
      最近更新 更多