nic-chen opened a new issue, #12491: URL: https://github.com/apache/apisix/issues/12491
### Current Behavior Generate a line of error log every 15 seconds ``` 2025/08/06 00:37:27 [error] 6108#6108: *45499 [lua] exporter.lua:558: Failed to collect metrics: /github/apisix//deps/share/lua/5.1/resty/healthcheck.lua:1919: attempt to call global 'run_fn_locked_target_list' (a nil value), context: ngx.timer 2025/08/06 00:37:42 [error] 6108#6108: *45952 [lua] exporter.lua:558: Failed to collect metrics: /github/apisix//deps/share/lua/5.1/resty/healthcheck.lua:1919: attempt to call global 'run_fn_locked_target_list' (a nil value), context: ngx.timer 2025/08/06 00:37:57 [error] 6108#6108: *46389 [lua] exporter.lua:558: Failed to collect metrics: /github/apisix//deps/share/lua/5.1/resty/healthcheck.lua:1919: attempt to call global 'run_fn_locked_target_list' (a nil value), context: ngx.timer 2025/08/06 00:38:12 [error] 6108#6108: *46825 [lua] exporter.lua:558: Failed to collect metrics: /github/apisix//deps/share/lua/5.1/resty/healthcheck.lua:1919: attempt to call global 'run_fn_locked_target_list' (a nil value), context: ngx.timer 2025/08/06 00:38:27 [error] 6108#6108: *47278 [lua] exporter.lua:558: Failed to collect metrics: /github/apisix//deps/share/lua/5.1/resty/healthcheck.lua:1919: attempt to call global 'run_fn_locked_target_list' (a nil value), context: ngx.timer 2025/08/06 00:38:42 [error] 6108#6108: *47715 [lua] exporter.lua:558: Failed to collect metrics: /github/apisix//deps/share/lua/5.1/resty/healthcheck.lua:1919: attempt to call global 'run_fn_locked_target_list' (a nil value), context: ngx.timer 2025/08/06 00:38:57 [error] 6108#6108: *48151 [lua] exporter.lua:558: Failed to collect metrics: /github/apisix//deps/share/lua/5.1/resty/healthcheck.lua:1919: attempt to call global 'run_fn_locked_target_list' (a nil value), context: ngx.timer ``` ### Expected Behavior No error log generated. ### Error Logs _No response_ ### Steps to Reproduce Just run `make run` in master branch code ### Environment - APISIX version (run `apisix version`): master - Operating system (run `uname -a`): Linux xx 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx version: openresty/1.27.1.2 configure arguments: --prefix=/usr/local/openresty/nginx --with-debug --with-cc-opt='-DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC -O2 -DAPISIX_RUNTIME_VER=1.3.2 - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): 3.5.16 - APISIX Dashboard version, if relevant: - Plugin runner version, for issues related to plugin runners: - LuaRocks version, for installation issues (run `luarocks --version`): -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
