thingsboard / thingsboard-gateway

Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/
Apache License 2.0
1.65k stars 801 forks source link

[BUG] 2024-06-27 10:29:48 - |ERROR| - [tb_device_mqtt.py] - tb_device_mqtt - _publish_data - 775 - Timeout while waiting for a publish to ThingsBoard! #1441

Open DuXiaoChuang opened 6 days ago

DuXiaoChuang commented 6 days ago

image 2024-06-27 10:29:48 - |ERROR| - [tb_device_mqtt.py] - tb_device_mqtt - _publish_data - 775 - Timeout while waiting for a publish to ThingsBoard! 2024-06-27 10:29:48 - |ERROR| - [tb_device_mqtt.py] - tb_device_mqtt - _subscribe_to_topic - 736 - Timeout while waiting for a subscribe to ThingsBoard! 2024-06-27 10:29:48 - |ERROR| - [tb_gateway_mqtt.py] - tb_gateway_mqtt - _on_connect - 73 - Service subscription to topic v1/gateway/rpc - failed. 2024-06-27 10:29:48 - |INFO| - [tb_gateway_mqtt.py] - tb_gateway_mqtt - gw_subscribe_to_attribute - 199 - Subscribed to | with id 9 for device * 2024-06-27 10:29:48 - |ERROR| - [tb_device_mqtt.py] - tb_device_mqtt - _publish_data - 775 - Timeout while waiting for a publish to ThingsBoard!

imbeacon commented 2 days ago

Hi @DuXiaoChuang,

Do you send to any of ThingsBoard clouds? demo.thingsboard.io/thingsboard.cloud? If yes, please check - do you exceed the rate limit or no and let us know. You can do this by checking notifications.

DuXiaoChuang commented 2 days ago

Hi @DuXiaoChuang,

Do you send to any of ThingsBoard clouds? demo.thingsboard.io/thingsboard.cloud? If yes, please check - do you exceed the rate limit or no and let us know. You can do this by checking notifications.

Yes, I'm pushing data to thingsboard's cloud platform. Are there any limits on how much data the cloud platform can push?

imbeacon commented 2 days ago

Yes, there are strict rate limits on thingsboard.cloud, you may find information about them here. The latest python client sdk waits until they will be cleared and only then send messages, but timeouts still can appear, if you have put a lot of messages for sending.

DuXiaoChuang commented 1 day ago

Yes, there are strict rate limits on thingsboard.cloud, you may find information about them here. The latest python client sdk waits until they will be cleared and only then send messages, but timeouts still can appear, if you have put a lot of messages for sending.

ok,thanks