# OPC-UA Reconnect Enhancement/Issues with Bad\_ServerHalted

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-reconnect-enhancement-issues-with-bad-serverhalted/117864>\
**Category:** Ignition\
**Created:** [November 17, 2026, 9:37am UTC](https://forum.inductiveautomation.com/t/opc-ua-reconnect-enhancement-issues-with-bad-serverhalted/117864 "2026-11-17T09:37:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andre\_Hennecke](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@Andre\_Hennecke](https://forum.inductiveautomation.com/u/Andre_Hennecke)\
**Post date:** [November 17, 2026, 9:37am UTC](https://forum.inductiveautomation.com/t/opc-ua-reconnect-enhancement-issues-with-bad-serverhalted/117864/1 "2026-11-17T09:37:07Z")

</div>

**Context:**

- Ignition is the Client
- Supplier OPC-UA Server (SDK unknown)

**What happend:**

After some conditions (which are still investigated), the server keeps the existing secure channel open but answers with Bad\_ServerHalted to Ignition. A new TCP connection to the same endpoint is accepted and we can also connect with a new session immediately.

The OPC-UA client in Ignition trys to reause the old channel during its reconnect loop (~every 16s?!) until we disable and re-enable the connection manually. The Disable/Enable directly restores the connection.  
DEBUG logs from SessionFsm:

```python
S(Active) x E(ServiceFault) = S'(ReactivatingWait)
Reactivation failed: UaServiceFaultException: status=Bad_ServerHalted, message=The server has stopped and cannot process any requests.
S(Reactivating) x E(ReactivateSessionFailure) = S'(CreatingWait)
Sending CreateSessionRequest...
CreateSession failed: UaServiceFaultException: status=Bad_ServerHalted, ...
S(Creating) x E(CreateSessionFailure) = S'(CreatingWait

```

**Request:**  
We know that the root cause is on the server side, but we also saw that other clients can recover by itself, therefore it would be create to enhance/harden the reconnect in Ignition like so:

1. After repeated Bad\_ServerHalted on CreateSession, close the secure channel and reconnect with a new one, maybe the attempts can be configurable. Bad\_ServerHalted anyway means the server instace is stopped based on the OPC-UA specs, so keeping the channel open will never succeed by definition. A WARN log would also be helpful to make it more visible.

For now, we are testing, if we can use a gateway timer script to toggle the connection when it is faulted and the endpoint is reachable.
