keepalive_timeout问题

2026-05-07T08:55:58.193997+00:00 [PUBLISH] clientId@192.168.3.11:35028 msg: publish_to, payload_encode: text, topic: thing/product/clientId/osd, username: user, payload: {“tid”:“00d2e12b-d4d7-46ca-8006-09b40bee770a”,“bid”:“4e4ee9e5-825f-480e-a62a-47aa3d11c3c7”,"timestam…(1051 bytes)
2026-05-07T08:55:58.194325+00:00 [MQTT] clientId@192.168.3.11:35028 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=thing/product/clientId/osd, PacketId=undefined, Payload(text)={“tid”:“6f18d9e9-d158-4cf9-a3bb-ebf5520b1dd9”,“bid”:“d343e73a-9a0d-4266-9bca-e80ba60fd650”,"timestam…(1001 bytes)), username: user
2026-05-07T08:55:58.194379+00:00 [PUBLISH] clientId@192.168.3.11:35028 msg: publish_to, payload_encode: text, topic: thing/product/clientId/osd, username: user, payload: {“tid”:“6f18d9e9-d158-4cf9-a3bb-ebf5520b1dd9”,“bid”:“d343e73a-9a0d-4266-9bca-e80ba60fd650”,"timestam…(1001 bytes)
2026-05-07T08:55:59.504343+00:00 [MQTT] clientId@192.168.3.11:35028 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=thing/product/clientId/osd, PacketId=undefined, Payload(text)={“tid”:“0860cc8c-ce2e-40b0-8558-e58511e77f3a”,“bid”:“6ca48153-1d89-442c-8494-890221756d87”,"timestam…(1048 bytes)), username: user
2026-05-07T08:55:59.504446+00:00 [PUBLISH] clientId@192.168.3.11:35028 msg: publish_to, payload_encode: text, topic: thing/product/clientId/osd, username: user, payload: {“tid”:“0860cc8c-ce2e-40b0-8558-e58511e77f3a”,“bid”:“6ca48153-1d89-442c-8494-890221756d87”,"timestam…(1048 bytes)
2026-05-07T08:55:59.504836+00:00 [MQTT] clientId@192.168.3.11:35028 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=thing/product/clientId/osd, PacketId=undefined, Payload(text)={“tid”:“ec71d2cf-bb5f-4673-99e0-66d91d4ed687”,“bid”:“a5e47387-dcfb-411a-80a5-ee59c1013639”,"timestam…(1002 bytes)), username: user
2026-05-07T08:55:59.504884+00:00 [PUBLISH] clientId@192.168.3.11:35028 msg: publish_to, payload_encode: text, topic: thing/product/clientId/osd, username: user, payload: {“tid”:“ec71d2cf-bb5f-4673-99e0-66d91d4ed687”,“bid”:“a5e47387-dcfb-411a-80a5-ee59c1013639”,"timestam…(1002 bytes)
2026-05-07T08:56:33.950460+00:00 [SOCKET] clientId@192.168.3.11:35028 msg: socket_force_closed, reason: keepalive_timeout, username: user
2026-05-07T08:56:33.950617+00:00 [SOCKET] clientId@192.168.3.11:35028 msg: emqx_connection_terminated, reason: {shutdown,keepalive_timeout}, username: user

请问这个该怎么排查?新人求助

贴下这个客户端的 CONNECT keepalive 值(秒)和客户端 SDK 名称/版本。
你这是从8点55:59后一直没发mqtt包到8点56:33就断开了,只有34秒,就断了,应该是你connect包的keepalive设得太小了:smiling_face_with_tear: