Hi I am using openfire 4.3.2 and I am enabling stream management while connecting to openfire using
xmppConnection.setUseStreamManagement(true)
xmppConnection.setUseStreamManagementResumption(true)
and here are my Servers Properties
httpbind.CORS.domains *
httpbind.CORS.enabled true
httpbind.enabled true
httpbind.forwarded.enabled false
log.debug.enabled true
passwordKey hidden
plugin.callback_on_offline.debug true
plugin.callback_on_offline.send_body true
plugin.callback_on_offline.token 884d8014-006f-4495-8290-7b53801c8f89
plugin.callback_on_offline.url http://ec2-*-***-***-***.compute-1.amazonaws.com:3000/user/offline/message
plugin.userservice.secret WjVSdHFw
provider.admin.className org.jivesoftware.openfire.admin.DefaultAdminProvider
provider.auth.className org.jivesoftware.openfire.auth.DefaultAuthProvider
provider.group.className org.jivesoftware.openfire.group.DefaultGroupProvider
provider.lockout.className org.jivesoftware.openfire.lockout.DefaultLockOutProvider
provider.securityAudit.className org.jivesoftware.openfire.security.DefaultSecurityAuditProvider
provider.user.className org.jivesoftware.openfire.user.DefaultUserProvider
provider.vcard.className org.jivesoftware.openfire.vcard.DefaultVCardProvider
register.inband true
register.password hidden
sasl.mechs.00002 PLAIN
sasl.scram-sha-1.iteration-count 4096
update.lastCheck 1556532896226
xmpp.auth.anonymous true
xmpp.client.idle 600000
xmpp.client.idle.ping true
xmpp.domain 18.224.19.131
xmpp.filetransfer.enabled true
xmpp.server.session.allowmultiple false
xmpp.server.session.idle 600000
xmpp.server.session.timeout 600000
xmpp.session.conflict-limit 1
xmpp.socket.ssl.active true
here the issue if i suddenly got disconnected and at same time if some send me the message and i reconnect to ther server before the end of the session then i am not getting those messages any suggestion how can I solve this issue??
EDIT
I Found one thing If I didn’t close the app just close the network connection and after reconnecting to the internet all things work fine but if I closed the app message are not coming on time.