Third Party OPC connection is in faulted state {session inactive: id=NodeId{ns=3, id=1475273651} name=ignition}

java.lang.Exception: session inactive: id=NodeId{ns=3, id=1475273651} name=ignition[*****]_ThirdPartyGateway_1718821642339
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)

8.1.40 (b2024051410)
Azul Systems, Inc. 17.0.10

Wrapper log -

INFO | jvm 1 | 2024/06/19 20:25:54 | W [c.i.i.g.o.c.c.OpcUaSubscriptionSynchronizer] [20:25:54.713]: Failed to create subscription 'tag-group-default_default': status=Bad_TooManyOperations, description=The request could not be processed because it specified too many operations. connection-name=THIRDPARTYGateway
INFO | jvm 1 | 2024/06/19 20:25:54 | W [c.i.i.g.o.c.c.OpcUaSubscriptionSynchronizer] [20:25:54.713]: subscriptionName=tag-group-default_default, ignSubscription=com.inductiveautomation.ignition.gateway.opcua.client.connection.OpcUaSubscriptionModel$IgnitionSubscription@3ebd9d0f, opcSubscription=null connection-name=THIRDPARTYGateway
INFO | jvm 1 | 2024/06/19 20:27:04 | W [o.e.m.o.s.c.s.DefaultClientCertificateValidator] [20:27:03.957]: check suppressed: certificate failed hostname check: CN=BFCGatewayOpcUaServer
INFO | jvm 1 | 2024/06/19 20:52:18 | W [c.i.i.g.o.c.c.OpcUaSubscriptionSynchronizer] [20:52:18.655]: Failed to create subscription 'tag-group-default_default': status=Bad_TooManyOperations, description=The request could not be processed because it specified too many operations. connection-name=THIRDPARTYGateway
INFO | jvm 1 | 2024/06/19 20:52:18 | W [c.i.i.g.o.c.c.OpcUaSubscriptionSynchronizer] [20:52:18.655]: subscriptionName=tag-group-default_default, ignSubscription=com.inductiveautomation.ignition.gateway.opcua.client.connection.OpcUaSubscriptionModel$IgnitionSubscription@3ebd9d0f, opcSubscription=null connection-name=THIRDPARTYGateway
INFO | jvm 1 | 2024/06/19 20:53:33 | W [o.e.m.o.s.c.s.DefaultClientCertificateValidator] [20:53:33.618]: check suppressed: certificate failed hostname check: CN=THIRDPARTYGatewayOpcUaServer

All this generally means is you've lost your connection to the server for some reason.

Those "Bad_TooManyOperations" errors are a little suspicious because Ignition only tries to create 1 subscription at a time...

Maybe you can disable security on this connection and then get a Wireshark capture where you:

  1. start the capture
  2. edit/save the connection in the Ignition Gateway
  3. stop the capture after these errors have occurred.

Hello Kevin, we also meet the problem for ignition 8.1 ,use the opcua to connect codesys PLC,use uaexpert , these has no error, but switch to ignition ,it get errors:
```
java.lang.Exception: session inactive: id=NodeId{ns=1, id=41} name=ignition[xxxx_DataCollect_Server06]_L1_xxxx_1768551951627
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$40(SessionFsmFactory.java:616)
at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(Unknown Source)
at org.eclipse.milo.opcua.sdk.client.session.SessionFsmFactory.lambda$null$41(SessionFsmFactory.java:616)
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)

8.1.52 (b2026011309)
Azul Systems, Inc. 17.0.17
```