New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACL rule: {allow, {ipaddr, "127.0.0.1"}, pubsub, ["$SYS/#", "#"]}. not working in EMQX 5 #10735
Comments
Sorry, The acl rule v5 is different from v4. the document's example is v4, we will update document!
fix: emqx/emqx-docs#1885 |
Thank you, closing |
Sorry, I spoke too soon, when I try to subscribe from localhost like this:
I don't see any published messages and I see this in the errors log:
My acl.conf file is just:
|
I captured some more logs:
|
I can't reproduce this error on my machine(v5.0.25),
|
If I remove the lines from the acl file, I just get permission denied. For question 2, I get this:
I'm also on Emqx 5.0.25 This is a clean installation just the acl file and this is in my emqx.conf:
|
Oh wait! - I stopped emqx, then |
Yes, the emqx_trie table in v4 builtin database is different from v5, so it's report as |
What happened?
I have this rule (in /etc/emqx/acl.conf) that is working in EMQX 4:
However in EMQX 5 I am getting this error at startup:
What did you expect to happen?
I expected it to start and work, all my other ACL rules are working as expected as this is what is documented here: https://www.emqx.io/docs/en/v5.0/security/authz/file.html#configuration
How can we reproduce it (as minimally and precisely as possible)?
My full /etc/emqx/acl.conf file is:
Removing the first line makes it work, but I need this line :)
Anything else we need to know?
No response
EMQX version
OS version
Log files
The text was updated successfully, but these errors were encountered: