Here is another error in my logs:
2016/08/18 06:44:37 [error] 9484#0: *1572605 lua entry thread aborted: runtime error: /usr/local/coronium/lib/system_api.lua:12: bad argument #1 to ‘gmatch’ (string expected, got nil)
stack traceback:
coroutine 0:
[C]: in function ‘gmatch’
/usr/local/coronium/lib/system_api.lua:12: in function ‘cpu_load’
/usr/local/coronium/lib/system_api.lua:28: in function </usr/local/coronium/lib/system_api.lua:1>, client: 110.143.7.143, server: , request: “POST /system/info/ HTTP/1.1”, host: “ec2-54-206-9-43.ap-southeast-2.compute.amazonaws.com”, referrer: "http://ec2-54-206-9-43.ap-southeast-2.compute.amazonaws.com/admin"
2016/08/18 06:53:31 [error] 9484#0: *1572686 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/mongol/bson.lua:159: bad argument #1 to ‘pairs’ (table expected, got nil)
stack traceback:
coroutine 0:
[C]: in function ‘pairs’
/usr/local/openresty/lualib/mongol/bson.lua:159: in function ‘to_bson’
/usr/local/openresty/lualib/mongol/colmt.lua:276: in function ‘query’
/usr/local/openresty/lualib/mongol/colmt.lua:337: in function ‘find_one’
/usr/local/coronium/lib/mod_mongo.lua:126: in function ‘findOne’
/usr/local/coronium/lib/mod_user.lua:55: in function ‘logIn’
/usr/local/coronium/lib/login_api.lua:13: in function </usr/local/coronium/lib/login_api.lua:1>, client: 110.143.7.143, server: , request: “GET /1/login? HTTP/1.1”, host: “ec2-54-206-9-43.ap-southeast-2.compute.amazonaws.com”
2016/08/18 06:53:34 [error] 9484#0: *1572692 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/mongol/bson.lua:159: bad argument #1 to ‘pairs’ (table expected, got nil)
stack traceback:
coroutine 0:
[C]: in function ‘pairs’
/usr/local/openresty/lualib/mongol/bson.lua:159: in function ‘to_bson’
/usr/local/openresty/lualib/mongol/colmt.lua:276: in function ‘query’
/usr/local/openresty/lualib/mongol/colmt.lua:337: in function ‘find_one’
/usr/local/coronium/lib/mod_mongo.lua:126: in function ‘findOne’
/usr/local/coronium/lib/mod_user.lua:55: in function ‘logIn’
/usr/local/coronium/lib/login_api.lua:13: in function </usr/local/coronium/lib/login_api.lua:1>, client: 110.143.7.143, server: , request: “GET /1/login? HTTP/1.1”, host: “ec2-54-206-9-43.ap-southeast-2.compute.amazonaws.com”
2016/08/18 06:53:35 [error] 9484#0: *1572693 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/mongol/bson.lua:159: bad argument #1 to ‘pairs’ (table expected, got nil)
stack traceback:
coroutine 0:
[C]: in function ‘pairs’
/usr/local/openresty/lualib/mongol/bson.lua:159: in function ‘to_bson’
/usr/local/openresty/lualib/mongol/colmt.lua:276: in function ‘query’
/usr/local/openresty/lualib/mongol/colmt.lua:337: in function ‘find_one’
/usr/local/coronium/lib/mod_mongo.lua:126: in function ‘findOne’
/usr/local/coronium/lib/mod_user.lua:55: in function ‘logIn’
/usr/local/coronium/lib/login_api.lua:13: in function </usr/local/coronium/lib/login_api.lua:1>, client: 110.143.7.143, server: , request: “GET /1/login? HTTP/1.1”, host: “ec2-54-206-9-43.ap-southeast-2.compute.amazonaws.com”
2016/08/18 06:53:37 [error] 9484#0: *1572712 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/mongol/bson.lua:159: bad argument #1 to ‘pairs’ (table expected, got nil)
stack traceback:
coroutine 0:
[C]: in function ‘pairs’
/usr/local/openresty/lualib/mongol/bson.lua:159: in function ‘to_bson’
/usr/local/openresty/lualib/mongol/colmt.lua:276: in function ‘query’
/usr/local/openresty/lualib/mongol/colmt.lua:337: in function ‘find_one’
/usr/local/coronium/lib/mod_mongo.lua:126: in function ‘findOne’
/usr/local/coronium/lib/mod_user.lua:55: in function ‘logIn’
/usr/local/coronium/lib/login_api.lua:13: in function </usr/local/coronium/lib/login_api.lua:1>, client: 110.143.7.143, server: , request: “GET /1/login? HTTP/1.1”, host: “ec2-54-206-9-43.ap-southeast-2.compute.amazonaws.com”
2016/08/18 06:53:37 [error] 9484#0: *1572714 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/mongol/bson.lua:159: bad argument #1 to ‘pairs’ (table expected, got nil)
stack traceback:
coroutine 0:
[C]: in function ‘pairs’
/usr/local/openresty/lualib/mongol/bson.lua:159: in function ‘to_bson’
/usr/local/openresty/lualib/mongol/colmt.lua:276: in function ‘query’
/usr/local/openresty/lualib/mongol/colmt.lua:337: in function ‘find_one’
/usr/local/coronium/lib/mod_mongo.lua:126: in function ‘findOne’
/usr/local/coronium/lib/mod_user.lua:55: in function ‘logIn’
/usr/local/coronium/lib/login_api.lua:13: in function </usr/local/coronium/lib/login_api.lua:1>, client: 110.143.7.143, server: , request: “GET /1/login? HTTP/1.1”, host: “ec2-54-206-9-43.ap-southeast-2.compute.amazonaws.com”
2016/08/18 06:53:39 [error] 9484#0: *1572719 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/mongol/bson.lua:159: bad argument #1 to ‘pairs’ (table expected, got nil)
stack traceback:
coroutine 0:
[C]: in function ‘pairs’
/usr/local/openresty/lualib/mongol/bson.lua:159: in function ‘to_bson’
/usr/local/openresty/lualib/mongol/colmt.lua:276: in function ‘query’
/usr/local/openresty/lualib/mongol/colmt.lua:337: in function ‘find_one’
/usr/local/coronium/lib/mod_mongo.lua:126: in function ‘findOne’
/usr/local/coronium/lib/mod_user.lua:55: in function ‘logIn’
/usr/local/coronium/lib/login_api.lua:13: in function </usr/local/coronium/lib/login_api.lua:1>, client: 110.143.7.143, server: , request: “GET /1/login? HTTP/1.1”, host: “ec2-54-206-9-43.ap-southeast-2.compute.amazonaws.com”
2016/08/18 06:53:40 [error] 9484#0: *1572721 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/mongol/bson.lua:159: bad argument #1 to ‘pairs’ (table expected, got nil)
stack traceback:
coroutine 0:
[C]: in function ‘pairs’
/usr/local/openresty/lualib/mongol/bson.lua:159: in function ‘to_bson’
/usr/local/openresty/lualib/mongol/colmt.lua:276: in function ‘query’
/usr/local/openresty/lualib/mongol/colmt.lua:337: in function ‘find_one’
/usr/local/coronium/lib/mod_mongo.lua:126: in function ‘findOne’
/usr/local/coronium/lib/mod_user.lua:55: in function ‘logIn’
/usr/local/coronium/lib/login_api.lua:13: in function </usr/local/coronium/lib/login_api.lua:1>, client: 110.143.7.143, server: , request: “GET /1/login? HTTP/1.1”, host: “ec2-54-206-9-43.ap-southeast-2.compute.amazonaws.com”
uname: write error: Broken pipe
uname: write error: Broken pipe