coap协议数据丢失

emqx5.7版本
使用coap协议无连接模式
一个客户端订阅test主题。一个客户端发送主题消息
大概代码如下

for (int i = 0; i < 300; i++) {
            CoapClient client = new CoapClient("coap://172.30.13.222:5683/ps/test");
            Map<String, Object> map = new HashMap<>();
            map.put("int", i);
            map.put("txt", UUID.randomUUID().toString());
            map.put("clientId", "f7005374577147c3b1c4730475958a72");
            String message = JSONObject.toJSONString(map);
            Request request = Request.newPost();
            request.setPayload(message.getBytes());
            request.getOptions().setContentFormat(MediaTypeRegistry.TEXT_PLAIN);
            // 发送POST请求
            CoapResponse response = client.advanced(request);
            // 检查响应状态
            if (response != null) {
                System.out.println("Message published successfully: " + response.getResponseText());
            } else {
                System.err.println("Failed to publish message.");
            }
            System.out.println("i is " + i);
            Thread.sleep(500);
        }

客户端向test主题每0,。5秒发送一条消息
两一个客户端接收消息中间有一半消息丢失,大概是一分钟有消息,一分钟没有消息
emqx的日志是正常的,客户端接收到消息的情况如下

coap协议 Received message: {"txt":"8564ee13-f8fe-466b-bf46-4a733e9b2b09","clientId":"f7005374577147c3b1c4730475958a72","int":145}
coap协议 Received message: {"txt":"52448a6d-eb4a-45c8-b69c-6a3e7056376a","clientId":"f7005374577147c3b1c4730475958a72","int":146}
coap协议 Received message: {"txt":"a0c73efd-5f0d-4d39-a56c-a58458bfbb5b","clientId":"f7005374577147c3b1c4730475958a72","int":147}
coap协议 Received message: {"txt":"74bf2404-a7e1-4c18-ab71-346b34b2e90a","clientId":"f7005374577147c3b1c4730475958a72","int":148}
coap协议 Received message: {"txt":"43d3ab3d-ac8a-4cae-988c-c50a9e6eac72","clientId":"f7005374577147c3b1c4730475958a72","int":149}
coap协议 Received message: {"txt":"5e24f6fb-f479-47f0-bf53-0a3fd3d1c9f2","clientId":"f7005374577147c3b1c4730475958a72","int":150}
coap协议 Received message: {"txt":"bd22e721-7c75-4fad-9c3a-e0316306e78e","clientId":"f7005374577147c3b1c4730475958a72","int":151}
coap协议 Received message: {"txt":"267ea9cc-fcf5-458b-a081-efc0727388a7","clientId":"f7005374577147c3b1c4730475958a72","int":152}
coap协议 Received message: {"txt":"421ee4cc-c3f0-422a-a1a6-232c6dbf7645","clientId":"f7005374577147c3b1c4730475958a72","int":153}
coap协议 Received message: {"txt":"44c731c8-217c-42e9-8f40-60aa3200102a","clientId":"f7005374577147c3b1c4730475958a72","int":154}
coap协议 Received message: {"txt":"5c6a280d-d7d3-4304-ad51-9b1118858220","clientId":"f7005374577147c3b1c4730475958a72","int":268}
coap协议 Received message: {"txt":"82757460-7769-4187-9780-a0598c2b9db6","clientId":"f7005374577147c3b1c4730475958a72","int":269}
coap协议 Received message: {"txt":"d1e36a45-b5bd-40a8-8c2d-4e5c959f868a","clientId":"f7005374577147c3b1c4730475958a72","int":270}
coap协议 Received message: {"txt":"ab80d31e-680d-42b6-bd19-d893b3f31b94","clientId":"f7005374577147c3b1c4730475958a72","int":271}
coap协议 Received message: {"txt":"29f5afc2-a5d8-4a7c-81ab-1d174d5ce1f9","clientId":"f7005374577147c3b1c4730475958a72","int":272}
coap协议 Received message: {"txt":"f9fa22a8-7288-499f-9700-bc25edd6a9fa","clientId":"f7005374577147c3b1c4730475958a72","int":273}
coap协议 Received message: {"txt":"ded228d9-3b53-466d-870a-b75936495afd","clientId":"f7005374577147c3b1c4730475958a72","int":274}
coap协议 Received message: {"txt":"a010d867-8b56-437b-b84f-68e2f1e34ca8","clientId":"f7005374577147c3b1c4730475958a72","int":275}

请问是什么原因导致大概每一分钟就有消息丢失,过一分钟就是正常的,是需要添加什么配置吗?

感谢反馈,我们安排人进行排查下,如果是bug我们尽快修复

希望排查原因,如果是需要修改什么配置,麻烦告诉我一下

