hanqingwu commented on issue #10795: URL: https://github.com/apache/apisix/issues/10795#issuecomment-1895475843
@sheharyaar , I have found something wrong with log-rotate plugin , when I enable plugin log-rotate in apisix/config.yaml , then I do ``` curl http://127.0.0.1:9180/apisix/admin/consumers -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "username": "jack", "plugins": { "key-auth": { "key": "auth-one" } } }' {"error_msg":"invalid plugins configuration: unknown plugin [key-auth]"} ``` I disable plugin log-rotate , then try again , it works normal. ``` curl http://127.0.0.1:9180/apisix/admin/consumers -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "username": "jack", "plugins": { "key-auth": { "key": "auth-one" } } }' {"key":"/apisix/consumers/jack","value":{"create_time":1705484829,"update_time":1705484829,"plugins":{"key-auth":{"key":"auth-one"}},"username":"jack"}} ``` test version under : apache/apisix:3.8.0-debian I will try to find out why . -- 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]
