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.74k stars 844 forks source link

[HELP] thingsboard_gateway is continuously subscribe with a new id #643

Closed gohm-tech closed 2 years ago

gohm-tech commented 2 years ago

Describe the issue Hi, When the thingsboard_gateway service was running, We execute the mqtt_firmware_client.py. After that we are getting this log. So we are wondering this status will create any problem for us? Screenshot from 2021-12-02 14-08-51

Server Environment own setup docker deployment OS: Linux(Ubuntu 20.04)

Client Environment OS: Linux(Ubuntu) Browser: Chrome, Firefox Version Ubuntu Version 20.04

Connector name MQTT Connector

Configuration mqtt_firmware_client.txt

Versions: OS: Raspbian GNU/Linux 10 (buster) Thingsboard IoT Gateway version [e.g. 2.7] Python version 3.7.3

Best Regards, Gohm Team

imbeacon commented 2 years ago

Hi @gohm-tech ,

Thank you for you interest in ThingsBoard IoT gateway. This situation can appears when you used the same credentials for the both clients, ThingsBoard doesn't allow connection for two or more clients with the same credentials. You can change the configuration of your ThingsBoard instance (parameter ACTORS_MAX_CONCURRENT_SESSION_PER_DEVICE) Or use another device credentials for firmware client.

gohm-tech commented 2 years ago

Hi @zbeacon, Thank you for your quick reply, After your suggestion, we found this question about this subject https://github.com/thingsboard/thingsboard/issues/1210 We indicate the location of the file to help other users. thingsboard/application/src/main/resources

Best Regards, Gohm Team