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 2021/08/06 09:44:04 UTC
[GitHub] [apisix] zhangbing17 opened a new issue #4769: bug: 使用wolf权限插件一直无法认证
zhangbing17 opened a new issue #4769:
URL: https://github.com/apache/apisix/issues/4769
### Issue description
### Environment

Bug report without environment information will be ignored or closed.
* apisix version (cmd: `apisix version`):2.8
* OS (cmd: `uname -a`):Linux slave1 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
* OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):nginx version: openresty/1.19.3.2
* etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):3.4
* apisix-dashboard version, if have:2.7
* luarocks version, if the issue is about installation (cmd: `luarocks --version`):3.4
### Minimal test code / Steps to reproduce the issue
Bug report without steps to reproduce will be ignored or closed.
1.wolf首先创建用户

2.其次获取刚用户的key

3.验证访问

apisix和wolf部署在不同服务器
### What's the actual result? (including assertion message & call stack if applicable)
### What's the expected result?
--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #4769: bug: unable to authenticate using the wolf-rbac plugin
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4769:
URL: https://github.com/apache/apisix/issues/4769#issuecomment-894292604
This exception message is for the `consumer-restriction` plugin, see: https://github.com/apache/apisix/blob/baf843403461883c1334e63d15a6bb3622c31940/apisix/plugins/consumer-restriction.lua#L125
This error is not due to the wolf-rbac plugin.
--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] zhangbing17 commented on issue #4769: bug: unable to authenticate using the wolf-rbac plugin
Posted by GitBox <gi...@apache.org>.
zhangbing17 commented on issue #4769:
URL: https://github.com/apache/apisix/issues/4769#issuecomment-895654068
> 的错误`resource '\/' not exist`,我认为这是由狼返回的。您使用的请求路径是`/`,请检查 wolf 中是否存在此请求路径。
It's changed to this, but



--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass edited a comment on issue #4769: bug: unable to authenticate using the wolf-rbac plugin
Posted by GitBox <gi...@apache.org>.
tzssangglass edited a comment on issue #4769:
URL: https://github.com/apache/apisix/issues/4769#issuecomment-894292604
This exception message is for the `consumer-restriction` plugin, see: https://github.com/apache/apisix/blob/baf843403461883c1334e63d15a6bb3622c31940/apisix/plugins/consumer-restriction.lua#L125
This error is not due to the `wolf-rbac` plugin.
--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] zhangbing17 commented on issue #4769: bug: unable to authenticate using the wolf-rbac plugin
Posted by GitBox <gi...@apache.org>.
zhangbing17 commented on issue #4769:
URL: https://github.com/apache/apisix/issues/4769#issuecomment-895101577

Is this route correct?Why does certification still not work
--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tokers commented on issue #4769: bug: unable to authenticate using the wolf-rbac plugin
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #4769:
URL: https://github.com/apache/apisix/issues/4769#issuecomment-895131495
> Hey, big man, what is this question
> 
>
> Here is my Wolf configuration,
> 
> 
> 
Your request was passed to the backend service and you may try to check out its configuration.
--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] zhangbing17 commented on issue #4769: bug: unable to authenticate using the wolf-rbac plugin
Posted by GitBox <gi...@apache.org>.
zhangbing17 commented on issue #4769:
URL: https://github.com/apache/apisix/issues/4769#issuecomment-894913875
Hey, big man, what is this question

Here is my Wolf configuration,



--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #4769: bug: unable to authenticate using the wolf-rbac plugin
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4769:
URL: https://github.com/apache/apisix/issues/4769#issuecomment-894904002
`consumer-restriction` is incorrectly configured, see :https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/consumer-restriction.md
--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] zhangbing17 commented on issue #4769: bug: unable to authenticate using the wolf-rbac plugin
Posted by GitBox <gi...@apache.org>.
zhangbing17 commented on issue #4769:
URL: https://github.com/apache/apisix/issues/4769#issuecomment-894894297
So what was the mistake that caused this? I think I configured everything right,

--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #4769: bug: unable to authenticate using the wolf-rbac plugin
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4769:
URL: https://github.com/apache/apisix/issues/4769#issuecomment-895686414
I think you have the wrong `consumer-restriction` configuration, see: https://github.com/apache/apisix/blob/master/docs/zh/latest/plugins/consumer-restriction.md#%E7%A4%BA%E4%BE%8B
And I suggest you consider the `consumer-restriction` and `wolf-rbac` plugins separately. We are now communicating in a confusing situation.
--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #4769: bug: unable to authenticate using the wolf-rbac plugin
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4769:
URL: https://github.com/apache/apisix/issues/4769#issuecomment-895342787
the error of `resource '\/' not exist`,I think this was returned by wolf. The request path you are using is `/`, check if this request path exists in wolf.
--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org