环境信息
- EMQX 版本:4.3.5
- 操作系统及版本:centos8
- 其他
问题描述
今天设备登录不上去了,发现日志里面提示连接exhook超时。从dashboard重启exhook插件之后恢复。
集群三台同时挂掉。
配置文件及日志
2022-07-22T10:34:58.209445+08:00 [error] 设备ID@IP:端口 [ExHook Svr] CALL emqx_exhook_v_1_hook_provider_client:on_client_authenticate(#{clientinfo => #{anonymous => true,clientid => <<"设备ID">>,cn => <<>>,dn => <<>>,is_superuser => false,mountpoint => <<>>,node => <<"节点名">>,password => <<"密码">>,peerhost => <<"IP地址">>,protocol => <<"mqtt">>,sockport => 端口,username => <<"用户名">>},result => false}, #{channel => "default"}) throw an exception: timeout, stacktrace: {gen_server,call,[<0.2113.0>,{read,#Ref<0.2740969585.419692545.203380>,1658457298208},5000]}
2022-07-22T10:34:58.209661+08:00 [warning] 设备ID@IP地址:端口 [Channel] Client 设备ID(Username: '用户名') login failed for not_authorized