Open
Description
Current Behavior
I followed the guide: https://apisix.apache.org/docs/apisix/plugins/wolf-rbac/
When I using a wrong password, the apisix returned:
{"message":"request to wolf-server failed!"}
and from the apisix logs:
2025/05/19 08:41:09 [error] 64#64: *112501465 [lua] wolf-rbac.lua:381: request_to_wolf_server(): request [{"reason":"ERR_PASSWORD_ERROR","ok":false,"data":{}}] failed! response body:{"reason":"ERR_PASSWORD_ERROR","ok":false,"data":{}}, client: XXXX server: _, request: "POST /auth/token HTTP/1.1", host: "devicbc.XXXX.cn:88"
2025/05/19 08:41:09 [info] 74#74: *112501656 [lua] timers.lua:39: run timer[plugin#server-info], context: ngx.timer
Expected Behavior
The error should make it sense when some known errors found from wolf.
Error Logs
See above.
Steps to Reproduce
1、follow the wolf rbac doc
2、use a wrong password in wolf user
Environment
- APISIX version (run
apisix version
): 3.6.0 - Operating system (run
uname -a
): - OpenResty / Nginx version (run
openresty -V
ornginx -V
): - etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info
): - APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run
luarocks --version
):
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
📋 Backlog