Plugin Installation

Got this error when trying to start kong.

Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:57: nginx: [error] init_by_lua error: /usr/local/share/lua/5.1/kong/init.lua:177: token_limiting plugin is enabled but not installed;
module ‘kong.plugins.token_limiting.handler’ not found:No LuaRocks module found for kong.plugins.token_limiting.handler

Any help would be appreciated

token_limiting is not one of the default Kong plugins.

If you are not trying to install a new plugin, make sure that your plugins config file is set to bundled (and not bundled,token_limiting).

If you are trying to install a custom plugin, you must also place files (with Lua source code) inside kong/plugins/token_limiting directory, as specified in the plugin development docs.

2 Likes

Thank you :slight_smile: