#1244 mod_register_dnsbl: http.server async exception when loaded alongside mod_register_web
Reporter
gerald
Owner
Nobody
Created
Updated
Stars
★★ (2)
Tags
Priority-Medium
Type-Defect
Status-New
gerald
on
What steps will reproduce the problem?
1.Load mod_register_dnsbl
2.Load mod_register_web
3.Try to register an accout via web interface
What is the expected output?
Get a new account
What do you see instead?
500 internal Server Error
What version of the product are you using? On what operating system?
trunk
Please provide any additional information below.
Registration is no longer possible in the above context. Log output:
'http.server error Traceback[httpserver]: /usr/lib/prosody/util/async.lua:9: Not running in an async context, see https://prosody.im/doc/developers/util/async
stack traceback:
[C]: in function 'error'
/usr/lib/prosody/util/async.lua:9: in function 'checkthread'
/usr/lib/prosody/util/async.lua:69: in function 'waiter'
/usr/lib/prosody/modules/mod_register_dnsbl.lua:31: in function '?'
/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
(tail call): ?
(tail call): ?
...rosody/modules/mod_register_web/mod_register_web.lua:141: in function 'register_user'
...rosody/modules/mod_register_web/mod_register_web.lua:189: in function 'callback'
...rosody/modules/mod_register_web/mod_register_web.lua:105: in function 'verify_captcha'
...
/usr/lib/prosody/net/http/server.lua:108: in function 'process_next'
/usr/lib/prosody/net/http/server.lua:124: in function 'success_cb'
/usr/lib/prosody/net/http/parser.lua:177: in function 'feed'
/usr/lib/prosody/net/http/server.lua:155: in function </usr/lib/prosody/net/http/server.lua:154>
(tail call): ?
/usr/lib/prosody/net/server_select.lua:922: in function </usr/lib/prosody/net/server_select.lua:906>
[C]: in function 'xpcall'
/usr/lib/prosody/../../bin/prosody:80: in function 'loop'
/usr/lib/prosody/../../bin/prosody:90: in main chunk
'
What steps will reproduce the problem? 1.Load mod_register_dnsbl 2.Load mod_register_web 3.Try to register an accout via web interface What is the expected output? Get a new account What do you see instead? 500 internal Server Error What version of the product are you using? On what operating system? trunk Please provide any additional information below. Registration is no longer possible in the above context. Log output: 'http.server error Traceback[httpserver]: /usr/lib/prosody/util/async.lua:9: Not running in an async context, see https://prosody.im/doc/developers/util/async stack traceback: [C]: in function 'error' /usr/lib/prosody/util/async.lua:9: in function 'checkthread' /usr/lib/prosody/util/async.lua:69: in function 'waiter' /usr/lib/prosody/modules/mod_register_dnsbl.lua:31: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (tail call): ? (tail call): ? ...rosody/modules/mod_register_web/mod_register_web.lua:141: in function 'register_user' ...rosody/modules/mod_register_web/mod_register_web.lua:189: in function 'callback' ...rosody/modules/mod_register_web/mod_register_web.lua:105: in function 'verify_captcha' ... /usr/lib/prosody/net/http/server.lua:108: in function 'process_next' /usr/lib/prosody/net/http/server.lua:124: in function 'success_cb' /usr/lib/prosody/net/http/parser.lua:177: in function 'feed' /usr/lib/prosody/net/http/server.lua:155: in function </usr/lib/prosody/net/http/server.lua:154> (tail call): ? /usr/lib/prosody/net/server_select.lua:922: in function </usr/lib/prosody/net/server_select.lua:906> [C]: in function 'xpcall' /usr/lib/prosody/../../bin/prosody:80: in function 'loop' /usr/lib/prosody/../../bin/prosody:90: in main chunk '