majestrate / mod_darknet

prosody mod_onions fork for onion and i2p
6 stars 2 forks source link

Exception "attempt to index global 'socket' (a nil value)" in prosody 0.9.12 (Debian 9) #1

Open l-n-s opened 6 years ago

l-n-s commented 6 years ago
Mar 20 00:41:38 mod_c2s error   Traceback[c2s]: /usr/lib/prosody/modules/mod_darknet.lua:174: attempt to index global 'socket' (a nil value)
stack traceback:
        /usr/lib/prosody/modules/mod_darknet.lua:174: in function 'connect_socks5'
        /usr/lib/prosody/modules/mod_darknet.lua:263: in function '?'
        /usr/lib/prosody/util/events.lua:67: in function 'fire_event'
        /usr/lib/prosody/core/stanza_router.lua:214: in function 'core_route_stanza'
        /usr/lib/prosody/core/stanza_router.lua:191: in function 'core_post_stanza'
        /usr/lib/prosody/modules/mod_presence.lua:187: in function </usr/lib/prosody/modules/mod_presence.lua:172>
        (tail call): ?
        /usr/lib/prosody/util/events.lua:67: in function 'fire_event'
        /usr/lib/prosody/core/stanza_router.lua:183: in function 'core_post_stanza'
        /usr/lib/prosody/core/stanza_router.lua:135: in function </usr/lib/prosody/core/stanza_router.lua:56>
        ...
        [C]: in function 'parse'
        /usr/lib/prosody/util/xmppstream.lua:255: in function 'feed'
        /usr/lib/prosody/modules/mod_c2s.lua:233: in function 'data'
        /usr/lib/prosody/modules/mod_c2s.lua:255: in function </usr/lib/prosody/modules/mod_c2s.lua:252>
        (tail call): ?
        /usr/lib/prosody/net/server_select.lua:868: in function </usr/lib/prosody/net/server_select.lua:850>
        [C]: in function 'xpcall'
        /usr/bin/prosody:376: in function 'loop'
        /usr/bin/prosody:407: in main chunk
        [C]: ?
l-n-s commented 6 years ago

That error looks only happening in prosody version 0.9.12. 0.10.0 works fine.