I am using Openfire , in my applications on Ios platform and android Platform stream management works perfectly also on open fire it is active , but in my web site i am unable to enable stream management , my openfire configuration is same in all platform , i am using openfire 4.7.4. strophe.js library also used plugin for enable stream management but not working , give me solution
i sent iq as below and got error stanza as below, it shows service not available even if it is active on open fire and both ios and android platform it is Working
sent IQ
const iq = $iq({
type: “set”,
id: “enable-sm”,
}).c(“enable”, {
xmlns: “urn:xmpp:sm:3”,
});
received error stanza
Failed to enable Stream Management: <iq xmlns="jabber:client" type="error" id="enable-sm" to="591@xyz.com/Web-a8423f91-1710-4927-8e38-825a4af10a4d"><enable xmlns="urn:xmpp:sm:3"><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">
please give me solution