tzssangglass commented on issue #4922: URL: https://github.com/apache/apisix/issues/4922#issuecomment-908036793
the code corresponding to this error: https://github.com/casbin/lua-casbin/blob/425ac40c127a6af88a4ef4c92f92e0ad265110fb/src/main/CoreEnforcer.lua#L399-L404 based on the information you provided, I reproduced the error and here is the key log ``` 2021/08/30 07:00:37 [warn] 182320#182320: *144 [lua] CoreEnforcer.lua:402: enforceEx(): rTokens:{ "r_sub", "r_obj" }, client: 127.0.0.1, server: _, request: "GET /api/v1/dms/sys/version HTTP/1.1", host: "127.0.0.1:9080" 2021/08/30 07:00:37 [warn] 182320#182320: *144 [lua] CoreEnforcer.lua:403: enforceEx(): rvals:{ "anonymous", "/api/v1/dms/sys/version", "GET" }, client: 127.0.0.1, server: _, request: "GET /api/v1/dms/sys/version HTTP/1.1", host: "127.0.0.1:9080" ``` > "model": "[request_definition] > r = sub, obj I think you have the wrong configuration 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org