Closed tikarei closed 4 years ago
Hi @Tikarei ,
One of the possible reasons is the same like in the issue #386 . To check this, please check values of the gateway device telemetry key LOG
on ThingsBoard. Probably some errors will be there. Please let me know about the results.
Do you mean this? The last error was a few days ago.
@zbeacon Any other ideas on how I can debug the issue?
@zbeacon It has happened again and I have just realized it's not just the TB gateway. The TB server itself stops receiving attribute and telemetry data. I connected a device through MQTT without TB gateway, the device details shows it is active and connected but no other data is received. Is there a way to move this issue to the main TB repo issues section or should I close this one can recreate it there?
Hi @Tikarei ,
I apologize for the long-term answer, it would be better to create another issue in the general ThingsBoard repository.
Describe the issue ThingsBoard stops getting data from gateway after running for a couple of days without logging or showing any errors. No errors in the gateway's
connector.log
,service.log
, ortb_connection.log
. Also,thingsboard.log
is empty. No logging messages other than stating that the connection to the OPCUA server was successful.RemoteDebugLogging
is inDEBUG
. I know the data from the OPCUA server is still streaming when using another OPCUA client to check.Both ThingsBoard and gateway are running in their own docker containers. This happened before a few days ago, I restarted the gateway container multiple times but that doesn't solve the issue. Only when I restarted the ThingsBoard container did it start working again. This morning, I can see the issue has happened again. I have tried restarting the gateway to no success. I'm fairly sure it will work once I restart the ThingsBoard container but I want to figure out why this keeps happening. When attached to the ThingsBoard container, here's the example console output I get:
Any help to troubleshoot this is much appreciated.
Configuration (Attach your configuration file)
Connector name: OPCUA
Error traceback (If it was raised): None
Versions (please complete the following information):