#1930 bad argument #1 to 'resourceprep' (string expected, got nil)

Reporter roughnecks
Owner Zash
Created
Updated
Stars ★★ (2)
Tags
  • Priority-Medium
  • Milestone-13.0
  • Type-Defect
  • Status-Fixed
  1. roughnecks on

    What steps will reproduce the problem? Sadly, I just don't know. Someone trying to register, perhaps, but my server has invite-only registrations enabled. What version of the product are you using? On what operating system? ii prosody 13.0.1-1~bpo12+1 amd64 Lightweight Jabber/XMPP server ii prosody-modules 0.0~hg20250402.f315edc39f3d+dfsg-1~bpo12+1 all Selection of community modules for Prosody Please provide any additional information below. From time to time, this log appears in `/var/log/prosody/prosody.err` Apr 28 09:39:56 s2sin565002594180 error Traceback[s2s]: /usr/lib/prosody/modules/muc/register.lib.lua:181: bad argument #1 to 'resourceprep' (string expected, got nil) stack traceback: [C]: in upvalue 'resourceprep' /usr/lib/prosody/modules/muc/register.lib.lua:181: in function </usr/lib/prosody/modules/muc/register.lib.lua:122> (...tail calls...) /usr/lib/prosody/util/events.lua:81: in function </usr/lib/prosody/util/events.lua:77> (...tail calls...) /usr/lib/prosody/modules/mod_iq.lua:38: in field '?' /usr/lib/prosody/util/events.lua:81: in function </usr/lib/prosody/util/events.lua:77> (...tail calls...) /usr/lib/prosody/core/stanza_router.lua:188: in upvalue 'core_post_stanza' /usr/lib/prosody/core/stanza_router.lua:128: in upvalue 'core_process_stanza' /usr/lib/prosody/modules/mod_s2s.lua:796: in upvalue 'func' /usr/lib/prosody/util/async.lua:149: in function </usr/lib/prosody/util/async.lua:147>

  2. roughnecks on

    Forgot to say it's Debian Bookworm, but it should be understandable from the backported packages version.

  3. Zash on

    Hopefully fixed in https://hg.prosody.im/trunk/rev/9eee04a95a25

    Changes
    • tags Milestone-13.0 Status-Fixed
    • owner Zash

New comment

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