信息推送成功后,客户端正常订阅,但客户端订阅成功之后掉线一分钟

环境

  • EMQX 版本:
  • 操作系统版本:
    2024-02-21T10:39:42.987584+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45253 msg: mqtt_packet_received, packet: PINGREQ(Q0, R0, D0)
    2024-02-21T10:39:42.987671+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45253 msg: mqtt_packet_sent, packet: PINGRESP(Q0, R0, D0)
    2024-02-21T10:40:02.475902+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45253 msg: mqtt_packet_sent, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“biz_content”:{“area_list”:[{“area_id”:0,“font_index”:3,“text”:“欢迎光临”,“color_index”:0},{“area_id”:1,“font_index”:3,“text”:“肯维智能科技”,“color_index”:1},{“area_id”:2,“font_index”:3,“text”:“空位:99”,“color_index”:0},{“area_id”:3,“font_index”:3,“text”:“浙BDN7793”,“color_index”:1}]},“method”:“uptate_park_space”,“serverTopic”:“device/TX/46:FD:9E:7B:6E:B3”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”})
    2024-02-21T10:40:02.489583+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45253 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200})
    2024-02-21T10:40:02.489679+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45253 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: false], topic: device/TX/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:40:02.489750+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45253 msg: publish_to, topic: device/TX/46:FD:9E:7B:6E:B3, payload: {“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200}
    2024-02-21T10:40:02.489815+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45253 msg: mqtt_packet_sent, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200})
    2024-02-21T10:40:02.504238+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45253 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=¿þç0µFàøKø[¬BÐOðÿ00½¢ñ¢²ñÑ, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:202})
    2024-02-21T10:40:02.504299+08:00 [SOCKET] 46:FD:9E:7B:6E:B3@180.154.123.245:45253 msg: socket_force_closed, reason: topic_name_invalid
    2024-02-21T10:40:02.504361+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45253 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 1, retain: true], topic: device/state/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:40:02.504418+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45253 msg: publish_to, topic: device/state/46:FD:9E:7B:6E:B3, payload: {“device_id”:“46:FD:9E:7B:6E:B3”,“online”:0}
    2024-02-21T10:40:02.504622+08:00 [SOCKET] 46:FD:9E:7B:6E:B3@180.154.123.245:45253 msg: emqx_connection_terminated, reason: {shutdown,topic_name_invalid}
    2024-02-21T10:41:05.503840+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: mqtt_packet_received, packet: CONNECT(Q0, R0, D0, ClientId=46:FD:9E:7B:6E:B3, ProtoName=MQTT, ProtoVsn=4, CleanStart=true, KeepAlive=60, Username=led01, Password=, Will(Q1, R1, Topic=device/state/46:FD:9E:7B:6E:B3 Payload={“device_id”:“46:FD:9E:7B:6E:B3”,“online”:0}))
    2024-02-21T10:41:05.503972+08:00 [AUTHN] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: authenticator_result, authenticator: password_based:built_in_database, result: {ok,#{is_superuser => false}}
    2024-02-21T10:41:05.504013+08:00 [AUTHN] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: authentication_result, reason: chain_result, result: {stop,{ok,#{is_superuser => false}}}
    2024-02-21T10:41:05.504339+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: mqtt_packet_sent, packet: CONNACK(Q0, R0, D0, AckFlags=0, ReasonCode=0)
    2024-02-21T10:41:05.523620+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: mqtt_packet_received, packet: SUBSCRIBE(Q1, R0, D0, PacketId=2 TopicFilters=[46:FD:9E:7B:6E:B3(#{nl => 0,qos => 0,rap => 0,rh => 0})])
    2024-02-21T10:41:05.523709+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: subscribe, qos: 0], topic: 46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:41:05.523775+08:00 [SUBSCRIBE] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: subscribe, sub_id: 46:FD:9E:7B:6E:B3, sub_opts: [nl: 0, qos: 0, rap: 0, rh: 0, sub_props: []], topic: 46:FD:9E:7B:6E:B3
    2024-02-21T10:41:05.523931+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: mqtt_packet_sent, packet: SUBACK(Q0, R0, D0, PacketId=2, ReasonCodes=[0])
    2024-02-21T10:41:05.543862+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: mqtt_packet_received, packet: SUBSCRIBE(Q1, R0, D0, PacketId=3 TopicFilters=[device/TX/46:FD:9E:7B:6E:B3(#{nl => 0,qos => 0,rap => 0,rh => 0})])
    2024-02-21T10:41:05.543960+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: subscribe, qos: 0], topic: device/TX/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:41:05.544039+08:00 [SUBSCRIBE] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: subscribe, sub_id: 46:FD:9E:7B:6E:B3, sub_opts: [nl: 0, qos: 0, rap: 0, rh: 0, sub_props: []], topic: device/TX/46:FD:9E:7B:6E:B3
    2024-02-21T10:41:05.544163+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: mqtt_packet_sent, packet: SUBACK(Q0, R0, D0, PacketId=3, ReasonCodes=[0])
    2024-02-21T10:41:05.563747+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=device/ledLogin, PacketId=undefined, Payload={“method”:“restart”,“uuid”:“46:FD:9E:7B:6E:B3”})
    2024-02-21T10:41:05.563820+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: false], topic: device/ledLogin, username: led01
    2024-02-21T10:41:05.563881+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: publish_to, topic: device/ledLogin, payload: {“method”:“restart”,“uuid”:“46:FD:9E:7B:6E:B3”}
    2024-02-21T10:41:05.564491+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: mqtt_packet_received, packet: PUBLISH(Q0, R1, D0, Topic=device/state/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“device_id”:“46:FD:9E:7B:6E:B3”,“online”:1})
    2024-02-21T10:41:05.564565+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: true], topic: device/state/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:41:05.564615+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: publish_to, topic: device/state/46:FD:9E:7B:6E:B3, payload: {“device_id”:“46:FD:9E:7B:6E:B3”,“online”:1}
    2024-02-21T10:41:11.988298+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: mqtt_packet_sent, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“biz_content”:{“area_list”:[{“area_id”:0,“font_index”:3,“text”:“欢迎光临”,“color_index”:0},{“area_id”:1,“font_index”:3,“text”:“肯维智能科技”,“color_index”:1},{“area_id”:2,“font_index”:3,“text”:“空位:101”,“color_index”:0},{“area_id”:3,“font_index”:3,“text”:“浙BDB0966”,“color_index”:1}]},“method”:“uptate_park_space”,“serverTopic”:“device/TX/46:FD:9E:7B:6E:B3”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”})
    2024-02-21T10:41:12.006934+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200})
    2024-02-21T10:41:12.007052+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: false], topic: device/TX/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:41:12.007120+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: publish_to, topic: device/TX/46:FD:9E:7B:6E:B3, payload: {“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200}
    2024-02-21T10:41:12.007204+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: mqtt_packet_sent, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200})
    2024-02-21T10:41:12.027904+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=¿þç0µFàøKø[¬BÐOðÿ00½¢ñ¢²ñÑ, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:202})
    2024-02-21T10:41:12.027966+08:00 [SOCKET] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: socket_force_closed, reason: topic_name_invalid
    2024-02-21T10:41:12.028037+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 1, retain: true], topic: device/state/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:41:12.028108+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: publish_to, topic: device/state/46:FD:9E:7B:6E:B3, payload: {“device_id”:“46:FD:9E:7B:6E:B3”,“online”:0}
    2024-02-21T10:41:12.028320+08:00 [SOCKET] 46:FD:9E:7B:6E:B3@180.154.123.245:45254 msg: emqx_connection_terminated, reason: {shutdown,topic_name_invalid}
    2024-02-21T10:42:15.478047+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: mqtt_packet_received, packet: CONNECT(Q0, R0, D0, ClientId=46:FD:9E:7B:6E:B3, ProtoName=MQTT, ProtoVsn=4, CleanStart=true, KeepAlive=60, Username=led01, Password=
    , Will(Q1, R1, Topic=device/state/46:FD:9E:7B:6E:B3 Payload={“device_id”:“46:FD:9E:7B:6E:B3”,“online”:0}))
    2024-02-21T10:42:15.478180+08:00 [AUTHN] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: authenticator_result, authenticator: password_based:built_in_database, result: {ok,#{is_superuser => false}}
    2024-02-21T10:42:15.478220+08:00 [AUTHN] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: authentication_result, reason: chain_result, result: {stop,{ok,#{is_superuser => false}}}
    2024-02-21T10:42:15.478556+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: mqtt_packet_sent, packet: CONNACK(Q0, R0, D0, AckFlags=0, ReasonCode=0)
    2024-02-21T10:42:15.498195+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: mqtt_packet_received, packet: SUBSCRIBE(Q1, R0, D0, PacketId=2 TopicFilters=[46:FD:9E:7B:6E:B3(#{nl => 0,qos => 0,rap => 0,rh => 0})])
    2024-02-21T10:42:15.498322+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: subscribe, qos: 0], topic: 46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:42:15.498406+08:00 [SUBSCRIBE] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: subscribe, sub_id: 46:FD:9E:7B:6E:B3, sub_opts: [nl: 0, qos: 0, rap: 0, rh: 0, sub_props: ], topic: 46:FD:9E:7B:6E:B3
    2024-02-21T10:42:15.498602+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: mqtt_packet_sent, packet: SUBACK(Q0, R0, D0, PacketId=2, ReasonCodes=[0])
    2024-02-21T10:42:15.510188+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: mqtt_packet_received, packet: SUBSCRIBE(Q1, R0, D0, PacketId=3 TopicFilters=[device/TX/46:FD:9E:7B:6E:B3(#{nl => 0,qos => 0,rap => 0,rh => 0})])
    2024-02-21T10:42:15.510293+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: subscribe, qos: 0], topic: device/TX/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:42:15.510381+08:00 [SUBSCRIBE] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: subscribe, sub_id: 46:FD:9E:7B:6E:B3, sub_opts: [nl: 0, qos: 0, rap: 0, rh: 0, sub_props: ], topic: device/TX/46:FD:9E:7B:6E:B3
    2024-02-21T10:42:15.510526+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: mqtt_packet_sent, packet: SUBACK(Q0, R0, D0, PacketId=3, ReasonCodes=[0])
    2024-02-21T10:42:15.530056+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=device/ledLogin, PacketId=undefined, Payload={“method”:“restart”,“uuid”:“46:FD:9E:7B:6E:B3”})
    2024-02-21T10:42:15.530148+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: false], topic: device/ledLogin, username: led01
    2024-02-21T10:42:15.530218+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: publish_to, topic: device/ledLogin, payload: {“method”:“restart”,“uuid”:“46:FD:9E:7B:6E:B3”}
    2024-02-21T10:42:15.530776+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: mqtt_packet_received, packet: PUBLISH(Q0, R1, D0, Topic=device/state/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“device_id”:“46:FD:9E:7B:6E:B3”,“online”:1})
    2024-02-21T10:42:15.530848+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: true], topic: device/state/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:42:15.530898+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: publish_to, topic: device/state/46:FD:9E:7B:6E:B3, payload: {“device_id”:“46:FD:9E:7B:6E:B3”,“online”:1}
    2024-02-21T10:42:18.874825+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: mqtt_packet_sent, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“biz_content”:{“area_list”:[{“area_id”:0,“font_index”:3,“text”:“欢迎光临”,“color_index”:0},{“area_id”:1,“font_index”:3,“text”:“肯维智能科技”,“color_index”:1},{“area_id”:2,“font_index”:3,“text”:“空位:105”,“color_index”:0},{“area_id”:3,“font_index”:3,“text”:“浙B330KC”,“color_index”:1}]},“method”:“uptate_park_space”,“serverTopic”:“device/TX/46:FD:9E:7B:6E:B3”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”})
    2024-02-21T10:42:18.887817+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200})
    2024-02-21T10:42:18.887913+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: false], topic: device/TX/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:42:18.887980+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: publish_to, topic: device/TX/46:FD:9E:7B:6E:B3, payload: {“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200}
    2024-02-21T10:42:18.888051+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: mqtt_packet_sent, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200})
    2024-02-21T10:42:18.900152+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=¿þç0µFàøKø[¬BÐOðÿ00½¢ñ¢²ñÑ, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:202})
    2024-02-21T10:42:18.900217+08:00 [SOCKET] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: socket_force_closed, reason: topic_name_invalid
    2024-02-21T10:42:18.900290+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 1, retain: true], topic: device/state/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:42:18.900366+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: publish_to, topic: device/state/46:FD:9E:7B:6E:B3, payload: {“device_id”:“46:FD:9E:7B:6E:B3”,“online”:0}
    2024-02-21T10:42:18.900575+08:00 [SOCKET] 46:FD:9E:7B:6E:B3@180.154.123.245:45255 msg: emqx_connection_terminated, reason: {shutdown,topic_name_invalid}
    2024-02-21T10:43:21.896986+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_received, packet: CONNECT(Q0, R0, D0, ClientId=46:FD:9E:7B:6E:B3, ProtoName=MQTT, ProtoVsn=4, CleanStart=true, KeepAlive=60, Username=led01, Password=, Will(Q1, R1, Topic=device/state/46:FD:9E:7B:6E:B3 Payload={“device_id”:“46:FD:9E:7B:6E:B3”,“online”:0}))
    2024-02-21T10:43:21.897123+08:00 [AUTHN] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: authenticator_result, authenticator: password_based:built_in_database, result: {ok,#{is_superuser => false}}
    2024-02-21T10:43:21.897164+08:00 [AUTHN] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: authentication_result, reason: chain_result, result: {stop,{ok,#{is_superuser => false}}}
    2024-02-21T10:43:21.897532+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_sent, packet: CONNACK(Q0, R0, D0, AckFlags=0, ReasonCode=0)
    2024-02-21T10:43:21.918425+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_received, packet: SUBSCRIBE(Q1, R0, D0, PacketId=2 TopicFilters=[46:FD:9E:7B:6E:B3(#{nl => 0,qos => 0,rap => 0,rh => 0})])
    2024-02-21T10:43:21.918556+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: subscribe, qos: 0], topic: 46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:43:21.918629+08:00 [SUBSCRIBE] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: subscribe, sub_id: 46:FD:9E:7B:6E:B3, sub_opts: [nl: 0, qos: 0, rap: 0, rh: 0, sub_props: []], topic: 46:FD:9E:7B:6E:B3
    2024-02-21T10:43:21.918817+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_sent, packet: SUBACK(Q0, R0, D0, PacketId=2, ReasonCodes=[0])
    2024-02-21T10:43:21.938681+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_received, packet: SUBSCRIBE(Q1, R0, D0, PacketId=3 TopicFilters=[device/TX/46:FD:9E:7B:6E:B3(#{nl => 0,qos => 0,rap => 0,rh => 0})])
    2024-02-21T10:43:21.938833+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: subscribe, qos: 0], topic: device/TX/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:43:21.938926+08:00 [SUBSCRIBE] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: subscribe, sub_id: 46:FD:9E:7B:6E:B3, sub_opts: [nl: 0, qos: 0, rap: 0, rh: 0, sub_props: []], topic: device/TX/46:FD:9E:7B:6E:B3
    2024-02-21T10:43:21.939087+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_sent, packet: SUBACK(Q0, R0, D0, PacketId=3, ReasonCodes=[0])
    2024-02-21T10:43:21.958537+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=device/ledLogin, PacketId=undefined, Payload={“method”:“restart”,“uuid”:“46:FD:9E:7B:6E:B3”})
    2024-02-21T10:43:21.958671+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: false], topic: device/ledLogin, username: led01
    2024-02-21T10:43:21.958749+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: publish_to, topic: device/ledLogin, payload: {“method”:“restart”,“uuid”:“46:FD:9E:7B:6E:B3”}
    2024-02-21T10:43:21.959283+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_received, packet: PUBLISH(Q0, R1, D0, Topic=device/state/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“device_id”:“46:FD:9E:7B:6E:B3”,“online”:1})
    2024-02-21T10:43:21.959386+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: true], topic: device/state/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:43:21.959447+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: publish_to, topic: device/state/46:FD:9E:7B:6E:B3, payload: {“device_id”:“46:FD:9E:7B:6E:B3”,“online”:1}
    2024-02-21T10:43:26.247929+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_sent, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“biz_content”:{“area_list”:[{“area_id”:0,“font_index”:3,“text”:“欢迎光临”,“color_index”:0},{“area_id”:1,“font_index”:3,“text”:“肯维智能科技”,“color_index”:1},{“area_id”:2,“font_index”:3,“text”:“空位:103”,“color_index”:0},{“area_id”:3,“font_index”:3,“text”:“浙B6ZK27”,“color_index”:1}]},“method”:“uptate_park_space”,“serverTopic”:“device/TX/46:FD:9E:7B:6E:B3”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”})
    2024-02-21T10:43:26.270973+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200})
    2024-02-21T10:43:26.271085+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: false], topic: device/TX/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:43:26.271157+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: publish_to, topic: device/TX/46:FD:9E:7B:6E:B3, payload: {“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200}
    2024-02-21T10:43:26.271235+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_sent, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200})
    2024-02-21T10:43:26.291564+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=¿þç0µFàøKø[¬BÐOðÿ00½¢ñ¢²ñÑ, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:202})
    2024-02-21T10:43:26.291638+08:00 [SOCKET] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: socket_force_closed, reason: topic_name_invalid
    2024-02-21T10:43:26.291717+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 1, retain: true], topic: device/state/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:43:26.291791+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: publish_to, topic: device/state/46:FD:9E:7B:6E:B3, payload: {“device_id”:“46:FD:9E:7B:6E:B3”,“online”:0}
    2024-02-21T10:43:26.291983+08:00 [SOCKET] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: emqx_connection_terminated, reason: {shutdown,topic_name_invalid}
    2024-02-21T10:44:29.392025+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_received, packet: CONNECT(Q0, R0, D0, ClientId=46:FD:9E:7B:6E:B3, ProtoName=MQTT, ProtoVsn=4, CleanStart=true, KeepAlive=60, Username=led01, Password=
    , Will(Q1, R1, Topic=device/state/46:FD:9E:7B:6E:B3 Payload={“device_id”:“46:FD:9E:7B:6E:B3”,“online”:0}))
    2024-02-21T10:44:29.392156+08:00 [AUTHN] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: authenticator_result, authenticator: password_based:built_in_database, result: {ok,#{is_superuser => false}}
    2024-02-21T10:44:29.392198+08:00 [AUTHN] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: authentication_result, reason: chain_result, result: {stop,{ok,#{is_superuser => false}}}
    2024-02-21T10:44:29.392558+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_sent, packet: CONNACK(Q0, R0, D0, AckFlags=0, ReasonCode=0)
    2024-02-21T10:44:29.411774+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_received, packet: SUBSCRIBE(Q1, R0, D0, PacketId=2 TopicFilters=[46:FD:9E:7B:6E:B3(#{nl => 0,qos => 0,rap => 0,rh => 0})])
    2024-02-21T10:44:29.411868+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: subscribe, qos: 0], topic: 46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:44:29.411937+08:00 [SUBSCRIBE] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: subscribe, sub_id: 46:FD:9E:7B:6E:B3, sub_opts: [nl: 0, qos: 0, rap: 0, rh: 0, sub_props: ], topic: 46:FD:9E:7B:6E:B3
    2024-02-21T10:44:29.412113+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_sent, packet: SUBACK(Q0, R0, D0, PacketId=2, ReasonCodes=[0])
    2024-02-21T10:44:29.432010+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_received, packet: SUBSCRIBE(Q1, R0, D0, PacketId=3 TopicFilters=[device/TX/46:FD:9E:7B:6E:B3(#{nl => 0,qos => 0,rap => 0,rh => 0})])
    2024-02-21T10:44:29.432116+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: subscribe, qos: 0], topic: device/TX/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:44:29.432202+08:00 [SUBSCRIBE] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: subscribe, sub_id: 46:FD:9E:7B:6E:B3, sub_opts: [nl: 0, qos: 0, rap: 0, rh: 0, sub_props: ], topic: device/TX/46:FD:9E:7B:6E:B3
    2024-02-21T10:44:29.432345+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_sent, packet: SUBACK(Q0, R0, D0, PacketId=3, ReasonCodes=[0])
    2024-02-21T10:44:29.451939+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=device/ledLogin, PacketId=undefined, Payload={“method”:“restart”,“uuid”:“46:FD:9E:7B:6E:B3”})
    2024-02-21T10:44:29.452028+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: false], topic: device/ledLogin, username: led01
    2024-02-21T10:44:29.452094+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: publish_to, topic: device/ledLogin, payload: {“method”:“restart”,“uuid”:“46:FD:9E:7B:6E:B3”}
    2024-02-21T10:44:29.452616+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_received, packet: PUBLISH(Q0, R1, D0, Topic=device/state/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“device_id”:“46:FD:9E:7B:6E:B3”,“online”:1})
    2024-02-21T10:44:29.452687+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: true], topic: device/state/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:44:29.452738+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: publish_to, topic: device/state/46:FD:9E:7B:6E:B3, payload: {“device_id”:“46:FD:9E:7B:6E:B3”,“online”:1}
    2024-02-21T10:45:29.455506+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_received, packet: PINGREQ(Q0, R0, D0)
    2024-02-21T10:45:29.455586+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_sent, packet: PINGRESP(Q0, R0, D0)
    2024-02-21T10:46:09.013086+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_sent, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“biz_content”:{“area_list”:[{“area_id”:0,“font_index”:3,“text”:“欢迎光临”,“color_index”:0},{“area_id”:1,“font_index”:3,“text”:“肯维智能科技”,“color_index”:1},{“area_id”:2,“font_index”:3,“text”:“空位:105”,“color_index”:0},{“area_id”:3,“font_index”:3,“text”:“浙BBN396”,“color_index”:1}]},“method”:“uptate_park_space”,“serverTopic”:“device/TX/46:FD:9E:7B:6E:B3”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”})
    2024-02-21T10:46:09.025376+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200})
    2024-02-21T10:46:09.025478+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 0, retain: false], topic: device/TX/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:46:09.025544+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: publish_to, topic: device/TX/46:FD:9E:7B:6E:B3, payload: {“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200}
    2024-02-21T10:46:09.025601+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_sent, packet: PUBLISH(Q0, R0, D0, Topic=device/TX/46:FD:9E:7B:6E:B3, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:200})
    2024-02-21T10:46:09.036594+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=¿þç0µFàøKø[¬BÐOðÿ00½¢ñ¢²ñÑ, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:202})
    2024-02-21T10:46:09.036651+08:00 [SOCKET] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: socket_force_closed, reason: topic_name_invalid
    2024-02-21T10:46:09.036706+08:00 [AUTHZ] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: authorization_module_nomatch, ipaddr: {180,154,123,245}, module: emqx_authz_client_info, pub_sub: [action_type: publish, qos: 1, retain: true], topic: device/state/46:FD:9E:7B:6E:B3, username: led01
    2024-02-21T10:46:09.036758+08:00 [PUBLISH] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: publish_to, topic: device/state/46:FD:9E:7B:6E:B3, payload: {“device_id”:“46:FD:9E:7B:6E:B3”,“online”:0}
    2024-02-21T10:46:09.036988+08:00 [SOCKET] 46:FD:9E:7B:6E:B3@180.154.123.245:45257 msg: emqx_connection_terminated, reason: {shutdown,topic_name_invalid}
    2024-02-21T10:47:12.083353+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45258 msg: mqtt_packet_received, packet: CONNECT(Q0, R0, D0, ClientId=46:FD:9E:7B:6E:B3, ProtoName=MQTT, ProtoVsn=4, CleanStart=true, KeepAlive=60, Username=led01, Password=******, Will(Q1, R1, Topic=device/state/46:FD:9E:7B:6E:B3 Payload={“device_id”:“46:FD:9E:7B:6E:B3”,“online”:0}))
    2024-02-21T10:47:12.083494+08:00 [AUTHN] 46:FD:9E:7B:6E:B3@180.154.123.245:45258 msg: authenticator_result, authenticator: password_based:built_in_database, result: {ok,#{is_superuser => false}}
    2024-02-21T10:47:12.083535+08:00 [AUTHN] 46:FD:9E:7B:6E:B3@180.154.123.245:45258 msg:
2024-02-21T10:43:26.291564+08:00 [MQTT] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: mqtt_packet_received, packet: PUBLISH(Q0, R0, D0, Topic=¿þç0µFàøKø[¬BÐOðÿ00½¢ñ¢²ñÑ, PacketId=undefined, Payload={“method”:“uptate_park_space”,“uuid”:“2c9666d18d6c3dc6018d6d2d37920340”,“code”:202})
2024-02-21T10:43:26.291638+08:00 [SOCKET] 46:FD:9E:7B:6E:B3@180.154.123.245:45256 msg: socket_force_closed, reason: topic_name_invalid

topic_name_invalid 是说主题不是合法的的 UTF8 字符。

Topic=device/TX/46:FD:9E:7B:6E:B3
topic不是UTF8?如此有非法字符吗?

这个没有问题的。只要是正常的 UTF8 字符串都行。