#1887 Error in mod_presenece

Reporter Zash
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Milestone-0.13
  • Priority-Medium
  • Type-Defect
  • Status-Accepted
  1. Zash on

    Prosody version trunk nightly build 1932 (2024-11-17, 59dacbd637c2) Nov 21 01:03:14 c2s55c13ea7e210 debug Received[c2s]: <presence type='unavailable' xml:lang='en' id='371267b2-da5e-44ad-ab65-69569936bb91'> Nov 21 01:03:14 mod_firewall::preroute debug Chain "user/pass_acceptable" accepted stanza (ret false) Nov 21 01:03:14 c2s55c13ea7e210 debug Presence from user@example.com/dino.c13c5796 without caps received, skipping Nov 21 01:03:14 mod_firewall::deliver debug Chain "user/pass_acceptable" accepted stanza (ret false) Nov 21 01:03:14 c2s55c13ea7e210 debug Sending[c2s]: <presence id='371267b2-da5e-44ad-ab65-69569936bb91' type='unavailable' from='user@example.com/dino.c13c5796' xml:lang='en'> Nov 21 01:03:14 connZdeQx59dv7mB debug Sent [0.0] out of 120 buffered bytes Nov 21 01:03:14 c2s55c13ea7e210 info Client disconnected: System error Nov 21 01:03:14 c2s55c13ea7e210 debug Unbinding resource for user@example.com/dino.c13c5796 (user@example.com): System error Nov 21 01:03:14 connZdeQx59dv7mB debug Unregistered from poller Nov 21 01:03:14 c2s55c13ea7e210 debug Error writing to connection: System error Nov 21 01:03:14 c2s55c13ea7e210 error Traceback[presence/bare 7Xdi2kQW9tPd] "/usr/lib/prosody/modules/mod_presence.lua:62: attempt to concatenate a nil value (local \'host\')" while processing <presence type="unavailable" id="371267b2-da5e-44ad-ab65-69569936bb91"> stack traceback: /usr/lib/prosody/modules/mod_presence.lua:62: in global 'handle_normal_presence' /usr/lib/prosody/modules/mod_presence.lua:329: in field '?' /usr/share/lua/5.4/prosody/util/events.lua:81: in function </usr/share/lua/5.4/prosody/util/events.lua:77> (...tail calls...) [C]: in function 'xpcall' /usr/src/prosody-modules-zash/mod_protect.lua:29: in function </usr/src/prosody-modules-zash/mod_protect.lua:16> (...tail calls...) /usr/share/lua/5.4/prosody/core/stanza_router.lua:188: in upvalue 'core_post_stanza' /usr/share/lua/5.4/prosody/core/stanza_router.lua:128: in upvalue 'core_process_stanza' /usr/lib/prosody/modules/mod_c2s.lua:355: in upvalue 'func' /usr/share/lua/5.4/prosody/util/async.lua:149: in function </usr/share/lua/5.4/prosody/util/async.lua:147> Nov 21 01:03:14 c2s55c13ea7e210 debug Discarding data sent to resting session: <presence to='user@example.com/dino.c13c5796' id='371267b2-da5e-44ad-ab65-69569936bb91' type='error'><error by='example.com' type='wait'><internal-server-error xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>A programming error occurred in the server</text><error xmlns='xmpp:prosody.im/error' id='7Xdi2kQW9tPd'/></error></presence>

New comment

Not published. Used for spam prevention and optional update notifications.