服务器一直抛出以下问题,客户端id不重复的,请问如何解决啊

环境信息

  • EMQ X 版本:4.3.10
  • 操作系统及版本:cenos7.9
  • 其他

问题描述

服务器一直抛出以下问题,客户端id不重复的,请问如何解决啊

日志

10:17:57.427 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: status
10:17:57.427 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:57.446 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: setting
10:17:57.455 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: offline
10:17:57.467 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:59.740 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.740 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.754 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,87] - 【MQTT客户端连接失败】MQTT client connected fail ✘......
10:17:59.754 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: device_info
10:17:59.754 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.755 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: status
10:17:59.755 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.755 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: setting
10:17:59.755 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.755 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: offline
10:17:59.755 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.755 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:59.755 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,85] - 【MQTT客户端连接成功√】MQTT client connected success √......
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.762 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.762 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,85] - 【MQTT客户端连接成功√】MQTT client connected success √......
10:17:59.762 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: device_info
10:17:59.762 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.763 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.763 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.763 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: status
10:17:59.763 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.763 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.763 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.764 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,85] - 【MQTT客户端连接成功√】MQTT client connected success √......
10:17:59.764 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: device_info
10:17:59.764 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.764 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.766 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.766 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.770 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,85] - 【MQTT客户端连接成功√】MQTT client connected success √......
10:17:59.770 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.770 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: device_info
10:17:59.770 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.770 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.770 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: status
10:17:59.770 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.770 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: setting
10:17:59.770 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.770 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,85] - 【MQTT客户端连接成功√】MQTT client connected success √......
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: offline
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: device_info
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,85] - 【MQTT客户端连接成功√】MQTT client connected success √......
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: device_info
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,85] - 【MQTT客户端连接成功√】MQTT client connected success √......
10:17:59.761 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,85] - 【MQTT客户端连接成功√】MQTT client connected success √......
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: status
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: device_info
10:17:59.763 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: setting
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: device_info
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,85] - 【MQTT客户端连接成功√】MQTT client connected success √......
10:17:59.764 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,85] - 【MQTT客户端连接成功√】MQTT client connected success √......
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: device_info
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: status
10:17:59.771 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: device_info
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.c.MqttMessageCallback - [connectionLost,36] - 连接断开,正在尝试重新连接 >>>>>>>
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: device_info
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [connect,69] - 【MQTT客户端正在初始化】MQTT client init ......host:tcp://112.15.55.62:1883,clientId:mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: status
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: status
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: status
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: setting
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: status
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: offline
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: setting
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.772 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: setting
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: offline
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: setting
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: status
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: setting
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: setting
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: status
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: offline
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: setting
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: offline
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: offline
10:17:59.773 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: offline
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: offline
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: setting
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: offline
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.774 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:59.775 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.775 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:59.775 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: offline
10:17:59.775 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.775 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
10:17:59.775 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] INFO  c.s.s.m.MqttOperateClient - [subscribe,163] - 开始订阅主题: cmd
10:17:59.775 [MQTT Rec: mqtt_client_8d03b5dda6b0d205393da5b14b31ffa1] ERROR c.s.s.m.MqttOperateClient - [subscribe,167] - 连接已断开....
无效客户机标识 (2)
	at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
	at org.eclipse.paho.client.mqttv3.internal.ClientState.notifyReceivedAck(ClientState.java:1053)
	at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:151)
	at java.lang.Thread.run(Thread.java:748)
