版本:4.3.5
安装部署后,将acl.conf中的规则全部用%%注释,当客户端订阅test/#主题的时候,客户端被断开连接,使用HTTP API,查询 ACL 缓存,返回空的,也就是没有ACL规则,但是不知道为什么无法订阅带#的主题。哪位大神能指点一二呀。
版本:4.3.5
安装部署后,将acl.conf中的规则全部用%%注释,当客户端订阅test/#主题的时候,客户端被断开连接,使用HTTP API,查询 ACL 缓存,返回空的,也就是没有ACL规则,但是不知道为什么无法订阅带#的主题。哪位大神能指点一二呀。
12123@111.37.171.134:6827 crasher: initial call: emqx_connection:init/4, pid: <0.20933.30>,
registered_name: , error:
{
{
badmatch,
{error,
{bad_type,{emqx_trie,{<<“123/#”>>,1},1}}
}
}
,
[
{emqx_session,subscribe,4,[{file,“emqx_session.erl”},{line,248}]},
{emqx_channel,do_subscribe,3,[{file,“emqx_channel.erl”},{line,659}]},
{emqx_channel,process_subscribe,4,[{file,“emqx_channel.erl”},{line,644}]},
{emqx_channel,handle_in,2,[{file,“emqx_channel.erl”},{line,636}]},
{emqx_connection,with_channel,3,[{file,“emqx_connection.erl”},{line,659}]},
{emqx_connection,process_msg,2,[{file,“emqx_connection.erl”},{line,364}]},
{emqx_connection,process_msg,2,[{file,“emqx_connection.erl”},{line,370}]},
{emqx_connection,handle_recv,3,[{file,“emqx_connection.erl”},{line,328}]},
{proc_lib,wake_up,3,[{file,“proc_lib.erl”},{line,236}]}
]},
ancestors: [<0.1849.0>,<0.1848.0>,esockd_sup,<0.1560.0>],
message_queue_len: 0, messages: , links: [<0.1849.0>],
dictionary: [{send_pkt,1},{incoming_bytes,72},{‘$logger_metadata$’,#{clientid => “12123”,peername => “111.37.171.134:6827”}},
{recv_pkt,2},{outgoing_bytes,4},{guid,{1725246753798295,268564808356293,0}},{{subscribe,<<“123/#”>>},
{allow,1725246755163}},{acl_keys_q,{[{subscribe,<<“123/#”>>}],}},{acl_cache_size,1}],
trap_exit: false, status: running, heap_size: 2586, stack_size: 28, reductions: 24682; neighbours:
以上是日志
4.3 已经退出维护了,建议进行升级