Skip to content

Instantly share code, notes, and snippets.

@lloydwatkin
Last active August 29, 2015 14:07
Show Gist options
  • Save lloydwatkin/065be91bd9cbce9a1ff2 to your computer and use it in GitHub Desktop.
Save lloydwatkin/065be91bd9cbce9a1ff2 to your computer and use it in GitHub Desktop.
Supplying 'accountsjids' as 'accountjid' results in no response from Prosody + error in logs
Sep 29 08:39:34 mod_c2s error Traceback[c2s]: /usr/lib/prosody/modules/mod_admin_adhoc.lua:174: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
/usr/lib/prosody/modules/mod_admin_adhoc.lua:174: in function </usr/lib/prosody/modules/mod_admin_adhoc.lua:168>
(tail call): ?
/usr/lib/prosody/modules/adhoc/adhoc.lib.lua:35: in function </usr/lib/prosody/modules/adhoc/adhoc.lib.lua:27>
(tail call): ?
/usr/lib/prosody/util/events.lua:67: in function </usr/lib/prosody/util/events.lua:63>
(tail call): ?
/usr/lib/prosody/modules/mod_iq.lua:70: in function '?'
/usr/lib/prosody/util/events.lua:67: in function 'fire_event'
/usr/lib/prosody/core/stanza_router.lua:184: in function 'core_post_stanza'
...
[C]: in function 'parse'
/usr/lib/prosody/util/xmppstream.lua:255: in function 'feed'
/usr/lib/prosody/modules/mod_c2s.lua:230: in function 'data'
/usr/lib/prosody/modules/mod_c2s.lua:252: in function </usr/lib/prosody/modules/mod_c2s.lua:249>
(tail call): ?
/usr/lib/prosody/net/server_select.lua:848: in function </usr/lib/prosody/net/server_select.lua:830>
[C]: in function 'xpcall'
/usr/bin/prosody:373: in function 'loop'
/usr/bin/prosody:403: in main chunk
[C]: ?
@lloydwatkin
Copy link
Author

<iq to="surevine.com" type="set" id="dc4d46d1-5f75-44c1-a253-46ee837edc91">
    <command xmlns="http://jabber.org/protocol/commands" action="execute" node="http://jabber.org/protocol/admin#end-user-session" sessionid="cc6dd026-e542-4fac-ad88-bdcaf9d8337c">
        <x xmlns="jabber:x:data" type="submit">
            <field var="accountjid"><value>[email protected]/test</value></field>
        </x>
    </command>
</iq>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment