环境信息
- EMQX 版本:4.2.14
- 操作系统及版本:cenos7.9
- 其他 鉴权用的是http auth插件acl
问题描述
第一个问题:
emq客户端(生产者和消费者)再跑一段时间后发现emqx日志有连接丢失的情况:
2022-03-01 13:39:57.574 [error] <<“adapter_a33bd7b24321bc429f0dad422aff859e”>>@192.168.10.11:34218 [ACL http] Request ACL path /mqtt/acl, error: {closed,
“The connection was lost.”}
很多如上的日志(这个是消费端观察 Dashboard客户端并没有重连)
生产端也会存在类似问题:emqx日志:
2022-03-01 13:23:07.908 [error] <<“thing-3IGIDU61”>>@192.168.10.11:20388 [ACL http] Request ACL path /mqtt/acl, error: {closed,
“The connection was lost.”}
生产端有时候会掉线,然后可能重启软件才能连接上,不知道是不是上面的问题;
第二个问题:
emqx很多这样的日志是不是有问题:
2022-03-01 13:23:11.035 [warning] Received gun_down with closed
2022-03-01 13:23:11.038 [warning] Received gun_down with closed
2022-03-01 13:23:11.091 [warning] <<“thing-I7XVQ00R”>>@192.168.10.11:20375 [Channel] The PUBREC PacketId 3460 is inuse.
2022-03-01 13:23:11.092 [warning] <<“thing-I7XVQ00R”>>@192.168.10.11:20375 [Channel] The PUBCOMP PacketId 3460 is not found
2022-03-01 13:23:11.302 [warning] <<“thing-I7XVQ00R”>>@192.168.10.11:20375 [Channel] The PUBREC PacketId 3461 is inuse.
2022-03-01 13:23:11.302 [warning] <<“thing-I7XVQ00R”>>@192.168.10.11:20375 [Channel] The PUBCOMP PacketId 3461 is not found
2022-03-01 13:23:11.372 [warning] <<“thing-82487L89”>>@192.168.10.11:17092 [Channel] The PUBREC PacketId 513 is inuse.
2022-03-01 13:23:11.412 [warning] <<“thing-82487L89”>>@192.168.10.11:17092 [Channel] The PUBCOMP PacketId 513 is not found
2022-03-01 13:23:11.424 [warning] <<“thing-498RNXWV”>>@192.168.10.11:4700 [Channel] The PUBREC PacketId 1076 is inuse.
2022-03-01 13:23:11.425 [warning] <<“thing-498RNXWV”>>@192.168.10.11:4700 [Channel] The PUBCOMP PacketId 1076 is not found
2022-03-01 13:23:11.515 [warning] <<“thing-82487L89”>>@192.168.10.11:17092 [Channel] The PUBREC PacketId 514 is inuse.
2022-03-01 13:23:11.542 [warning] Received gun_down with closed