# OPC -UA disconnecting

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-disconnecting/14522>\
**Category:** Ignition\
**Created:** [June 15, 2017, 9:02am UTC](https://forum.inductiveautomation.com/t/opc-ua-disconnecting/14522 "2017-06-15T09:02:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![HALW80](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@HALW80](https://forum.inductiveautomation.com/u/HALW80)\
**Post date:** [June 15, 2017, 9:02am UTC](https://forum.inductiveautomation.com/t/opc-ua-disconnecting/14522/1 "2017-06-15T09:02:22Z")

</div>

Hi. I have Gateway 7.8.2 running a OPC-UA connection via an OPC tunneller to Gateway v7.7.1  
Every so often it disconnects and then sits saying connecting.  
When I disable and enable, it reconnects and says connected.

Any way to get it to reconnect automatically?

---

<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:** [June 15, 2017, 12:58pm UTC](https://forum.inductiveautomation.com/t/opc-ua-disconnecting/14522/2 "2017-06-15T12:58:46Z")

</div>

It’s supposed to be automatic.

Given the older versions in play, the first thing you should try is to upgrade each gateway to the latest version in that series.

---

<div class="post-metadata">

**Author:** ![HALW80](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@HALW80](https://forum.inductiveautomation.com/u/HALW80)\
**Post date:** [June 15, 2017, 1:21pm UTC](https://forum.inductiveautomation.com/t/opc-ua-disconnecting/14522/3 "2017-06-15T13:21:55Z")

</div>

Ok thank you its worth a try

---

<div class="post-metadata">

**Author:** ![HALW80](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@HALW80](https://forum.inductiveautomation.com/u/HALW80)\
**Post date:** [June 20, 2017, 11:21am UTC](https://forum.inductiveautomation.com/t/opc-ua-disconnecting/14522/4 "2017-06-20T11:21:30Z")

</div>

I upgraded the Gateway from 7.8.2 to 7.85 successfully.

I upgraded the Gateway with the OPC tunneller to v7.7.8 but now the Ignition OPC-UA server has disappeared from the OPC Server connections and then in status its showing faulted and "OPC server connection is faulted. Type “com.inductiveautomation.OpcUaServerType” is not a known server type. "

---

<div class="post-metadata">

**Author:** ![HALW80](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@HALW80](https://forum.inductiveautomation.com/u/HALW80)\
**Post date:** [June 20, 2017, 11:36am UTC](https://forum.inductiveautomation.com/t/opc-ua-disconnecting/14522/5 "2017-06-20T11:36:58Z")

</div>

v7.7.7 is also saying OPC server connection is faulted.  
I have reverted back to v7.7.1 temporarily as its working ok

---

<div class="post-metadata">

**Author:** ![HALW80](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@HALW80](https://forum.inductiveautomation.com/u/HALW80)\
**Post date:** [August 9, 2017, 2:11pm UTC](https://forum.inductiveautomation.com/t/opc-ua-disconnecting/14522/6 "2017-08-09T14:11:16Z")

</div>

Any other suggestions on this? it stayed connected with data for 10 days.  
Then my trends began to flat lining even though OPC was saying connected.  
I disconnect and reconnected and it faulted with a “No anonymous token policy found” error.  
I re-entered the opcuauser password and it reconnected and live data again

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 9, 2017, 3:19pm UTC](https://forum.inductiveautomation.com/t/opc-ua-disconnecting/14522/7 "2017-08-09T15:19:43Z")

</div>

Using such an old version, there’s not much we can offer from a support standpoint. I’d recommend updating to either 7.9 or 7.7.8, and if you’re having issues with your OPC-UA connection call/email in to support so we can take a look at things.

---

<div class="post-metadata">

**Author:** ![HALW80](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@HALW80](https://forum.inductiveautomation.com/u/HALW80)\
**Post date:** [August 9, 2017, 3:37pm UTC](https://forum.inductiveautomation.com/t/opc-ua-disconnecting/14522/8 "2017-08-09T15:37:40Z")

</div>

ok will give them a shout. thanks

---

<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:** [December 3, 2019, 7:42pm UTC](https://forum.inductiveautomation.com/t/opc-ua-disconnecting/14522/9 "2019-12-03T19:42:39Z")

</div>

A post was split to a new topic: [OPC UA Connection Failed?](https://forum.inductiveautomation.com/t/opc-ua-connection-failed/30415)
