# Ignition to Martikon OPC UA Tunneler Faulted connection error

**URL:** <https://forum.inductiveautomation.com/t/ignition-to-martikon-opc-ua-tunneler-faulted-connection-error/92974>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [July 9, 2024, 6:44pm UTC](https://forum.inductiveautomation.com/t/ignition-to-martikon-opc-ua-tunneler-faulted-connection-error/92974 "2024-07-09T18:44:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Turner](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@Turner](https://forum.inductiveautomation.com/u/Turner)\
**Post date:** [July 9, 2024, 6:44pm UTC](https://forum.inductiveautomation.com/t/ignition-to-martikon-opc-ua-tunneler-faulted-connection-error/92974/1 "2024-07-09T18:44:00Z")

</div>

We are using Ignition edge to connect to an OEM 's system that is using Martikon Tunneler to provide OPC UA data.

The connection is configured and shows as connecting and allows us to use Ignition Designer to browse and select OPC UA tags to add and collect values from.

We are seeing on repeated occasions across multiple deployments that the OPC connection becomes Faulted and we can no longer connect to the Matrikon tunneler.

The error given on Ignition is as below

```python
java.lang.Exception: session inactive: id=NodeId{ns=4, id=723486665} name=ignition[Ignition-SPR]_Honeywell_1720550181072
	at com.inductiveautomation.ignition.gateway.opcua.client.connection.OpcUaConnection$MiloSessionActivityListener.onSessionInactive(OpcUaConnection.kt:498)
	at org.eclipse.milo.opcua.sdk.client.session.SessionFsmFactory.lambda$null$39(SessionFsmFactory.java:577)
	at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(Unknown Source)
	at org.eclipse.milo.opcua.sdk.client.session.SessionFsmFactory.lambda$configureActiveState$40(SessionFsmFactory.java:577)
	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.17 (b2022051210)
Azul Systems, Inc. 11.0.15

```

The OEM is struggling to see any issue on their side, has anyone seen similar activity before? Is there a setting we need to change on the Ignition side of the connection that might help?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 9, 2024, 8:07pm UTC](https://forum.inductiveautomation.com/t/ignition-to-martikon-opc-ua-tunneler-faulted-connection-error/92974/2 "2024-07-09T20:07:24Z")

</div>

Can you share the Ignition logs?

This error you've shared is just the stack trace that happens when you lose the connection to the server for some reason. It doesn't help narrow down why that happened.

---

<div class="post-metadata">

**Author:** ![Turner](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@Turner](https://forum.inductiveautomation.com/u/Turner)\
**Post date:** [July 10, 2024, 5:16pm UTC](https://forum.inductiveautomation.com/t/ignition-to-martikon-opc-ua-tunneler-faulted-connection-error/92974/3 "2024-07-10T17:16:03Z")

</div>

Hi,

Log file is attached, hope this is what you were after.

Ignition-SPR-Groov\_Ignition\_logs\_20240710-1709.zip|attachment](upload://gDSNdwXkWfMUZJyCwLOtldS3OgK.zip) (3.1 MB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 10, 2024, 5:58pm UTC](https://forum.inductiveautomation.com/t/ignition-to-martikon-opc-ua-tunneler-faulted-connection-error/92974/4 "2024-07-10T17:58:42Z")

</div>

Looks like it might have been had it uploaded correctly.

Try again, if it doesn't work I can send you a dropbox link if you don't have anywhere to upload them.

---

<div class="post-metadata">

**Author:** ![Turner](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@Turner](https://forum.inductiveautomation.com/u/Turner)\
**Post date:** [July 10, 2024, 10:19pm UTC](https://forum.inductiveautomation.com/t/ignition-to-martikon-opc-ua-tunneler-faulted-connection-error/92974/5 "2024-07-10T22:19:09Z")

</div>

Yes, I had a suspicion it did not work. Trying again.

[Ignition-SPR-Groov\_Ignition\_logs\_20240710-1709.zip](https://forum.inductiveautomation.com/uploads/short-url/gDSNdwXkWfMUZJyCwLOtldS3OgK.zip) (3.1 MB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 10, 2024, 10:23pm UTC](https://forum.inductiveautomation.com/t/ignition-to-martikon-opc-ua-tunneler-faulted-connection-error/92974/6 "2024-07-10T22:23:30Z")

</div>

It looks like occasionally the server stops responding to the Ignition client "keep alive" request that reads the server's current time and state variables. In the settings for the connection to this server you can try increasing the number of keep alive failures allowed and/or the keep alive timeout to give the server longer to respond.

---

<div class="post-metadata">

**Author:** ![Turner](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@Turner](https://forum.inductiveautomation.com/u/Turner)\
**Post date:** [July 11, 2024, 2:58pm UTC](https://forum.inductiveautomation.com/t/ignition-to-martikon-opc-ua-tunneler-faulted-connection-error/92974/7 "2024-07-11T14:58:35Z")

</div>

Thanks, are there any recommended settings for settings? Am I correct in thinking changing the "Keep-Alive Failures Allowed" to 0 will mean Ignition will never set the connection to faulted even if the keep alive continually fail?

---

<div class="post-metadata">

**Author:** ![Turner](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@Turner](https://forum.inductiveautomation.com/u/Turner)\
**Post date:** [July 11, 2024, 3:06pm UTC](https://forum.inductiveautomation.com/t/ignition-to-martikon-opc-ua-tunneler-faulted-connection-error/92974/8 "2024-07-11T15:06:12Z")

</div>

We have another deployment with a similar issue, would you be able to check this log to see if its the same issue? Appreciate your assistance.

[Ignition-ACR-Groov\_Ignition\_logs\_20240711-1455.zip](https://forum.inductiveautomation.com/uploads/short-url/wricjZNLfRKuNVEVCw7xQLCn6Vf.zip) (5.3 MB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 11, 2024, 3:20pm UTC](https://forum.inductiveautomation.com/t/ignition-to-martikon-opc-ua-tunneler-faulted-connection-error/92974/9 "2024-07-11T15:20:40Z")

</div>

> [@Turner](#):
>
> "Keep-Alive Failures Allowed" to 0 will mean Ignition will never set the connection to faulted even if the keep alive continually fail?

No, best set it to 9999999 or something if you want that behavior.

> [@Turner](#):
>
> We have another deployment with a similar issue, would you be able to check this log to see if its the same issue? Appreciate your assistance

Looks like the same set of errors.

Matrikon [tunneler] is notoriously... not good.

---

<div class="post-metadata">

**Author:** ![Turner](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@Turner](https://forum.inductiveautomation.com/u/Turner)\
**Post date:** [July 11, 2024, 3:41pm UTC](https://forum.inductiveautomation.com/t/ignition-to-martikon-opc-ua-tunneler-faulted-connection-error/92974/10 "2024-07-11T15:41:17Z")

</div>

Thanks for checking, yes I am learning the hard way that Matrikon is not so good but unfortunately that's all the OEM will provide.

We think the issues is with the Matrikon failing, but they keep pointing at Ignition.

Thanks for all your help, we will increase the Keep Alive failures and the Keep Alive timeout and see how we go.
