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.76k stars 846 forks source link

[BUG] exception - 127 - Node status code error: The requested operation has no match to return.(BadNoMatch) and other #1485

Closed ashdam closed 3 months ago

ashdam commented 3 months ago

Describe the bug

First of all, thank you for your support, guys ;) we have doing the stress tests right now

We have detected in our devices that some OPC-UA nodes some times are "offline" or not available temporally. In our current system this is something that may happens and it recovers when someone fixes the node.

We have observed the following errors after loading a big connector file with hundred of measures in an iotgateway:

image image image image

We have detected the following behaviour following this errors:

configuration yml:

image

full connector file full_connector.json

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

Error traceback (If available): in the upper screens

Versions (please complete the following information):

ashdam commented 3 months ago

@imbeacon Looking at the code , i noticed that you modified thingsboard_gateway/connectors/opcua/opcua_connector.py file but the issue was reported on opcua async. shouldn't this be taken to thingsboard_gateway/connectors/opcua_asyncio/opcua_connector.py?

samson0v commented 3 months ago

@ashdam, with the last release, we abandoned synchronous opcua, so all opcua async code was moved to opcua.

ashdam commented 3 months ago

Understood ;)