JanLi-air commented on issue #2709:
URL: https://github.com/apache/apisix/issues/2709#issuecomment-725786739


   ```
   2020/11/12 02:21:31 [error] 126#126: *3929332 [lua] limit-count.lua:169: 
phase_func(): lim:val , client: 172.16.128.215, server: , request: "GET 
/apisix/prometheus/metrics HTTP/1.1", host: "10.212.4.241:8080"
   2020/11/12 02:21:31 [error] 126#126: *3929332 lua entry thread aborted: 
runtime error: ...esty/luajit/share/lua/5.1/apisix/plugins/limit-count.lua:173: 
attempt to call method 'incoming' (a nil value)
   stack traceback:
   coroutine 0:
        ...esty/luajit/share/lua/5.1/apisix/plugins/limit-count.lua: in 
function 'phase_func'
        /usr/local/openresty/luajit/share/lua/5.1/apisix/init.lua:141: in 
function 'run_plugin'
        /usr/local/openresty/luajit/share/lua/5.1/apisix/init.lua:350: in 
function 'http_access_phase'
        access_by_lua(nginx.conf:225):2: in main chunk, client: 172.16.128.215, 
server: , request: "GET /apisix/prometheus/metrics HTTP/1.1", host: 
"10.212.4.241:8080"
   2020/11/12 02:21:31 [error] 124#124: *3929368 [lua] limit-count.lua:169: 
phase_func(): lim:ver 2935, client: 172.16.128.215, server: , request: "GET 
/apisix/prometheus/metrics HTTP/1.1", host: "10.212.4.241:8080"
   2020/11/12 02:21:31 [warn] 124#124: *3929368 [lua] json.lua:82: failed to 
encode: Cannot serialise userdata: type not supported force: nil, client: 
172.16.128.215, server: , request: "GET /apisix/prometheus/metrics HTTP/1.1", 
host: "10.212.4.241:8080"
   2020/11/12 02:21:31 [warn] 124#124: *3929368 [lua] json.lua:82: failed to 
encode: Cannot serialise userdata: type not supported force: nil, client: 
172.16.128.215, server: , request: "GET /apisix/prometheus/metrics HTTP/1.1", 
host: "10.212.4.241:8080"
   2020/11/12 02:21:31 [error] 124#124: *3929368 [lua] limit-count.lua:169: 
phase_func(): lim:val , client: 172.16.128.215, server: , request: "GET 
/apisix/prometheus/metrics HTTP/1.1", host: "10.212.4.241:8080"
   2020/11/12 02:21:31 [error] 124#124: *3929368 lua entry thread aborted: 
runtime error: ...esty/luajit/share/lua/5.1/apisix/plugins/limit-count.lua:173: 
attempt to call method 'incoming' (a nil value)
   stack traceback:
   coroutine 0:
        ...esty/luajit/share/lua/5.1/apisix/plugins/limit-count.lua: in 
function 'phase_func'
        /usr/local/openresty/luajit/share/lua/5.1/apisix/init.lua:141: in 
function 'run_plugin'
        /usr/local/openresty/luajit/share/lua/5.1/apisix/init.lua:350: in 
function 'http_access_phase'
        access_by_lua(nginx.conf:225):2: in main chunk, client: 172.16.128.215, 
server: , request: "GET /apisix/prometheus/metrics HTTP/1.1", host: 
"10.212.4.241:8080"
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to