Closed NtTestAlert closed 4 years ago
@NtTestAlert which ejabberd version? can you share the output of https://github.com/xmppjs/xmpp.js/tree/master/packages/debug ?
Can you also share your code? At least the part that triggers the connection and MAM query.
nevermind I undestood the issue. Sorry I overlooked the XEP. On it.
Thanks for the bug report https://github.com/xmppjs/xmpp.js/pull/823
released 0.11.1
versions 0.10.0, 0.11.0
If another stanza is received after sending (for example re-sent due to resuming session...) the entire connection crashes.
https://xmpp.org/extensions/xep-0198.html does not guarantee the order, it just states that the server MUST reply with or , and how could it guarantee the order in which the client processes the incoming messages if some are pending? This breaks the entire client for ejabberd.
problematic code in package stream-management:
sample error:
the only way to fix it is to comment out the module by hand