Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] MQTT connection lost #1599

Open
elgutierrez opened this issue Nov 15, 2024 · 1 comment
Open

[BUG] MQTT connection lost #1599

elgutierrez opened this issue Nov 15, 2024 · 1 comment
Assignees
Labels

Comments

@elgutierrez
Copy link

elgutierrez commented Nov 15, 2024

Describe the bug
I have a gateway that's working fine for a while, and then, all the sudden, it can't connect to Thingsboard anymore. I already checked the network configurations and Thingsboard Cloud is reachable from my device.

Error traceback:

Nov 15 21:41:33 GW-SPM-5 python3[66433]: 2024-11-15 21:41:33 - |WARNING| - [tb_device_mqtt.py] - tb_device_mqtt - _on_disconnect - 343 - MQTT client was disconnected with reason code 7 (The connection was lost.)
Nov 15 21:41:33 GW-SPM-5 python3[66433]: 2024-11-15 21:41:33 - |WARNING| - [tb_device_mqtt.py] - tb_device_mqtt - _on_disconnect - 343 - MQTT client was disconnected with reason code 4 (The client is not currently connected.)
Nov 15 21:41:33 GW-SPM-5 python3[66433]: 2024-11-15 21:41:33 - |WARNING| - [tb_device_mqtt.py] - tb_device_mqtt - _publish_data - 745 - Waiting for connection to be established before sending data to ThingsBoard!

Versions

  • OS: Ubuntu 20.04]
  • Thingsboard IoT Gateway version 3.5.1
  • Python version3.7
@elgutierrez
Copy link
Author

Hey, can I get some feedback here? I have some devices that start failing pretty much every day and at the end it requires a manual reset to be able work properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants