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] OPC UA Connector Fails to Automatically Reconnect After OPC UA Source Server Restart #1641

Open
sanjayN4497 opened this issue Jan 7, 2025 · 1 comment
Assignees
Labels

Comments

@sanjayN4497
Copy link

sanjayN4497 commented Jan 7, 2025

Describe
We are experiencing a critical issue with the OPC UA connector in ThingsBoard Gateway 3.6.4. After the OPC UA Source server is restarted, the OPC UA integration fails to automatically reconnect to the OPC UA server. The only way to restore the connection is by manually re-deploy/re-configure the OPC UA integration.

This behavior is problematic in scenarios where a seamless, uninterrupted connection to the OPC UA server is crucial for continuous data collection. Ideally, the OPC UA connector should automatically attempt to reconnect to the server after detecting a disconnection.

Connector name (If bug in the some connector):
OPC-UA Connector

Error traceback (If available):

Observed Behavior:

  1. After restarting the OPC UA source server, the OPC UA connector does not attempt to reconnect automatically.
  2. If the ThingsBoard Gateway is running in a Docker container and the container is restarted twice manually, the connection may eventually be re-established. sometime it's also not worked out.
  3. This behavior introduces delays and requires manual intervention to restore functionality with either docker restart or reconfigure connection.

Expected Behavior:

  1. The OPC UA connector should automatically detect when the OPC UA server is unavailable and continuously attempt to reconnect.
  2. No manual intervention should be required to reconfigure or restart the integration.
  3. The connector should pull data continuously, regardless of whether the OPC UA server restarts or temporarily goes offline.

Versions (please complete the following information):

  • OS: Ubuntu
  • Thingsboard IoT Gateway version 3.6.4
logs
@ankushdineshrana
Copy link

I am also facing same issue, please help @imbeacon @samson0v

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

4 participants