thingsboard icon indicating copy to clipboard operation
thingsboard copied to clipboard

[Bug] Timeout to process message with only one sending to Thingsboard. OK after restart a couple of hours and back again

Open Borch97 opened this issue 2 years ago • 0 comments

Describe the bug I have a Thingsboard CE 3.5.1 edition installed with one thingsboard edge 3.5.1 instance connected. In this platform, the only data is entering is one value from edge instance and is giving a "Timeout to process the message".

The platform is in a server with 12 cores, 32gb of RAM and a 1TB o memory, all for himself and with default configuration is usable to process one simple message, i don't understand. I deploy the platform with docker and tb-postgres image.

After a restart of the docker container, it starts to process the message again, but i can't being restarting the platform every time this happens when it goes into production.

The timeout message is this: 2023-08-08 06:58:34,369 [tb-rule-engine-consumer-49-thread-9 | QK(Main,TB_RULE_ENGINE,system)-0] INFO o.t.s.s.q.DefaultTbRuleEngineConsumerService - Timeout to process [1] messages 2023-08-08 06:58:34,369 [tb-rule-engine-consumer-49-thread-9 | QK(Main,TB_RULE_ENGINE,system)-0] INFO o.t.s.s.q.DefaultTbRuleEngineConsumerService - [2e50f930-0b4d-11ee-a9fa-dd909acf8c32] Timeout to process message: TbMsg(queueName=Main, id=ce8d0064-bdab-4831-91e8-8930bd8571bf, ts=1691477912367, type=POST_TELEMETRY_REQUEST, originator=8399c740-3452-11ee-af2a-cfa7947b0c15, customerId=null, metaData=TbMsgMetaData(data={deviceType=dispositivos agua, source=edge, deviceName=SensorAgua01, ts=1691477911436}), dataType=JSON, data={"idDispositivo":"fjdue-agua-001","PH":7.12,"ORP":72,"EC":16.57,"T":23.5,"TDS":8285,"SALT":13.25,"TURB":0,"CH":0}, ruleChainId=2e868820-0b4d-11ee-a9fa-dd909acf8c32, ruleNodeId=null, ctx=org.thingsboard.server.common.msg.TbMsgProcessingCtx@201da828, callback=org.thingsboard.server.common.msg.queue.TbMsgCallback$1@41980b01), Last Rule Node: null

Your Server Environment

  • own setup
    • docker deployment
    • ThingsBoard Version: 3.5.1

Your Device

  • Connectivity
    • HTTP
    • CoAP
    • Gateway
    • Integration: Edge
  • Device vendor and model

Borch97 avatar Aug 08 '23 07:08 Borch97