Closed manprinsen closed 1 month ago
The server says "Bad_TooManyOperations"... But strange that on startup it works and on re-subscribe not. Maybe because on startup Java is not yet optimized. We may add a delay between the subscriptions to check...
but it is a single call to Milo with all requests.
OpcUaDriver.kt, line 682:
subscription!! .createMonitoredItems(TimestampsToReturn.Both, requests, onItemCreated) .thenAccept { monitoredItems: List<UaMonitoredItem> ->
is there a way to get your codesys server to test it locally?
Of course :) I have a windows pc with the source code where we can make changes and test it, perhaps using teamviewer or rustdesk.
Otherwise I can give you a wireguard connection to the codesys plc.
Is there a way I can DM you? :)
Here is my gmail: andres.vogler@gmail.com Write or text me on google chat.
I tested it now with my OPC UA server and I have to admit that re-subscribe subscribes too often to the same nodes. Need to check how to fix that.
I fixed an issue on re-subscribe, please try it again with the Development Branch.
awesome :) worked like a charm! thanks man :)
Hi,
I am experiencing that opcua (client) resubscription is not working as i expect.
I my case i have a Codesys linux runtime (including opcua server). I manually stopped the codesys runtime 18:02 and started it 18:04.
In the automation-gateway log it looks like this:
It seems like the automation-gateway opcua client successfully gets connected again to the opcua server, but no tags are being logged to my influxdb database.
Full config file:
If i restart the automation-gateway everthing works as expected.
For context, i have 37 tags in the opcua server and i have tried different topics for the influxdb logger. This seem to cause the problem when i restart the opcua server.
And just to clearify; if i have - Topic: opc/milo/path/Objects/DeviceSet/+ as topic everything works as expected when i start the automation-gateway. Below test result for WORKING and NOT WORKING is for when i restart the opcua server, while the automation-gateway is running :)