thingsboard-gateway icon indicating copy to clipboard operation
thingsboard-gateway copied to clipboard

[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!

Open DuXiaoChuang opened this issue 1 year ago • 4 comments

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!

DuXiaoChuang avatar Jun 27 '24 02:06 DuXiaoChuang

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.

imbeacon avatar Jul 01 '24 05:07 imbeacon

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?

DuXiaoChuang avatar Jul 01 '24 08:07 DuXiaoChuang

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.

imbeacon avatar Jul 01 '24 09:07 imbeacon

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

DuXiaoChuang avatar Jul 02 '24 02:07 DuXiaoChuang