Open zc806zc opened 6 years ago
看了下,应该是数据库操作有问题
2018/04/27 19:02:01 [error] 27781#27781: 54 [lua] init.lua:21: sync api info failed:/usr/local/openresty/nginx/proxygateway/src/service/agw.lua:53: bad argument #1 to 'pairs' (table expected, got nil), context: ngx.timer 2018/04/27 19:02:04 [error] 27781#27781: 55 [lua] init.lua:21: sync api info failed:/usr/local/openresty/nginx/proxygateway/src/service/agw.lua:53: bad argument #1 to 'pairs' (table expected, got nil), context: ngx.timer 2018/04/27 19:02:05 [error] 27781#27781: 56 [lua] init.lua:34: error occured when check server state:/usr/local/openresty/nginx/proxygateway/src/service/agw.lua:67: bad argument #1 to 'pairs' (table expected, got nil), context: ngx.timer 2018/04/27 19:02:07 [error] 27781#27781: 57 [lua] init.lua:21: sync api info failed:/usr/local/openresty/nginx/proxygateway/src/service/agw.lua:53: bad argument #1 to 'pairs' (table expected, got nil), context: ngx.timer 2018/04/27 19:02:10 [error] 27781#27781: *58 [lua] init.lua:21: sync api info failed:/usr/local/openresty/nginx/proxygateway/src/service/agw.lua:53: bad argument #1 to 'pairs' (table expected, got nil), context: ngx.timer
我用了一台全新的服务器重新试了下,都是正常的,有更多信息吗
可以了,配置搞错了
404 Not Found openresty/1.13.6.1
全是这个,而且删除原来的配置,再次配置成一样,也是这样,感觉上是配置没有生效