# OPC UA RedLion Connection Faulted: Exception: session inactive

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-redlion-connection-faulted-exception-session-inactive/85392>\
**Category:** Ignition\
**Created:** [February 7, 2024, 5:08pm UTC](https://forum.inductiveautomation.com/t/opc-ua-redlion-connection-faulted-exception-session-inactive/85392 "2024-02-07T17:08:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Braulio\_Jose\_Alcanta](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@Braulio\_Jose\_Alcanta](https://forum.inductiveautomation.com/u/Braulio_Jose_Alcanta)\
**Post date:** [February 7, 2024, 5:08pm UTC](https://forum.inductiveautomation.com/t/opc-ua-redlion-connection-faulted-exception-session-inactive/85392/1 "2024-02-07T17:08:33Z")

</div>

[Error connecting to 3rd party UA server: Exception: session inactive] I am presenting the same symptoms here with a redLion opc connection which keeps faulting out. it connects and disconnect. the comm does not hold steady. Exception: session inactive: id=NodeId{ns=0, id=10001}

---

<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:** [February 7, 2024, 5:14pm UTC](https://forum.inductiveautomation.com/t/opc-ua-redlion-connection-faulted-exception-session-inactive/85392/2 "2024-02-07T17:14:56Z")

</div>

Can you provide some logs and possibly get a Wireshark capture?

---

<div class="post-metadata">

**Author:** ![Braulio\_Jose\_Alcanta](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@Braulio\_Jose\_Alcanta](https://forum.inductiveautomation.com/u/Braulio_Jose_Alcanta)\
**Post date:** [February 7, 2024, 5:36pm UTC](https://forum.inductiveautomation.com/t/opc-ua-redlion-connection-faulted-exception-session-inactive/85392/3 "2024-02-07T17:36:07Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/5/3509a96e8d896ef9a4897e4c57f2a6ed960c87ec.png)

---

<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:** [February 7, 2024, 5:38pm UTC](https://forum.inductiveautomation.com/t/opc-ua-redlion-connection-faulted-exception-session-inactive/85392/4 "2024-02-07T17:38:39Z")

</div>

It looks like after a gap in the notifications received from this server we try to call the ResendData method, which it appears this server doesn't support, and then the server closes the connection.

A Wireshark capture would help to verify this is what's happening before I send you off to RedLion support.

---

<div class="post-metadata">

**Author:** ![Braulio\_Jose\_Alcanta](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@Braulio\_Jose\_Alcanta](https://forum.inductiveautomation.com/u/Braulio_Jose_Alcanta)\
**Post date:** [February 7, 2024, 7:37pm UTC](https://forum.inductiveautomation.com/t/opc-ua-redlion-connection-faulted-exception-session-inactive/85392/5 "2024-02-07T19:37:26Z")

</div>

> [@Braulio\_Jose\_Alcanta](#):
>
> [Error connecting to 3rd party UA server: Exception: session inactive] I am presenting the same symptoms here with a redLion opc connection which keeps faulting out. it connects and disconnect. the comm does not hold steady. Exception: session inactive: id=NodeId{ns=0, id=10001}

Per this company IT policies we are not allow to have Wireshark on our PCs. However, I have some others redlions that are connected and working fine.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 7, 2024, 7:44pm UTC](https://forum.inductiveautomation.com/t/opc-ua-redlion-connection-faulted-exception-session-inactive/85392/6 "2024-02-07T19:44:58Z")

</div>

> [@Braulio\_Jose\_Alcanta](#):
>
> not allow to have Wireshark on our PC

Get an exception for the gateway machine.

> [@Braulio\_Jose\_Alcanta](#):
>
> others redlions that are connected

And how can we tell the difference without low-level diagnostic tools?

---

<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:** [February 7, 2024, 7:45pm UTC](https://forum.inductiveautomation.com/t/opc-ua-redlion-connection-faulted-exception-session-inactive/85392/7 "2024-02-07T19:45:03Z")

</div>

🤷‍♂️

You'll just have to take my analysis at face value then.

---

<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:** [February 7, 2024, 8:23pm UTC](https://forum.inductiveautomation.com/t/opc-ua-redlion-connection-faulted-exception-session-inactive/85392/8 "2024-02-07T20:23:12Z")

</div>

Looking at the log screenshot again, I think it might actually be the _Republish_ service the server doesn't support, and it's closing the connection with transport level error message indicating Bad\_ServiceUnsupported.

This is even more egregious than not implementing the ResendData method because it's not an optional part of supporting Subscriptions.

---

<div class="post-metadata">

**Author:** ![Braulio\_Jose\_Alcanta](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@Braulio\_Jose\_Alcanta](https://forum.inductiveautomation.com/u/Braulio_Jose_Alcanta)\
**Post date:** [February 8, 2024, 8:32pm UTC](https://forum.inductiveautomation.com/t/opc-ua-redlion-connection-faulted-exception-session-inactive/85392/9 "2024-02-08T20:32:56Z")

</div>

Hey Guys so you know, I tried recreating another OPC connection and renamed the old and it seems to be working holding in. Weird!
