I have an issue with a custom plugin and have been tackling the issue for a while now.
After I installed and configured the plugin I’m getting repeatedly generated lines
“handler.lua:1052: could not rebuild plugins iterator via timer: api-version plugin is in use but not enabled, context: ngx.timer” in the error.log file.
I followed all steps in the current documentation. The plugin appears to be picked up when kong starts up and I’m able to add the plugin using the POST /plugins API.
More details - I did update the plugin name (api-version) to the plugins config in kong.conf to
as well as added the path to plugin (which is /usr/local/custom/kong/plugins/api-version) to the lua_package_path config param:
lua_package_path = /usr/local/custom/?.lua;/usr/local/?.lua;./?.lua;./?/init.lua;
I would appreciate any help. Thanks so much.