Closed minhpq331 closed 8 months ago
Then we should fix it again.
I confirm this issue in emqx 4.3.7 is not fixed.
Fixed in EMQX v5.0.9/e5.0.0, v4.3.21/v4.4.10.
Test example: acl file:
{allow, all, all, ["${username}"]}.
{deny, all}.
sub with will:
$ mqttx-cli sub -t topic -u topic -Wt will -Wm 'my-will'
[2/2/2024] [6:47:28 PM] › … Connecting...
[2/2/2024] [6:47:28 PM] › ✔ Connected
[2/2/2024] [6:47:28 PM] › … Subscribing to topic...
[2/2/2024] [6:47:28 PM] › ✔ Subscribed to topic
^C
log:
2024-02-02T18:47:36.330188+02:00 [warning] msg: last_will_testament_publish_denied, mfa: emqx_channel:publish_will_msg/2(2252), peername: 127.0.0.1:44692, clientid: mqttx_873bb3b0, topic: will, client_banned: false, publishing_disallowed: true
Thank you @SergeTupchiy
Environment:
emqx_ctl status
): dockeremqx/emqx:4.2.10
What happened and what you expected to happen:
How to reproduce it (as minimally and precisely as possible):
test
test
I saw another issue about this problem but it was resolved in version 2.3.6. Does it happen again?
https://github.com/emqx/emqx/issues/1524