You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/25 10:59:34 UTC
[GitHub] [apisix] zhuliquan opened a new issue #3128: request help: can't set redis policy in 'limit-count'
zhuliquan opened a new issue #3128:
URL: https://github.com/apache/apisix/issues/3128
### Issue description
**error:**
{"error_msg":"failed to check the configuration of plugin limit-count err: failed to validate dependent schema for \"policy\": value should match only one schema, but matches none"}
**my limit-count setting:**
"limit-count": {
"disable": false,
"count": 1000,
"time_window": 60,
"rejected_code": 503,
"key": "consumer_name",
"policy": "redis",
"redis_host": "XXXXXXXXX",
"redis_port": "XXXXXX",
"redis_password": "XXXXXXXX",
"redis_timeout": 1001
}
### Environment
* apisix version (cmd: `apisix version`):
* OS: (cmd: `uname -a`)
* OpenResty / Nginx version: (cmd: `nginx -V` or `openresty -V`)
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [apisix] spacewander commented on issue #3128: request help: can't set redis policy in 'limit-count'
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3128:
URL: https://github.com/apache/apisix/issues/3128#issuecomment-751242454
The `redis_port` should be integer.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [apisix] Firstsawyou commented on issue #3128: request help: can't set redis policy in 'limit-count'
Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #3128:
URL: https://github.com/apache/apisix/issues/3128#issuecomment-751254234
The schema does not match, it seems that redis_port is not an `integer` causing the problem.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [apisix] spacewander closed issue #3128: request help: can't set redis policy in 'limit-count'
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #3128:
URL: https://github.com/apache/apisix/issues/3128
----------------------------------------------------------------
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:
users@infra.apache.org