客户机未连接 (32104)
	at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
	at org.eclipse.paho.client.mqttv3.internal.ClientComms.sendNoWait(ClientComms.java:205)
	at org.eclipse.paho.client.mqttv3.MqttAsyncClient.subscribeBase(MqttAsyncClient.java:1088)
	at org.eclipse.paho.client.mqttv3.MqttAsyncClient.subscribe(MqttAsyncClient.java:1152)
	at org.eclipse.paho.client.mqttv3.MqttClient.subscribe(MqttClient.java:459)
	at org.eclipse.paho.client.mqttv3.MqttClient.subscribe(MqttClient.java:429)
	at org.eclipse.paho.client.mqttv3.MqttClient.subscribe(MqttClient.java:422)
	at com.shanlomed.system.mqtt.MqttOperateClient.subscribe(MqttOperateClient.java:165)
	at com.shanlomed.system.mqtt.config.MqttConfig.subscribe(MqttConfig.java:79)
	at com.shanlomed.system.mqtt.config.MqttConfig.getMqttOperateClient(MqttConfig.java:70)
	at com.shanlomed.system.mqtt.callback.MqttMessageCallback.connectionLost(MqttMessageCallback.java:39)
	at org.eclipse.paho.client.mqttv3.internal.CommsCallback.connectionLost(CommsCallback.java:304)
	at org.eclipse.paho.client.mqttv3.internal.ClientComms.shutdownConnection(ClientComms.java:441)
	at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:197)
	at java.lang.Thread.run(Thread.java:748)
已断开连接 (32109) - java.io.EOFException
	at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:197)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.EOFException
	at java.io.DataInputStream.readByte(DataInputStream.java:267)
	at org.eclipse.paho.client.mqttv3.internal.wire.MqttInputStream.readMqttWireMessage(MqttInputStream.java:92)
	at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:137)
	... 1 more
客户机未连接 (32104)
	at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
	at org.eclipse.paho.client.mqttv3.internal.ClientComms.sendNoWait(ClientComms.java:205)
	at org.eclipse.paho.client.mqttv3.MqttAsyncClient.subscribeBase(MqttAsyncClient.java:1088)
	at org.eclipse.paho.client.mqttv3.MqttAsyncClient.subscribe(MqttAsyncClient.java:1152)
	at org.eclipse.paho.client.mqttv3.MqttClient.subscribe(MqttClient.java:459)
	at org.eclipse.paho.client.mqttv3.MqttClient.subscribe(MqttClient.java:429)
	at org.eclipse.paho.client.mqttv3.MqttClient.subscribe(MqttClient.java:422)
	at com.shanlomed.system.mqtt.MqttOperateClient.subscribe(MqttOperateClient.java:165)
	at com.shanlomed.system.mqtt.config.MqttConfig.subscribe(MqttConfig.java:79)
	at com.shanlomed.system.mqtt.config.MqttConfig.getMqttOperateClient(MqttConfig.java:70)
	at com.shanlomed.system.mqtt.callback.MqttMessageCallback.connectionLost(MqttMessageCallback.java:39)
	at org.eclipse.paho.client.mqttv3.internal.CommsCallback.connectionLost(CommsCallback.java:304)
	at org.eclipse.paho.client.mqttv3.internal.ClientComms.shutdownConnection(ClientComms.java:441)
	at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:197)
	at java.lang.Thread.run(Thread.java:748)
客户机未连接 (32104)
	at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
	at org.eclipse.paho.client.mqttv3.internal.ClientComms.sendNoWait(ClientComms.java:205)
	at org.eclipse.paho.client.mqttv3.MqttAsyncClient.subscribeBase(MqttAsyncClient.java:1088)
	at org.eclipse.paho.client.mqttv3.MqttAsyncClient.subscribe(MqttAsyncClient.java:1152)
	at org.eclipse.paho.client.mqttv3.MqttClient.subscribe(MqttClient.java:459)
	at org.eclipse.paho.client.mqttv3.MqttClient.subscribe(MqttClient.java:429)
	at org.eclipse.paho.client.mqttv3.MqttClient.subscribe(MqttClient.java:422)
	at com.shanlomed.system.mqtt.MqttOperateClient.subscribe(MqttOperateClient.java:165)
	at com.shanlomed.system.mqtt.config.MqttConfig.subscribe(MqttConfig.java:79)
	at com.shanlomed.system.mqtt.config.MqttConfig.getMqttOperateClient(MqttConfig.java:70)
	at com.shanlomed.system.mqtt.callback.MqttMessageCallback.connectionLost(MqttMessageCallback.java:39)
	at org.eclipse.paho.client.mqttv3.internal.CommsCallback.connectionLost(CommsCallback.java:304)
	at org.eclipse.paho.client.mqttv3.internal.ClientComms.shutdownConnection(ClientComms.java:441)
	at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:197)
	at java.lang.Thread.run(Thread.java:748)

