Autoping connection_support false negative #40
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The connection_supports(XMPP_FEATURE_PING) check in the autoping logic intermittently returns FALSE despite the server supporting the ping feature. This falsely triggers prefs_set_autoping(0) and an early return, disabling autoping and preventing further pings.
Root cause likely stems from timing issues, incomplete stream feature parsing, or other XMPP stream handling problems, as observed in production logs.
Impact
Unreliable connection health monitoring due to unexpected autoping disables.
Repeated user-facing error messages without diagnostics.
Intermittent nature makes it hard to reproduce consistently.
Steps to Reproduce
Proposed Solution
Additional Context
jabber.developer referenced this issue2025-10-14 09:49:36 +00:00
Hotfix deployed: #41
The bug has just randomly reproduced.
It is caused by AntiSpam plugin.
prof: DBG: [AntiSpam] Blocked stanza: <iq id="discoitemsreq_onconnect" type="result" toThe issue is not related to AntiSpam plugin and is occasionally reproducible on clean installations.