-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Upgrade from Kong 3.8.0 to 3.9.0 rate-limiting plugin depreciation warning #14418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This field will be automatically replaced with redis.ssl in version 3.x. If you are using DB-less mode, you can modify the Admin API request parameters when applying the configuration, changing |
@Water-Melon I'm not using any redis in my config nor has it ever been configured yet I still get the depreciation warning |
More info here is the full deployed config of the rate-limit plugin that was deployed with Kong 3.8.0 "config": {
"redis_host": null,
"policy": "local",
"fault_tolerant": true,
"hide_client_headers": false,
"minute": null,
"redis_timeout": 2000,
"redis_server_name": null,
"redis_ssl_verify": false,
"redis": {
"timeout": 2000,
"password": null,
"server_name": null,
"host": null,
"ssl": false,
"username": null,
"port": 6379,
"database": 0,
"ssl_verify": false
},
"error_code": 429,
"error_message": "API rate limit exceeded",
"sync_rate": -1,
"redis_ssl": false,
"redis_password": null,
"redis_port": 6379,
"redis_username": null,
"second": 10,
"header_name": null,
"hour": null,
"day": null,
"month": null,
"year": null,
"path": "/",
"limit_by": "ip",
"redis_database": 0
}, Here is the config I'm defining in helm config:
path: /
second: 10
limit_by: ip
hide_client_headers: false My understanding is that the |
This issue is marked as stale because it has been open for 14 days with no activity. |
@Water-Melon any further comment on this? |
I'm also encountering this issue. Like the OP, I am not using redis anywhere and my policy is "local" for the rate-limiting, so I don't understand why this error is appearing. edit: I switched to kong/kong-gateway:3.10.0.2-rhel and these errors do not appear so it seems specific to the ubuntu container to me. |
Is there an existing issue for this?
Kong version (
$ kong version
)3.9.0
Current Behavior
When I upgraded from Kong 3.8.0 to 3.9.0 I got millions of log warning messages about the rate-limiting plugin having deprecated config.redis*
Example:
1407#0: *50235 [kong] init.lua:904 rate-limiting: config.redis_ssl is deprecated
Expected Behavior
When I upgrade I expect config that has moved location to be auto-updated
Steps To Reproduce
Anything else?
Kong is in DB-Less mode
Warning comes from kong_admin service
The plugins and ingress routes are deploy in additional helm charts in different namespaces to kong
The text was updated successfully, but these errors were encountered: