Hello,
I have a device connected to two Ignition gateways through OPC UA.
On one gateway the connection is fine and has been up for a bit now.
On the other gateway however, the connection is faulted I am getting these errors from the log:
Failed to create subscription 'xyz': null
subscriptionName=xyz ignSubscription=com.inductiveautomation.ignition.gateway.opcua.client.connection.OpcUaSubscriptionModel$IgnitionSubscription@63b1dfa1, opcSubscription=null
Additionally, the fault message is so:
java.lang.Exception: session inactive: id=NodeId{ns=1, id=00000000-0000-0040-8000-000000000000} name=ignition[Ignition-xyz]_xyz_1779711986139
at com.inductiveautomation.ignition.gateway.opcua.client.connection.OpcUaConnection$MiloSessionActivityListener.onSessionInactive(OpcUaConnection.kt:499)
at org.eclipse.milo.opcua.sdk.client.session.SessionFsmFactory.lambda$null$39(SessionFsmFactory.java:611)
at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(Unknown Source)
at org.eclipse.milo.opcua.sdk.client.session.SessionFsmFactory.lambda$configureActiveState$40(SessionFsmFactory.java:611)
at com.digitalpetri.strictmachine.dsl.ActionBuilder$PredicatedTransitionAction.execute(ActionBuilder.java:119)
at com.digitalpetri.strictmachine.StrictMachine$PollAndEvaluate.lambda$run$0(StrictMachine.java:242)
at java.base/java.util.ArrayList.forEach(Unknown Source)
at com.digitalpetri.strictmachine.StrictMachine$PollAndEvaluate.run(StrictMachine.java:227)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
I've experienced connection faults before with this device model and usually when they occur it's on both gateways. A quick fix I've found is doing a power cycle on the device, but this time it didn't seem to work for both gateways.
Any recommendations what could be causing this and how I would go about resolving it permanently, so I don't have to rely on power cycles?