baiwyc119 / lxmppd

Automatically exported from code.google.com/p/lxmppd
0 stars 0 forks source link

mod_bosh.lua:251: bad argument #1 to 'math_min' #475

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Prosody 0.9.7

Unknown cause, unable to reproduce.

Server is configured To allow both anonymous & non-anonymous logins. Primary 
access is intended to be candy-chat, cross_domain_bosh is configured for the 
subdomain candy-chat is hosted on.

bosh_max_inactivity is set to 240 in prosody.cfg.lua, bosh_max_wait (as it is 
part of that line) is not set (and not documented at 
https://prosody.im/doc/modules/mod_bosh).

This error appeared 3 times in the same second.

Feb 12 19:55:56 http.server     error   Traceback[httpserver]: 
/usr/lib/prosody/modules/mod_bosh.lua:251: bad argument #1 to 'math_min' 
(number expected, got nil)
stack traceback:
        [C]: in function 'parse'
        /usr/lib/prosody/util/xmppstream.lua:255: in function 'feed'
        /usr/lib/prosody/modules/mod_bosh.lua:128: in function '?'
        /usr/lib/prosody/util/events.lua:67: in function 'fire_event'
        /usr/lib/prosody/net/http/server.lua:221: in function </usr/lib/prosody/net/http/server.lua:164>
        (tail call): ?
        [C]: in function 'xpcall'
        /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:154: in function 'feed'
        /usr/lib/prosody/net/http/server.lua:150: in function 'onincoming'
        /usr/lib/prosody/net/server_event.lua:632: in function </usr/lib/prosody/net/server_event.lua:578>
        [C]: in function 'loop'
        /usr/lib/prosody/net/server_event.lua:793: in function </usr/lib/prosody/net/server_event.lua:792>
        [C]: in function 'xpcall'
        /usr/lib/prosody/../../bin/prosody:376: in function 'loop'
        /usr/lib/prosody/../../bin/prosody:407: in main chunk
        [C]: ?

Original issue reported on code.google.com by trelau...@gmail.com on 22 Feb 2015 at 9:55