环境
- EMQX 版本:emqx/emqx:4.4.10
- 操作系统版本:Alibaba Cloud Linux 3 (Soaring Falcon)
重现此问题的步骤
- 使用v4 api 根据username trace 指定的client
- 转到dashboard 点击modules 功能模块报错
- 错误: Request failed with status code 500
预期行为
之前是正常的, 就是加了根据username trace指定clientid 转到dashboard modules无法加载, 预期在不重启emqx集群的情况下能正常加载modules
实际行为
2025-10-11T06:28:50.399809+00:00 [error] 30047909@10.0.0.3:10577 [Hooks] Failed to execute {emqx_mod_topic_metrics,on_message_delivered,}: {error,badarg,[{ets,member,[emqx_mod_topic_metrics,<<“matchup/server/exclusive/83445083/call/recieve”>>],[{error_info,#{cause => id,module => erl_stdlib_errors}}]},{emqx_mod_topic_metrics,is_registered,1,[{file,“emqx_mod_topic_metrics.erl”},{line,223}]},{emqx_mod_topic_metrics,on_message_delivered,2,[{file,“emqx_mod_topic_metrics.erl”},{line,132}]},{emqx_hooks,safe_execute,2,[{file,“emqx_hooks.erl”},{line,207}]},{emqx_hooks,do_run_fold,3,[{file,“emqx_hooks.erl”},{line,186}]},{emqx_channel,do_deliver,2,[{file,“emqx_channel.erl”},{line,942}]},{emqx_channel,handle_out,3,[{file,“emqx_channel.erl”},{line,864}]},{emqx_connection,with_channel,3,[{file,“emqx_connection.erl”},{line,688}]},{emqx_connection,process_msg,2,[{file,“emqx_connection.erl”},{line,388}]},{emqx_connection,handle_recv,3,[{file,“emqx_connection.erl”},{line,352}]},{proc_lib,wake_up,3,[{file,“proc_lib.erl”},{line,236}]}]}