ejabberd - Comments for "Stream management, mod_mam and mod_offline usage" https://www.ejabberd.im/forum/25553/stream-management-modmam-and-modoffline-usage en In web console ejabberd for https://www.ejabberd.im/forum/25553/stream-management-modmam-and-modoffline-usage#comment-67011 <p>In web console ejabberd for ejabberd_c2s module(port 5222) options are :</p> <div class="codeblock"><code>[{resend_on_timeout, if_offline},<br /> {resume_timeout, 30},<br /> {stream_management, true},<br /> {access, c2s}, {shaper, c2s_shaper},<br /> {max_stanza_size, 65536},<br /> {starttls_required, true},<br /> {starttls, true},</code></div> <p>So, this means that options specified in the true place, there are no typo and ejabberd was restarted.<br /> Am I right?</p> Tue, 23 Aug 2016 13:22:25 +0000 ejabberdadmin comment 67011 at https://www.ejabberd.im A User session terminated https://www.ejabberd.im/forum/25553/stream-management-modmam-and-modoffline-usage#comment-67005 <p>A <code>User session terminated</code> error is <noindex><a href="https://github.com/processone/ejabberd/blob/16.08/src/ejabberd_c2s.erl#L2926" rel="nofollow" >definitely</a></noindex> not returned for any message stanza if <code>resend_on_timeout</code> is set to <code>true</code>. So this option is not actually set for the c2s listener you're using, but I can't tell you why. Either it's specified in the wrong place, or there's a typo, or ejabberd wasn't restarted after modifying the option, or something like that.</p> Mon, 22 Aug 2016 19:06:27 +0000 holger comment 67005 at https://www.ejabberd.im According to faq( https://www.ejabberd.im/forum/25553/stream-management-modmam-and-modoffline-usage#comment-67004 <p>According to faq( <a href="https://www.ejabberd.im/faq/tcp" title="https://www.ejabberd.im/faq/tcp">https://www.ejabberd.im/faq/tcp</a> ) I have to set option resend_on_timeout to true or if_offline. I tried it. Previous result.<br /> Any help?</p> Mon, 22 Aug 2016 16:30:36 +0000 ejabberdadmin comment 67004 at https://www.ejabberd.im