linux环境centos7.4
emqx版本是5.7.2
coap是无连接模式
java客户端订阅主题,关键代码如下

 CoapClient client = new CoapClient("coap://172.30.13.222:5683/ps/test");
        // 设置回调处理器
        CoapObserveRelation observe = client.observeAndWait(new CoapHandler() {
            @Override
            public void onLoad(CoapResponse response) {
                System.out.println("Received message: " + response.getResponseText());
            }

            @Override
            public void onError() {
                System.err.println("Error occurred while observing the topic.");
            }
        });

另一个客户端每隔0.5秒发送消息
关键代码如下

CoapClient client = new CoapClient("coap://172.30.13.222:5683/ps/test");
        for (int i = 0; i < 300; i++) {
            Request request = Request.newPost();
            Map<String, Object> map = new HashMap<>();
            map.put("number", i);
            String message = JSONObject.toJSONString(map);
            request.setPayload(message.getBytes());
            request.getOptions().setContentFormat(MediaTypeRegistry.TEXT_PLAIN);
            // 发送POST请求
            Thread.sleep(500);
            client.advanced(request);
        }

订阅者每隔一段时间就接收不到消息
订阅端关键日志如下:
16:55:41.375 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.BaseMatcher - re-created exchange from original observe request: CON-GET MID=36248, Token=[6589a892d71c868c], OptionSet={“Observe”:0, “Uri-Path”:[“ps”,“test”]}, no payload
Received message: {“number”:14,“test”:“5575fa20-f062-4b70-badf-168e809d3886”}
16:55:41.922 [UDP-Receiver-0.0.0.0/0.0.0.0:0[6]] DEBUG org.eclipse.californium.elements.UDPConnector - UDPConnector (0.0.0.0/0.0.0.0:55317) received 74 bytes from /172.30.13.222:5683
16:55:41.922 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.observe.InMemoryObservationStore - looking up observation for token Token[[6589a892d71c868c]]
16:55:41.923 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.BaseMatcher - re-created exchange from original observe request: CON-GET MID=36248, Token=[6589a892d71c868c], OptionSet={“Observe”:0, “Uri-Path”:[“ps”,“test”]}, no payload
Received message: {“number”:15,“test”:“06241906-d5ba-4df3-9f70-50f1458c2142”}
16:55:42.467 [UDP-Receiver-0.0.0.0/0.0.0.0:0[7]] DEBUG org.eclipse.californium.elements.UDPConnector - UDPConnector (0.0.0.0/0.0.0.0:55317) received 74 bytes from /172.30.13.222:5683
16:55:42.467 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.observe.InMemoryObservationStore - looking up observation for token Token[[6589a892d71c868c]]
16:55:42.467 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.BaseMatcher - re-created exchange from original observe request: CON-GET MID=36248, Token=[6589a892d71c868c], OptionSet={“Observe”:0, “Uri-Path”:[“ps”,“test”]}, no payload
Received message: {“number”:16,“test”:“5018baa6-f7ae-45d8-af7b-c10d21659f3b”}
16:55:42.997 [UDP-Receiver-0.0.0.0/0.0.0.0:0[5]] DEBUG org.eclipse.californium.elements.UDPConnector - UDPConnector (0.0.0.0/0.0.0.0:55317) received 74 bytes from /172.30.13.222:5683
16:55:42.998 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.observe.InMemoryObservationStore - looking up observation for token Token[[6589a892d71c868c]]
16:55:42.998 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.BaseMatcher - re-created exchange from original observe request: CON-GET MID=36248, Token=[6589a892d71c868c], OptionSet={“Observe”:0, “Uri-Path”:[“ps”,“test”]}, no payload
Received message: {“number”:17,“test”:“e7a5b7b9-3e36-4f52-a04b-50f238dcb396”}
16:55:43.415 [Deduplicator1] DEBUG org.eclipse.californium.core.network.deduplication.SweepDeduplicator - Sweep run took 0ms
16:55:53.431 [Deduplicator1] DEBUG org.eclipse.californium.core.network.deduplication.SweepDeduplicator - Sweep run took 0ms
16:56:03.436 [Deduplicator1] DEBUG org.eclipse.californium.core.network.deduplication.SweepDeduplicator - Sweep run took 0ms
16:56:13.437 [Deduplicator1] DEBUG org.eclipse.californium.core.network.deduplication.SweepDeduplicator - Sweep run took 0ms
16:56:23.447 [Deduplicator1] DEBUG org.eclipse.californium.core.network.deduplication.SweepDeduplicator - Sweep run took 0ms
16:56:33.449 [Deduplicator1] DEBUG org.eclipse.californium.core.network.deduplication.SweepDeduplicator - Sweep run took 0ms
16:56:43.461 [Deduplicator1] DEBUG org.eclipse.californium.core.network.deduplication.SweepDeduplicator - Sweep run took 0ms
16:56:45.014 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.stack.ReliabilityLayer - Send request, failed transmissions: 0
16:56:45.015 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.BaseMatcher - registering observe request CON-GET MID= -1, Token=[6589a892d71c868c], OptionSet={“Observe”:0, “Uri-Path”:[“ps”,“test”]}, no payload
16:56:45.015 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.observe.InMemoryObservationStore - replaced observation for token Token[[6589a892d71c868c]]
16:56:45.016 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.UdpMatcher - tracking open request [MID: 36249, Token: [6589a892d71c868c]]
16:56:45.016 [UDP-Sender-0.0.0.0/0.0.0.0:0[0]] DEBUG org.eclipse.californium.elements.UDPConnector - UDPConnector (Thread[UDP-Sender-0.0.0.0/0.0.0.0:0[0],5,Californium/Elements]) sends 21 bytes to /172.30.13.222:5683
16:56:45.047 [UDP-Receiver-0.0.0.0/0.0.0.0:0[3]] DEBUG org.eclipse.californium.elements.UDPConnector - UDPConnector (0.0.0.0/0.0.0.0:55317) received 14 bytes from /172.30.13.222:5683
16:56:45.047 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.InMemoryMessageExchangeStore - removing exchange for MID KeyMID[36249, [ac1e0dde]:5683]
16:56:45.048 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.UdpMatcher - closed open request [KeyMID[36249, [ac1e0dde]:5683]]
16:56:45.048 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.InMemoryMessageExchangeStore - removing exchange for token Token[[6589a892d71c868c]]
16:56:45.048 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.UdpMatcher - Exchange [Token[[6589a892d71c868c]], origin: LOCAL] completed
Received message:
16:56:45.196 [UDP-Receiver-0.0.0.0/0.0.0.0:0[0]] DEBUG org.eclipse.californium.elements.UDPConnector - UDPConnector (0.0.0.0/0.0.0.0:55317) received 75 bytes from /172.30.13.222:5683
16:56:45.197 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.observe.InMemoryObservationStore - looking up observation for token Token[[6589a892d71c868c]]
16:56:45.197 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.BaseMatcher - re-created exchange from original observe request: CON-GET MID=36249, Token=[6589a892d71c868c], OptionSet={“Observe”:0, “Uri-Path”:[“ps”,“test”]}, no payload
Received message: {“number”:131,“test”:“4f8e4b17-78ae-451a-9ef7-895b08d4f8bf”}
16:56:45.738 [UDP-Receiver-0.0.0.0/0.0.0.0:0[2]] DEBUG org.eclipse.californium.elements.UDPConnector - UDPConnector (0.0.0.0/0.0.0.0:55317) received 75 bytes from /172.30.13.222:5683
16:56:45.738 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.observe.InMemoryObservationStore - looking up observation for token Token[[6589a892d71c868c]]
16:56:45.739 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.network.BaseMatcher - re-created exchange from original observe request: CON-GET MID=36249, Token=[6589a892d71c868c], OptionSet={“Observe”:0, “Uri-Path”:[“ps”,“test”]}, no payload
Received message: {“number”:132,“test”:“007b386a-5cbd-4fe6-be65-b435460aef24”}
16:56:46.279 [UDP-Receiver-0.0.0.0/0.0.0.0:0[0]] DEBUG org.eclipse.californium.elements.UDPConnector - UDPConnector (0.0.0.0/0.0.0.0:55317) received 75 bytes from /172.30.13.222:5683
16:56:46.280 [CoapEndpoint-UDP-0.0.0.0/0.0.0.0:0#1] DEBUG org.eclipse.californium.core.observe.InMemoryObservationStore - looking up observation for token Token[[6589a892d71c868c]]
也就是从第17条消息接收到后面就没有消息,过了一个1分钟,后面的消息就可以接收到,然后又过了大概一分钟又不能接收到消息
请问是不是哪里需要添加配置,这个仅仅是coap协议基本使用场景

麻烦提供一个 emqx 的日志

有debug日志,日志太多,截取部分日志如下:
2024-11-04T10:41:47.438741+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,46,246,46,235,116,33,123,129,57,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,53,44,34,116,101,115,116,34,58,34,48,57,49,100,50,50,56,100,45,53,56,54,98,45,52,55,50,51,45,98,50,100,49,45,98,51,100,48,51,101,56,100,51,101,97,55,34,125>>
2024-11-04T10:41:47.439099+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24110, <<246,46,235,116,33,123,129,57>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<“{"number":5,"test":"091d228d-586b-4723-b2d1-b3d03e8d3ea7"}”>>}
2024-11-04T10:41:47.439332+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<“{"number":5,"test":"091d228d-586b-4723-b2d1-b3d03e8d3ea7"}”>>
2024-11-04T10:41:47.439542+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack, {ok,changed}, 24110, <<246,46,235,116,33,123,129,57>>, #{},<<>>}
2024-11-04T10:41:47.439679+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<104,68,94,46,246,46,235,116,33,123,129,57>>
2024-11-04T10:41:47.439663+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35844, <<185,12,211,187,85,109,145,35>>, #{observe => 6}, <<“{"number":5,"test":"091d228d-586b-4723-b2d1-b3d03e8d3ea7"}”>>}
2024-11-04T10:41:47.439908+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,4,185,12,211,187,85,109,145,35,97,6,255,123,34,110,117,109,98,101,114,34,58,53,44,34,116,101,115,116,34,58,34,48,57,49,100,50,50,56,100,45,53,56,54,98,45,52,55,50,51,45,98,50,100,49,45,98,51,100,48,51,101,56,100,51,101,97,55,34,125>>
2024-11-04T10:41:47.979468+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,47,180,63,88,16,194,171,133,237,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,54,44,34,116,101,115,116,34,58,34,48,55,100,57,100,97,48,98,45,102,53,56,56,45,52,52,102,102,45,98,98,50,99,45,54,54,101,56,102,97,57,97,48,97,101,101,34,125>>
2024-11-04T10:41:47.979801+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24111, <<180,63,88,16,194,171,133,237>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<“{"number":6,"test":"07d9da0b-f588-44ff-bb2c-66e8fa9a0aee"}”>>}
2024-11-04T10:41:47.980043+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<“{"number":6,"test":"07d9da0b-f588-44ff-bb2c-66e8fa9a0aee"}”>>
2024-11-04T10:41:47.980312+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack, {ok,changed}, 24111, <<180,63,88,16,194,171,133,237>>, #{},<<>>}
2024-11-04T10:41:47.980435+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<104,68,94,47,180,63,88,16,194,171,133,237>>
2024-11-04T10:41:47.980407+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35845, <<185,12,211,187,85,109,145,35>>, #{observe => 7}, <<“{"number":6,"test":"07d9da0b-f588-44ff-bb2c-66e8fa9a0aee"}”>>}
2024-11-04T10:41:47.980579+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,5,185,12,211,187,85,109,145,35,97,7,255,123,34,110,117,109,98,101,114,34,58,54,44,34,116,101,115,116,34,58,34,48,55,100,57,100,97,48,98,45,102,53,56,56,45,52,52,102,102,45,98,98,50,99,45,54,54,101,56,102,97,57,97,48,97,101,101,34,125>>
2024-11-04T10:41:48.522426+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,48,108,94,67,199,167,108,125,212,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,55,44,34,116,101,115,116,34,58,34,52,54,99,99,98,51,54,48,45,48,48,48,100,45,52,51,97,49,45,98,52,102,98,45,49,54,98,100,100,49,57,50,56,97,97,56,34,125>>
2024-11-04T10:41:48.522847+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24112,<<“l^Cǧl}Ô”>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<“{"number":7,"test":"46ccb360-000d-43a1-b4fb-16bdd1928aa8"}”>>}
2024-11-04T10:41:48.523099+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<“{"number":7,"test":"46ccb360-000d-43a1-b4fb-16bdd1928aa8"}”>>
2024-11-04T10:41:48.523338+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack,{ok,changed},24112,<<“l^Cǧl}Ô”>>,#{},<<>>}
2024-11-04T10:41:48.523456+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<“hD^0l^Cǧl}Ô”>>
2024-11-04T10:41:48.523473+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35846, <<185,12,211,187,85,109,145,35>>, #{observe => 8}, <<“{"number":7,"test":"46ccb360-000d-43a1-b4fb-16bdd1928aa8"}”>>}
2024-11-04T10:41:48.523658+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,6,185,12,211,187,85,109,145,35,97,8,255,123,34,110,117,109,98,101,114,34,58,55,44,34,116,101,115,116,34,58,34,52,54,99,99,98,51,54,48,45,48,48,48,100,45,52,51,97,49,45,98,52,102,98,45,49,54,98,100,100,49,57,50,56,97,97,56,34,125>>
2024-11-04T10:41:49.083569+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,49,144,98,235,204,127,20,233,236,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,56,44,34,116,101,115,116,34,58,34,56,55,56,102,100,101,99,99,45,101,102,100,101,45,52,100,100,49,45,97,53,102,56,45,49,56,52,50,53,51,54,48,50,52,52,54,34,125>>
2024-11-04T10:41:49.083951+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24113, <<144,98,235,204,127,20,233,236>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<“{"number":8,"test":"878fdecc-efde-4dd1-a5f8-184253602446"}”>>}
2024-11-04T10:41:49.084220+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<“{"number":8,"test":"878fdecc-efde-4dd1-a5f8-184253602446"}”>>
2024-11-04T10:41:49.084462+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack, {ok,changed}, 24113, <<144,98,235,204,127,20,233,236>>, #{},<<>>}
2024-11-04T10:41:49.084608+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<104,68,94,49,144,98,235,204,127,20,233,236>>
2024-11-04T10:41:49.084566+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35847, <<185,12,211,187,85,109,145,35>>, #{observe => 9}, <<“{"number":8,"test":"878fdecc-efde-4dd1-a5f8-184253602446"}”>>}
2024-11-04T10:41:49.084742+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,7,185,12,211,187,85,109,145,35,97,9,255,123,34,110,117,109,98,101,114,34,58,56,44,34,116,101,115,116,34,58,34,56,55,56,102,100,101,99,99,45,101,102,100,101,45,52,100,100,49,45,97,53,102,56,45,49,56,52,50,53,51,54,48,50,52,52,54,34,125>>
2024-11-04T10:41:49.623211+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,50,22,182,108,139,123,106,200,147,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,57,44,34,116,101,115,116,34,58,34,99,97,54,53,98,56,49,100,45,55,97,99,99,45,52,53,50,55,45,97,100,56,52,45,52,53,99,55,51,102,53,98,100,56,98,49,34,125>>
2024-11-04T10:41:49.623558+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24114, <<22,182,108,139,123,106,200,147>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<“{"number":9,"test":"ca65b81d-7acc-4527-ad84-45c73f5bd8b1"}”>>}
2024-11-04T10:41:49.623752+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<“{"number":9,"test":"ca65b81d-7acc-4527-ad84-45c73f5bd8b1"}”>>
2024-11-04T10:41:49.624012+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack, {ok,changed}, 24114, <<22,182,108,139,123,106,200,147>>, #{},<<>>}
2024-11-04T10:41:49.624118+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35848, <<185,12,211,187,85,109,145,35>>, #{observe => 10}, <<“{"number":9,"test":"ca65b81d-7acc-4527-ad84-45c73f5bd8b1"}”>>}
2024-11-04T10:41:49.624301+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,8,185,12,211,187,85,109,145,35,97,10,255,123,34,110,117,109,98,101,114,34,58,57,44,34,116,101,115,116,34,58,34,99,97,54,53,98,56,49,100,45,55,97,99,99,45,52,53,50,55,45,97,100,56,52,45,52,53,99,55,51,102,53,98,100,56,98,49,34,125>>
2024-11-04T10:41:49.624256+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<104,68,94,50,22,182,108,139,123,106,200,147>>
2024-11-04T10:41:50.156451+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,51,174,64,35,251,237,217,140,161,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,49,48,44,34,116,101,115,116,34,58,34,102,52,55,100,49,57,57,56,45,100,50,57,55,45,52,50,56,52,45,97,100,55,52,45,99,51,101,52,55,49,51,99,98,98,53,57,34,125>>
2024-11-04T10:41:50.156804+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24115, <<174,64,35,251,237,217,140,161>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<“{"number":10,"test":"f47d1998-d297-4284-ad74-c3e4713cbb59"}”>>}
2024-11-04T10:41:50.157040+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<“{"number":10,"test":"f47d1998-d297-4284-ad74-c3e4713cbb59"}”>>
2024-11-04T10:41:50.157265+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack, {ok,changed}, 24115, <<174,64,35,251,237,217,140,161>>, #{},<<>>}
2024-11-04T10:41:50.157496+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<104,68,94,51,174,64,35,251,237,217,140,161>>
2024-11-04T10:41:50.157374+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35849, <<185,12,211,187,85,109,145,35>>, #{observe => 11}, <<“{"number":10,"test":"f47d1998-d297-4284-ad74-c3e4713cbb59"}”>>}
2024-11-04T10:41:50.157621+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,9,185,12,211,187,85,109,145,35,97,11,255,123,34,110,117,109,98,101,114,34,58,49,48,44,34,116,101,115,116,34,58,34,102,52,55,100,49,57,57,56,45,100,50,57,55,45,52,50,56,52,45,97,100,55,52,45,99,51,101,52,55,49,51,99,98,98,53,57,34,125>>
2024-11-04T10:41:50.721288+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,52,118,77,64,17,127,21,146,9,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,49,49,44,34,116,101,115,116,34,58,34,99,49,102,56,49,97,50,50,45,99,56,100,50,45,52,101,99,102,45,56,55,49,100,45,50,53,100,52,55,51,48,50,54,97,57,51,34,125>>
2024-11-04T10:41:50.721641+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24116, <<118,77,64,17,127,21,146,9>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<“{"number":11,"test":"c1f81a22-c8d2-4ecf-871d-25d473026a93"}”>>}
2024-11-04T10:41:50.721854+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<“{"number":11,"test":"c1f81a22-c8d2-4ecf-871d-25d473026a93"}”>>
2024-11-04T10:41:50.722062+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack,{ok,changed},24116,<<118,77,64,17,127,21,146,9>>,#{},<<>>}
2024-11-04T10:41:50.722169+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<104,68,94,52,118,77,64,17,127,21,146,9>>
2024-11-04T10:41:50.722291+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35850, <<185,12,211,187,85,109,145,35>>, #{observe => 12}, <<“{"number":11,"test":"c1f81a22-c8d2-4ecf-871d-25d473026a93"}”>>}
2024-11-04T10:41:50.722484+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,10,185,12,211,187,85,109,145,35,97,12,255,123,34,110,117,109,98,101,114,34,58,49,49,44,34,116,101,115,116,34,58,34,99,49,102,56,49,97,50,50,45,99,56,100,50,45,52,101,99,102,45,56,55,49,100,45,50,53,100,52,55,51,48,50,54,97,57,51,34,125>>
2024-11-04T10:41:51.268574+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,53,254,53,88,109,52,49,77,145,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,49,50,44,34,116,101,115,116,34,58,34,100,56,57,98,100,50,51,51,45,52,100,50,100,45,52,56,48,55,45,56,98,54,57,45,55,51,56,51,49,52,52,97,102,57,100,54,34,125>>
2024-11-04T10:41:51.268957+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24117, <<254,53,88,109,52,49,77,145>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<“{"number":12,"test":"d89bd233-4d2d-4807-8b69-7383144af9d6"}”>>}
2024-11-04T10:41:51.269187+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<“{"number":12,"test":"d89bd233-4d2d-4807-8b69-7383144af9d6"}”>>
2024-11-04T10:41:51.269388+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack,{ok,changed},24117,<<254,53,88,109,52,49,77,145>>,#{},<<>>}
2024-11-04T10:41:51.269488+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<104,68,94,53,254,53,88,109,52,49,77,145>>
2024-11-04T10:41:51.269487+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35851, <<185,12,211,187,85,109,145,35>>, #{observe => 13}, <<“{"number":12,"test":"d89bd233-4d2d-4807-8b69-7383144af9d6"}”>>}
2024-11-04T10:41:51.269672+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,11,185,12,211,187,85,109,145,35,97,13,255,123,34,110,117,109,98,101,114,34,58,49,50,44,34,116,101,115,116,34,58,34,100,56,57,98,100,50,51,51,45,52,100,50,100,45,52,56,48,55,45,56,98,54,57,45,55,51,56,51,49,52,52,97,102,57,100,54,34,125>>
2024-11-04T10:41:51.820917+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,54,124,98,121,130,165,239,223,51,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,49,51,44,34,116,101,115,116,34,58,34,101,99,99,56,50,56,51,55,45,55,57,101,102,45,52,51,52,99,45,98,53,51,97,45,49,54,52,53,50,100,97,98,50,100,98,53,34,125>>
2024-11-04T10:41:51.821248+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24118, <<124,98,121,130,165,239,223,51>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<“{"number":13,"test":"ecc82837-79ef-434c-b53a-16452dab2db5"}”>>}
2024-11-04T10:41:51.821495+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<“{"number":13,"test":"ecc82837-79ef-434c-b53a-16452dab2db5"}”>>
2024-11-04T10:41:51.821693+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack, {ok,changed}, 24118, <<124,98,121,130,165,239,223,51>>, #{},<<>>}
2024-11-04T10:41:51.821843+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<104,68,94,54,124,98,121,130,165,239,223,51>>
2024-11-04T10:41:51.821802+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35852, <<185,12,211,187,85,109,145,35>>, #{observe => 14}, <<“{"number":13,"test":"ecc82837-79ef-434c-b53a-16452dab2db5"}”>>}
2024-11-04T10:41:51.822008+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,12,185,12,211,187,85,109,145,35,97,14,255,123,34,110,117,109,98,101,114,34,58,49,51,44,34,116,101,115,116,34,58,34,101,99,99,56,50,56,51,55,45,55,57,101,102,45,52,51,52,99,45,98,53,51,97,45,49,54,52,53,50,100,97,98,50,100,98,53,34,125>>
2024-11-04T10:41:52.353050+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,55,140,55,241,190,74,239,66,242,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,49,52,44,34,116,101,115,116,34,58,34,53,55,51,48,98,99,99,56,45,49,49,57,55,45,52,48,100,48,45,97,97,49,54,45,56,101,52,99,56,97,48,98,54,55,50,57,34,125>>
2024-11-04T10:41:52.353407+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24119, <<140,55,241,190,74,239,66,242>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<“{"number":14,"test":"5730bcc8-1197-40d0-aa16-8e4c8a0b6729"}”>>}
2024-11-04T10:41:52.353700+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<“{"number":14,"test":"5730bcc8-1197-40d0-aa16-8e4c8a0b6729"}”>>
2024-11-04T10:41:52.353939+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack, {ok,changed}, 24119, <<140,55,241,190,74,239,66,242>>, #{},<<>>}
2024-11-04T10:41:52.354081+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<104,68,94,55,140,55,241,190,74,239,66,242>>
2024-11-04T10:41:52.354055+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35853, <<185,12,211,187,85,109,145,35>>, #{observe => 15}, <<“{"number":14,"test":"5730bcc8-1197-40d0-aa16-8e4c8a0b6729"}”>>}
2024-11-04T10:41:52.354231+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,13,185,12,211,187,85,109,145,35,97,15,255,123,34,110,117,109,98,101,114,34,58,49,52,44,34,116,101,115,116,34,58,34,53,55,51,48,98,99,99,56,45,49,49,57,55,45,52,48,100,48,45,97,97,49,54,45,56,101,52,99,56,97,48,98,54,55,50,57,34,125>>
2024-11-04T10:41:52.888514+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,56,210,55,246,166,185,78,217,138,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,49,53,44,34,116,101,115,116,34,58,34,101,52,99,53,56,48,99,100,45,99,52,52,48,45,52,102,53,53,45,97,53,102,100,45,57,97,55,55,99,54,53,56,57,57,50,52,34,125>>
2024-11-04T10:41:52.888871+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24120, <<210,55,246,166,185,78,217,138>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<“{"number":15,"test":"e4c580cd-c440-4f55-a5fd-9a77c6589924"}”>>}
2024-11-04T10:41:52.889128+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<“{"number":15,"test":"e4c580cd-c440-4f55-a5fd-9a77c6589924"}”>>
2024-11-04T10:41:52.889339+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack, {ok,changed}, 24120, <<210,55,246,166,185,78,217,138>>, #{},<<>>}
2024-11-04T10:41:52.889564+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<104,68,94,56,210,55,246,166,185,78,217,138>>
2024-11-04T10:41:52.889419+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35854, <<185,12,211,187,85,109,145,35>>, #{observe => 16}, <<“{"number":15,"test":"e4c580cd-c440-4f55-a5fd-9a77c6589924"}”>>}
2024-11-04T10:41:52.889688+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,14,185,12,211,187,85,109,145,35,97,16,255,123,34,110,117,109,98,101,114,34,58,49,53,44,34,116,101,115,116,34,58,34,101,52,99,53,56,48,99,100,45,99,52,52,48,45,52,102,53,53,45,97,53,102,100,45,57,97,55,55,99,54,53,56,57,57,50,52,34,125>>
2024-11-04T10:41:53.420125+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,57,42,216,198,87,16,165,152,205,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,49,54,44,34,116,101,115,116,34,58,34,55,53,97,100,101,54,49,54,45,100,51,99,100,45,52,57,53,102,45,98,55,49,102,45,53,50,99,51,57,49,52,57,98,102,97,57,34,125>>
2024-11-04T10:41:53.420531+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24121, <<42,216,198,87,16,165,152,205>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<“{"number":16,"test":"75ade616-d3cd-495f-b71f-52c39149bfa9"}”>>}
2024-11-04T10:41:53.420784+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<“{"number":16,"test":"75ade616-d3cd-495f-b71f-52c39149bfa9"}”>>
2024-11-04T10:41:53.421021+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack, {ok,changed}, 24121, <<42,216,198,87,16,165,152,205>>, #{},<<>>}
2024-11-04T10:41:53.421191+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<104,68,94,57,42,216,198,87,16,165,152,205>>
2024-11-04T10:41:53.421127+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35855, <<185,12,211,187,85,109,145,35>>, #{observe => 17}, <<“{"number":16,"test":"75ade616-d3cd-495f-b71f-52c39149bfa9"}”>>}
2024-11-04T10:41:53.421301+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,15,185,12,211,187,85,109,145,35,97,17,255,123,34,110,117,109,98,101,114,34,58,49,54,44,34,116,101,115,116,34,58,34,55,53,97,100,101,54,49,54,45,100,51,99,100,45,52,57,53,102,45,98,55,49,102,45,53,50,99,51,57,49,52,57,98,102,97,57,34,125>>
2024-11-04T10:41:53.966696+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,58,160,213,74,76,91,81,73,94,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,49,55,44,34,116,101,115,116,34,58,34,97,99,56,97,56,98,102,54,45,55,57,98,98,45,52,54,50,98,45,97,102,97,56,45,102,100,57,101,100,98,50,49,100,55,51,49,34,125>>
2024-11-04T10:41:53.967070+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24122,<<" ÕJL[QI^“>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<”{"number":17,"test":"ac8a8bf6-79bb-462b-afa8-fd9edb21d731"}“>>}
2024-11-04T10:41:53.967268+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<”{"number":17,"test":"ac8a8bf6-79bb-462b-afa8-fd9edb21d731"}“>>
2024-11-04T10:41:53.967463+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack,{ok,changed},24122,<<” ÕJL[QI^“>>,#{},<<>>}
2024-11-04T10:41:53.967565+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<“hD^: ÕJL[QI^”>>
2024-11-04T10:41:53.967555+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35856, <<185,12,211,187,85,109,145,35>>, #{observe => 18}, <<”{"number":17,"test":"ac8a8bf6-79bb-462b-afa8-fd9edb21d731"}“>>}
2024-11-04T10:41:53.967783+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,16,185,12,211,187,85,109,145,35,97,18,255,123,34,110,117,109,98,101,114,34,58,49,55,44,34,116,101,115,116,34,58,34,97,99,56,97,56,98,102,54,45,55,57,98,98,45,52,54,50,98,45,97,102,97,56,45,102,100,57,101,100,98,50,49,100,55,51,49,34,125>>
2024-11-04T10:41:54.497946+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:59763, data: <<72,2,94,59,116,15,171,112,150,243,27,25,178,112,115,4,116,101,115,116,16,255,123,34,110,117,109,98,101,114,34,58,49,56,44,34,116,101,115,116,34,58,34,54,101,56,53,57,54,102,53,45,57,100,50,97,45,52,98,48,52,45,57,57,52,52,45,99,50,100,48,54,101,98,52,100,97,101,97,34,125>>
2024-11-04T10:41:54.498277+08:00 [debug] msg: RECV_packet, peername: 10.40.164.5:59763, packet: {coap_message,con,post,24123, <<116,15,171,112,150,243,27,25>>, #{uri_path => [<<“ps”>>,<<“test”>>], content_format => <<“text/plain”>>}, <<”{"number":18,"test":"6e8596f5-9d2a-4b04-9944-c2d06eb4daea"}“>>}
2024-11-04T10:41:54.498547+08:00 [debug] tag: PUBLISH, msg: publish_to, peername: 10.40.164.5:59763, topic: coap/test, payload: <<”{"number":18,"test":"6e8596f5-9d2a-4b04-9944-c2d06eb4daea"}“>>
2024-11-04T10:41:54.498754+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:59763, packet: {coap_message,ack, {ok,changed}, 24123, <<116,15,171,112,150,243,27,25>>, #{},<<>>}
2024-11-04T10:41:54.498900+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:59763, data: <<104,68,94,59,116,15,171,112,150,243,27,25>>
2024-11-04T10:41:54.498877+08:00 [debug] msg: SEND_packet, peername: 10.40.164.5:54705, packet: {coap_message,non, {ok,content}, 35857, <<185,12,211,187,85,109,145,35>>, #{observe => 19}, <<”{"number":18,"test":"6e8596f5-9d2a-4b04-9944-c2d06eb4daea"}">>}
2024-11-04T10:41:54.499095+08:00 [debug] msg: SEND_data, peername: 10.40.164.5:54705, data: <<88,69,140,17,185,12,211,187,85,109,145,35,97,19,255,123,34,110,117,109,98,101,114,34,58,49,56,44,34,116,101,115,116,34,58,34,54,101,56,53,57,54,102,53,45,57,100,50,97,45,52,98,48,52,45,57,57,52,52,45,99,50,100,48,54,101,98,52,100,97,101,97,34,125>>

后台时不时打印这个日志:
2024-11-04T10:48:31.332831+08:00 [debug] msg: conn_process_terminated, peername: 10.40.164.5:54705, reason: {shutdown,timeout}
2024-11-04T10:48:33.369013+08:00 [debug] msg: RECV_data, peername: 10.40.164.5:54705, data: <<72,1,218,28,185,12,211,187,85,109,145,35,96,82,112,115,4,116,101,115,116>>

私信你了,麻烦给个全的日志:smiling_face_with_tear:

@m18271918676
由于 UDP 是非流式的,其没有持续连接的保障,在接收方掉线后,既使重新上线,也会被识别为新的会话,因此之前的消息会出现收不到的情况。
你这里需要使用「连接模式」,连接模式会尝试对 UDP 报文进行预解析,然后使用 ClientID 将 UDP 管道和会话绑定。