请问有人很好的解决吗

你到底是想要重复呢?还是不想让客户端ID重复呢?你现在的问题是终端一直在不断的尝试重练,有多个设备竞争clientid。这个不是服务端能解决的,要解决你的终端问题。

不想重复呢,我有三四个客户端id,可是客户端id并未重复呀,为啥会一直断开,又连接断开

要看下EMQ X 的日志,也可以用日志追踪功能 ,看下设备的情况

2021-12-24T16:50:03.601553+08:00 [error] mqtt_client_f386994d8713dec46348924f64dd7c8a@60.176.31.48:57739 [CM] more_than_one_channel_found: [<0.10418.290>,<0.14919.290>]
2021-12-24T16:50:03.607937+08:00 [error] mqtt_client_f386994d8713dec46348924f64dd7c8a@60.176.31.48:57773 [CM] more_than_one_channel_found: [<0.2833.290>,<0.14856.290>]
2021-12-24T16:50:04.040770+08:00 [error] mqtt_client_f386994d8713dec46348924f64dd7c8a@60.176.31.48:63868 [CM] more_than_one_channel_found: [<0.14875.290>,<0.10850.290>]
2021-12-24T18:02:47.238955+08:00 [error] 134.122.43.217:44208 [MQTT] , Parse failed for function_clause, [{emqx_frame,parse_packet,[{mqtt_packet_header,0,false,0,false},<<110,0,0,0,0,1,4,98,101,105,111>>,#{max_size => 1048576,strict_mode => false,version => 4}],[{file,"emqx_frame.erl"},{line,206}]},{emqx_frame,parse_frame,4,[{file,"emqx_frame.erl"},{line,183}]},{emqx_connection,parse_incoming,3,[{file,"emqx_connection.erl"},{line,625}]},{emqx_connection,handle_msg,2,[{file,"emqx_connection.erl"},{line,618}]},{emqx_connection,process_msg,2,[{file,"emqx_connection.erl"},{line,364}]},{emqx_connection,handle_recv,3,[{file,"emqx_connection.erl"},{line,328}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,236}]}], Frame data:<<0,11,110,0,0,0,0,1,4,98,101,105,111>>
2021-12-25T03:58:36.218684+08:00 [error] mqtt_client_917d84938b0c4147ab8c53c92bb615e8@122.233.227.132:62803 [CM] more_than_one_channel_found: [<0.29447.290>,<0.29530.290>]
2021-12-25T03:58:37.096483+08:00 [error] mqtt_client_917d84938b0c4147ab8c53c92bb615e8@122.233.227.132:63023 [CM] more_than_one_channel_found: [<0.28360.290>,<0.31535.290>]
2021-12-25T03:58:37.165412+08:00 [error] mqtt_client_917d84938b0c4147ab8c53c92bb615e8@122.233.227.132:63072 [CM] more_than_one_channel_found: [<0.22674.290>,<0.24055.290>]
2021-12-25T03:58:37.199994+08:00 [error] mqtt_client_917d84938b0c4147ab8c53c92bb615e8@122.233.227.132:63086 [CM] more_than_one_channel_found: [<0.27897.290>,<0.20999.290>]
2021-12-25T03:58:37.459046+08:00 [error] mqtt_client_917d84938b0c4147ab8c53c92bb615e8@122.233.227.132:63153 [CM] more_than_one_channel_found: [<0.31456.290>,<0.26886.290>]
2021-12-25T03:58:37.567993+08:00 [error] mqtt_client_917d84938b0c4147ab8c53c92bb615e8@122.233.227.132:63228 [CM] more_than_one_channel_found: [<0.32374.290>,<0.25255.290>]
2021-12-25T03:58:37.599488+08:00 [error] mqtt_client_917d84938b0c4147ab8c53c92bb615e8@122.233.227.132:63248 [CM] more_than_one_channel_found: [<0.23784.290>,<0.30450.290>]
2021-12-25T03:58:38.150224+08:00 [error] mqtt_client_917d84938b0c4147ab8c53c92bb615e8@122.233.227.132:63567 [CM] more_than_one_channel_found: [<0.23321.290>,<0.31279.290>]
2021-12-25T03:58:38.192704+08:00 [error] mqtt_client_917d84938b0c4147ab8c53c92bb615e8@122.233.227.132:63626 [CM] more_than_one_channel_found: [<0.27757.290>,<0.31019.290>]
2021-12-25T03:58:38.200401+08:00 [error] mqtt_client_917d84938b0c4147ab8c53c92bb615e8@122.233.227.132:63634 [CM] more_than_one_channel_found: [<0.27480.290>,<0.31662.290>]

2021-12-29T18:49:21.229637+08:00 [error] mqtt_client_5057932a8280b22c48104b47c65fdf49@125.120.106.216:58888 [CM] more_than_one_channel_found: [<0.19172.351>,<0.8995.351>]
2021-12-29T18:49:21.262128+08:00 [error] mqtt_client_5057932a8280b22c48104b47c65fdf49@125.120.106.216:58682 [CM] more_than_one_channel_found: [<0.10202.351>,<0.11567.351>]
2021-12-29T18:49:21.265217+08:00 [error] mqtt_client_5057932a8280b22c48104b47c65fdf49@125.120.106.216:58834 [CM] more_than_one_channel_found: [<0.10039.351>,<0.8399.351>]
2021-12-29T18:49:24.187340+08:00 [error] mqtt_client_5057932a8280b22c48104b47c65fdf49@125.120.106.216:58801 [CM] more_than_one_channel_found: [<0.9438.351>,<0.11090.351>]
2021-12-29T18:49:27.894189+08:00 [error] mqtt_client_5057932a8280b22c48104b47c65fdf49@125.120.106.216:59107 [CM] more_than_one_channel_found: [<0.11625.351>,<0.23941.351>]
2021-12-29T23:24:59.998047+08:00 [error] 101.132.143.121:35879 [MQTT] , Parse failed for function_clause, [{emqx_frame,parse_utf8_string,[<<3,0,136>>],[{file,"emqx_frame.erl"},{line,464}]},{emqx_frame,parse_packet,3,[{file,"emqx_frame.erl"},{line,207}]},{emqx_frame,parse_frame,4,[{file,"emqx_frame.erl"},{line,183}]},{emqx_connection,parse_incoming,3,[{file,"emqx_connection.erl"},{line,625}]},{emqx_connection,handle_msg,2,[{file,"emqx_connection.erl"},{line,618}]},{emqx_connection,process_msg,2,[{file,"emqx_connection.erl"},{line,364}]},{emqx_connection,handle_recv,3,[{file,"emqx_connection.erl"},{line,328}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,236}]}], Frame data:<<22,3,3,0,136,1,0,0,132,3,3,97,204,125,203,14,81,16,81,103,241,13,112,97,35,15,217,233,158,167,126,229,123,83,142,12,152,133,54,254,176,156,50,0,0,22,192,20,0,53,192,19,0,47,192,44,192,43,192,48,0,157,192,47,0,156,0,10,1,0,0,69,0,10,0,22,0,20,0,23,0,24,0,25,0,9,0,10,0,11,0,12,0,13,0,14,0,22,0,...>>
2021-12-29T23:44:11.038598+08:00 [error] 183.136.225.14:55004 [MQTT] , Parse failed for function_clause, [{emqx_frame,parse_packet,[{mqtt_packet_header,4,false,3,true},<<"T / HTTP/1.1\r\nHost: 116.62.68.46:1883\r\nUser-Agent: Mozilla/5.0 (Macin">>,#{max_size => 1048576,strict_mode => false,version => 4}],[{file,"emqx_frame.erl"},{line,206}]},{emqx_frame,parse_frame,4,[{file,"emqx_frame.erl"},{line,183}]},{emqx_connection,parse_incoming,3,[{file,"emqx_connection.erl"},{line,625}]},{emqx_connection,handle_msg,2,[{file,"emqx_connection.erl"},{line,618}]},{emqx_connection,process_msg,2,[{file,"emqx_connection.erl"},{line,364}]},{emqx_connection,handle_recv,3,[{file,"emqx_connection.erl"},{line,328}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,236}]}], Frame data:<<"GET / HTTP/1.1\r\nHost: 116.62.68.46:1883\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0\r\nAccept: */*\r\nConnection: keep-alive\r\n\r\n">>
2021-12-29T23:44:15.288356+08:00 [error] 183.136.225.14:9338 [MQTT] , Parse failed for function_clause, [{emqx_frame,parse_utf8_string,[<<1,2,0>>],[{file,"emqx_frame.erl"},{line,464}]},{emqx_frame,parse_packet,3,[{file,"emqx_frame.erl"},{line,207}]},{emqx_frame,parse_frame,4,[{file,"emqx_frame.erl"},{line,183}]},{emqx_connection,parse_incoming,3,[{file,"emqx_connection.erl"},{line,625}]},{emqx_connection,handle_msg,2,[{file,"emqx_connection.erl"},{line,618}]},{emqx_connection,process_msg,2,[{file,"emqx_connection.erl"},{line,364}]},{emqx_connection,handle_recv,3,[{file,"emqx_connection.erl"},{line,328}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,236}]}], Frame data:<<22,3,1,2,0,1,0,1,252,3,3,255,248,251,161,246,125,190,251,175,40,253,75,122,198,253,9,189,249,115,253,34,111,79,44,162,74,93,42,23,85,131,241,0,0,218,0,5,0,4,0,2,0,1,0,22,0,51,0,57,0,58,0,24,0,53,0,10,0,27,0,47,0,52,192,16,192,6,192,21,192,11,192,1,0,59,192,48,192,44,192,40,192,36,192,20,192,10,0,...>>
2021-12-30T04:46:38.683651+08:00 [error] 101.133.146.151:58541 [MQTT] , Parse failed for function_clause, [{emqx_frame,parse_utf8_string,[<<3,0,136>>],[{file,"emqx_frame.erl"},{line,464}]},{emqx_frame,parse_packet,3,[{file,"emqx_frame.erl"},{line,207}]},{emqx_frame,parse_frame,4,[{file,"emqx_frame.erl"},{line,183}]},{emqx_connection,parse_incoming,3,[{file,"emqx_connection.erl"},{line,625}]},{emqx_connection,handle_msg,2,[{file,"emqx_connection.erl"},{line,618}]},{emqx_connection,process_msg,2,[{file,"emqx_connection.erl"},{line,364}]},{emqx_connection,handle_recv,3,[{file,"emqx_connection.erl"},{line,328}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,236}]}], Frame data:<<22,3,3,0,136,1,0,0,132,3,3,97,204,201,46,196,36,142,76,163,51,105,7,190,5,118,65,49,117,34,32,55,115,113,85,219,138,1,169,0,56,64,179,0,0,22,192,20,0,53,192,19,0,47,192,44,192,43,192,48,0,157,192,47,0,156,0,10,1,0,0,69,0,10,0,22,0,20,0,23,0,24,0,25,0,9,0,10,0,11,0,12,0,13,0,14,0,22,0,...>>

你的设备出现了双进程,踢掉这个clientid。

似乎有些没明白,方便和我想起解释下么。

就是在你的设备登陆的时候,上一个同样clientid的连接还在,两个连接在竞争同一个clientid。类比两个人用同一个账号密码登陆一个网站,但是这个网站只能允许一个人使用,session在抢。所以解决办法就是踢掉其中的一个或者两个都踢掉

好的,那我想想办法

改个名试试,客户端名字