# OPC UA Connection To Top Server Reset

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-connection-to-top-server-reset/11124>\
**Category:** Ignition\
**Created:** [January 26, 2016, 10:31pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-to-top-server-reset/11124 "2016-01-26T22:31:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tjcorbin](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@tjcorbin](https://forum.inductiveautomation.com/u/tjcorbin)\
**Post date:** [January 26, 2016, 10:31pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-to-top-server-reset/11124/1 "2016-01-26T22:31:18Z")

</div>

We have a Gateway with an OPC-UA connection to a Top Server IO Server which generally works fine.

However, the Top-Server is polling PLC’s over VPN connections to several sites. Periodically (say 7-14 days) for various reasons the VPNs go offline, and some time later re-establish themselves. At this point for some reason the OPC-UA connection between the Gateway and Top Server stays ‘bad’, such that communication to the PLC’s is not re-established.

The Gateway Log is full of various errors from the time the VPNs drop off such as:

UaTCPClientSymmetricHandler: Error decoding Symmetric Message  
UaTCPClientSymmetricHandler: No UARequestFuture for RequestID xxxxx  
Active: Channel went Inactive (GatewayIPAddr:port -\> TopserverIPAddr:port)

These type of errors recur in the logs, even after the VPNs are re-established.

To correct this, if I disable, and then re-enable the OPC Connection in the Gateway Config, all is immediately well. For some reason it appears the OPC connection itself is degraded during this process - the Gateway Server and Top Server are both on a local network and are not affected when the external VPNs go down - they can still see each other fine and the OPC connection itself is reported as ‘connected’ in the Gateway.

We have PLC heartbeat alarms generated to notify us when comms goes down to each PLC, so I am wondering if there is any way I can automate refreshing the OPC connection? I cannot see any scripting functions for this, and the Gateway OPC Enabled tags appear to be read-only.

Gateway is 7.8.0, Top Server version is 5.19.

Any help appreciated.

Tim

---

<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:** [January 26, 2016, 10:41pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-to-top-server-reset/11124/2 "2016-01-26T22:41:36Z")

</div>

There were a bunch of OPC-UA issues fixed for 7.8.1, including what you’re seeing. Give that a shot and let us know.

---

<div class="post-metadata">

**Author:** ![tjcorbin](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@tjcorbin](https://forum.inductiveautomation.com/u/tjcorbin)\
**Post date:** [January 26, 2016, 10:46pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-to-top-server-reset/11124/3 "2016-01-26T22:46:59Z")

</div>

Thanks for the very rapid response.

I will let you know once we have a result.

Tim

---

<div class="post-metadata">

**Author:** ![eaolson](https://avatars.discourse-cdn.com/v4/letter/e/f07891/32.png) [@eaolson](https://forum.inductiveautomation.com/u/eaolson)\
**Post date:** [April 19, 2016, 1:49pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-to-top-server-reset/11124/4 "2016-04-19T13:49:49Z")

</div>

Did upgrading to 7.8.1 fix your problem?

I’m having a very similar, intermittent problem with an Ignition 7.8.0 OPC-UA connection to KepServer. The connection just stops responding and the tags and overlays go to the STALE (but not the BAD) condition. The connection appears in the Quick Client page on the gateway, but I’m unable to browse to it. The log has tons of lines like:

8:23:21 AM UaTcpClientSymmetricHandler No UaRequestFuture for requestId=6  
8:23:21 AM UaTcpClientSymmetricHandler No UaRequestFuture for requestId=16  
8:23:21 AM UaTcpClientSymmetricHandler No UaRequestFuture for requestId=15

The only solution I’ve found is to disable and reenable the connection to KepServer.

---

<div class="post-metadata">

**Author:** ![Chris\_Taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/chris_taylor/32/3315_2.png) [@Chris\_Taylor](https://forum.inductiveautomation.com/u/Chris_Taylor)\
**Post date:** [April 26, 2016, 10:06am UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-to-top-server-reset/11124/5 "2016-04-26T10:06:46Z")

</div>

eaolson

FYI

“Top Server” is Kepware’s “KEPServerEX” licensed to “Software Toolbox”, they are the same product and consequently will act in the same way.
