kayx23 commented on issue #10100:
URL: https://github.com/apache/apisix/issues/10100#issuecomment-1696791014
@Revolyssup Re-run something similar and here's the log:
```
2023/08/29 05:24:44 [error] 128#128: *2272936 [lua] init.lua:189:
check_schema(): previous limit-conn group $consumer_group_id conf:
{"time_window":30,"key_type":"var","count":2,"show_limit_quota_header":true,"policy":"local","rejected_code":503,"allow_degradation":false,"key":"remote_addr","group":"$consumer_group_id"},
client: 172.21.0.1, server: , request: "PUT /apisix/admin/consumer_groups
HTTP/1.1", host: "127.0.0.1:9180"
2023/08/29 05:24:44 [error] 128#128: *2272936 [lua] init.lua:191:
check_schema(): current limit-conn group $consumer_group_id conf:
{"time_window":30,"key_type":"var","rejected_code":429,"show_limit_quota_header":true,"policy":"local","key":"remote_addr","allow_degradation":false,"count":20,"group":"$consumer_group_id"},
client: 172.21.0.1, server: , request: "PUT /apisix/admin/consumer_groups
HTTP/1.1", host: "127.0.0.1:9180"
172.21.0.1 - - [29/Aug/2023:05:24:44 +0000] 127.0.0.1:9180 "PUT
/apisix/admin/consumer_groups HTTP/1.1" 400 110 0.000 "-" "curl/7.74.0" - - -
"http://127.0.0.1:9180"
```
> check_schema(): previous limit-conn group $consumer_group_id conf...
I feel like `$consumer_group_id` might have been interpreted as a string
literal here?
--
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]