环境
- EMQX 版本:5.0.21
- 操作系统版本:centos
puback_packetId_not_found请问这个一般是什么原因
2025-01-06T08:02:59.913459+08:00 [warning] msg: puback_packetId_not_found, mfa: emqx_channel:handle_in/2, line: 448, peername: 205.100.129.32:36076, clientid: 1211023290094358, packetId: 3
日志追踪:
2020-03-17T10:37:10+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_sent, packet: PUBLISH(Q1, R0, D0, Topic=/v1/1211023290094358/device/response, PacketId=1, Payload={“mid”:9,“type”:“EVENT_LINKUP”,“msg”:“SUCCESS”,“code”:200,“timestamp”:“2025-01-06 08:55:10”,“deviceId”:“1211023290094358”,“param”:{}})
2020-03-17T10:37:11+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_received, packet: PUBACK(Q0, R0, D0, PacketId=1, ReasonCode=0)
2020-03-17T10:37:11+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_sent, packet: PUBLISH(Q1, R0, D0, Topic=/v1/1211023290094358/device/response, PacketId=2, Payload={“mid”:10,“type”:“EVENT_LINKUP”,“msg”:“SUCCESS”,“code”:200,“timestamp”:“2025-01-06 08:55:10”,“deviceId”:“1211023290094358”,“param”:{}})
2020-03-17T10:37:11+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_received, packet: PUBACK(Q0, R0, D0, PacketId=2, ReasonCode=0)
2020-03-17T10:38:12+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_received, packet: PINGREQ(Q0, R0, D0)
2020-03-17T10:38:12+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_sent, packet: PINGRESP(Q0, R0, D0)
2020-03-17T10:38:44+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=/v1/1211023290094358/device/request, PacketId=undefined, Payload={“deviceId”:“1211023290094358”,“timestamp”:“2025-01-06 08:56:38”,“type”:“EVENT_HEARTBEAT”})
2020-03-17T10:38:44+08:00 [PUBLISH] 1211023290094358@205.100.129.32:40484 msg: publish_to, topic: /v1/1211023290094358/device/request, payload: {“deviceId”:“1211023290094358”,“timestamp”:“2025-01-06 08:56:38”,“type”:“EVENT_HEARTBEAT”}
2020-03-17T10:38:44+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_sent, packet: PUBLISH(Q1, R0, D0, Topic=/v1/1211023290094358/device/response, PacketId=3, Payload={“mid”:0,“type”:“EVENT_HEARTBEAT”,“msg”:“SUCCESS”,“code”:200,“timestamp”:“2025-01-06 08:56:42”,“deviceId”:“1211023290094358”,“param”:{}})
2020-03-17T10:38:44+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_received, packet: PUBACK(Q0, R0, D0, PacketId=3, ReasonCode=0)
2020-03-17T10:38:45+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=/v1/1211023290094358/device/request, PacketId=undefined, Payload={“channel”:“698”,“deviceId”:“1211023290094358”,“mid”:12,“param”:{“cpu”:{“arch”:“armv7l”,“cache”:0.5,“cpuLmt”:90,“cpus”:4,“frequency”:1.0},“dev”:{“boardVersion”:“”,“devID”:“SCUXXXX01001202406060608”,“devName”:“”,“devStatus”:“”,“devType”:“SCU”,“esam”:“740100000001D7E6”,“esn”:“1211023290094358”,“hardVersion”:“HV00.02”,“mfgInfo”:“XXXX01”},“disk”:{“disk”:8192,“diskLmt”:80},“links”:[{“name”:“LTE”,“type”:“LTE”},{“name”:“RS485-I”,“type”:“RS485”},{“name”:“RS485-II”,“type”:“RS485”},{“name”:“RS485-III/RS232-I”,“type”:“RS485”},{“name”:“RS485-IV/RS232-II”,“type”:“RS485”},{“id”:“28:b8:60:11:06:14”,“ip”:“192.168.1.101”,“mac”:“28:b8:60:11:06:14”,“name”:“FE0”,“type”:“Ethernet”,“useFor”:“00”},{“ICCID”:“89860323960275464325”,“IMEI”:“869889074340395”,“id”:“869889074340395”,“ip”:“205.100.129.32”,“mac”:“00:00:00:00:00:00”,“name”:“ppp-0”,“type”:“4G”,“version”:“GN4-N720V5-01.1”},{“ICCID”:“”,“IMEI”:“869889074346459”,“id”:“869889074346459”,“ip”:“”,“mac”:“”,“name”:“”,“type”:“4G”,“version”:“GN4-N720V5-01.1”}],“mem”:{“memLmt”:90,“phy”:1913,“virt”:1913},“os”:{“distro”:“Shuniu2.0”,“edgecliVersion”:“v02.006”,“kernel”:“4.14.155.16”,“patchVersion”:“original”,“privateVersion”:" 01_02.006_000_20230608_OFF",“softVersion”:“SV02.006”,“version”:“SV02.006”}},“timestamp”:“2025-01-06 08:56:38”,“type”:“EVENT_LINKUP”})
2020-03-17T10:38:45+08:00 [PUBLISH] 1211023290094358@205.100.129.32:40484 msg: publish_to, topic: /v1/1211023290094358/device/request, payload: {“channel”:“698”,“deviceId”:“1211023290094358”,“mid”:12,“param”:{“cpu”:{“arch”:“armv7l”,“cache”:0.5,“cpuLmt”:90,“cpus”:4,“frequency”:1.0},“dev”:{“boardVersion”:“”,“devID”:“SCUXXXX01001202406060608”,“devName”:“”,“devStatus”:“”,“devType”:“SCU”,“esam”:“740100000001D7E6”,“esn”:“1211023290094358”,“hardVersion”:“HV00.02”,“mfgInfo”:“XXXX01”},“disk”:{“disk”:8192,“diskLmt”:80},“links”:[{“name”:“LTE”,“type”:“LTE”},{“name”:“RS485-I”,“type”:“RS485”},{“name”:“RS485-II”,“type”:“RS485”},{“name”:“RS485-III/RS232-I”,“type”:“RS485”},{“name”:“RS485-IV/RS232-II”,“type”:“RS485”},{“id”:“28:b8:60:11:06:14”,“ip”:“192.168.1.101”,“mac”:“28:b8:60:11:06:14”,“name”:“FE0”,“type”:“Ethernet”,“useFor”:“00”},{“ICCID”:“89860323960275464325”,“IMEI”:“869889074340395”,“id”:“869889074340395”,“ip”:“205.100.129.32”,“mac”:“00:00:00:00:00:00”,“name”:“ppp-0”,“type”:“4G”,“version”:“GN4-N720V5-01.1”},{“ICCID”:“”,“IMEI”:“869889074346459”,“id”:“869889074346459”,“ip”:“”,“mac”:“”,“name”:“”,“type”:“4G”,“version”:“GN4-N720V5-01.1”}],“mem”:{“memLmt”:90,“phy”:1913,“virt”:1913},“os”:{“distro”:“Shuniu2.0”,“edgecliVersion”:“v02.006”,“kernel”:“4.14.155.16”,“patchVersion”:“original”,“privateVersion”:" 01_02.006_000_20230608_OFF",“softVersion”:“SV02.006”,“version”:“SV02.006”}},“timestamp”:“2025-01-06 08:56:38”,“type”:“EVENT_LINKUP”}
2020-03-17T10:38:45+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_sent, packet: PUBLISH(Q1, R0, D0, Topic=/v1/1211023290094358/device/response, PacketId=4, Payload={“mid”:12,“type”:“EVENT_LINKUP”,“msg”:“SUCCESS”,“code”:200,“timestamp”:“2025-01-06 08:56:43”,“deviceId”:“1211023290094358”,“param”:{}})
2020-03-17T10:38:45+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_received, packet: PUBACK(Q0, R0, D0, PacketId=4, ReasonCode=0)
2020-03-17T10:39:55+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_received, packet: PINGREQ(Q0, R0, D0)
2020-03-17T10:39:55+08:00 [MQTT] 1211023290094358@205.100.129.32:40484 msg: mqtt_packet_sent, packet: PINGRESP(Q0, R0, D0)
2020-03-17T10:41:54+08:00 [SOCKET] 1211023290094358@205.100.129.32:40484 msg: socket_force_closed, reason: keepalive_timeout
2020-03-17T10:41:54+08:00 [SOCKET] 1211023290094358@205.100.129.32:40484 msg: emqx_connection_terminated, reason: {shutdown,keepalive_timeout}
2020-03-17T10:42:41+08:00 [API] 1211023290094358@ msg: trace_stopping,