1

I'm using smack 4.2.0 with eJabbered for presence management
everything works well but after a while, available users become unavailable.

if I'm trying to get the presence from the roster the presence is correct (availble)

I get this in the stanza message:

<presence to=‘XXXX’ from=‘XXXX’ type=‘unavailable’><status xml:lang=‘en’>Stream closed by us: Timed out waiting for stream resumption (connection-timeout)</status></presence>

I've searched a lot but didn't find anything on this.

Thank you for giving your time

dvrm
  • 3,749
  • 4
  • 34
  • 43
  • it seems TCP/IP connection getting lost. enable mod_ping on ejabberd server and also set stream resume_timeout and resend_on_timeout: true. – Sunil Singh Nov 14 '18 at 08:01
  • This post may help you: [Ejabberd with stream management](https://stackoverflow.com/questions/28803743/ejabberd-with-stream-management-xep-198-not-using-offline-message-hook). – Mahdi Moqadasi Nov 20 '18 at 06:04

0 Answers0