# OPC server fault conditions

**URL:** <https://forum.inductiveautomation.com/t/opc-server-fault-conditions/11145>\
**Category:** Module Development\
**Created:** [January 29, 2016, 2:42pm UTC](https://forum.inductiveautomation.com/t/opc-server-fault-conditions/11145 "2016-01-29T14:42:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [January 29, 2016, 2:42pm UTC](https://forum.inductiveautomation.com/t/opc-server-fault-conditions/11145/1 "2016-01-29T14:42:56Z")

</div>

Hi,  
I observe that sometimes the OPC-UA server of Ignition gets faulted. I stop and restart the Ignition server from the GCU and it starts back again. (I have an evaluation version of Ignition 7.8.0). Under what circumstances does it get faulted?

1. On expiration of the trial period of 120 mins?  
2. On timing out of the OPC client?  
3. Does the OPC-UA server also have a trial period of 120 mins or some thing like that?  
4. ???

How to restart the OPC-UA server? Is stopping and restarting the Ignition server from GCU the correct and only way to restart the OPC-UA server?

Will appreciate some comments on this.

Regard  
Prafull[  
www.pramanj.com](http://www.pramanj.com)

---

<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 29, 2016, 3:48pm UTC](https://forum.inductiveautomation.com/t/opc-server-fault-conditions/11145/2 "2016-01-29T15:48:32Z")

</div>

You can restart the UA server by restarting just the UA module. The faulted connection may be because of a couple of OPC-UA related bugs in 7.8.0 - try upgrading to the recently released 7.8.1.

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [January 30, 2016, 2:31am UTC](https://forum.inductiveautomation.com/t/opc-server-fault-conditions/11145/3 "2016-01-30T02:31:36Z")

</div>

Thanks a lot Kevin. Restarting UA module will be a lot easier than restarting the ignition server thru GCU. I will try to upgrade to 7.8.1.

Will reinstalling new version on same folder suffice? Will it preserve the projects created in the earlier version?

regards  
Prafull  
[www.pramanj.com](http://www.pramanj.com)

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [January 31, 2016, 5:17am UTC](https://forum.inductiveautomation.com/t/opc-server-fault-conditions/11145/4 "2016-01-31T05:17:07Z")

</div>

Hi Kevin,

I also observe that on restarting OPC-UA the OPC server generates a a new IP address (e.g. opc.tcp://192.168.1.12:4096/iaopcua/None). Only the last number changes in every restart of UA module. So in my OPC Client I have to configure new IP address when ever the IP address of Server changes. What is the solution? Can I specify a server name which is unique?

regards  
PRAMANJ  
[www.pramaj.com](http://www.pramaj.com)

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [February 4, 2016, 5:07pm UTC](https://forum.inductiveautomation.com/t/opc-server-fault-conditions/11145/5 "2016-02-04T17:07:14Z")

</div>

[quote="Pramanj"]Hi Kevin,

I also observe that on restarting OPC-UA the OPC server generates a a new IP address (e.g. opc.tcp://192.168.1.12:4096/iaopcua/None). Only the last number changes in every restart of UA module. So in my OPC Client I have to configure new IP address when ever the IP address of Server changes. What is the solution? Can I specify a server name which is unique?

regards  
PRAMANJ  
[pramaj.com](http://www.pramaj.com)[/quote]

Hi Kevin,  
Will appreciate your reply to the above problem. Why does the IP address (last digit) change some times when I restart the OPC UA module? And what address to give in the client for the OPC server so that its independent of the IP Address?

regards  
PRAMANJ

---

<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 4, 2016, 5:10pm UTC](https://forum.inductiveautomation.com/t/opc-server-fault-conditions/11145/6 "2016-02-04T17:10:56Z")

</div>

The server tries to bind to the IP address you have specified as the endpoint under the server configuration area. If that fails, it just chooses an available IP. If you’re on a laptop or in DHCP it’s possible your IP is changing.

In the client connection settings, you can usually just specify “localhost” instead of an IP address and everything should work.

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [February 5, 2016, 4:03am UTC](https://forum.inductiveautomation.com/t/opc-server-fault-conditions/11145/7 "2016-02-05T04:03:45Z")

</div>

Simple solution! Never thought of that! I was basically copying the URI displayed on the OPC status page in to my client.  
Thanks a lot,  
regards  
PRAMANJ

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [February 5, 2016, 8:16am UTC](https://forum.inductiveautomation.com/t/opc-server-fault-conditions/11145/8 "2016-02-05T08:16:19Z")

</div>

[quote="Pramanj"]Simple solution! Never thought of that! I was basically copying the URI displayed on the OPC status page in to my client.  
Thanks a lot,  
regards  
PRAMANJ[/quote]

But if my client is on a separate machine, (as will be the case in real life) then I have to give the URL of the server! I think I can try to give host name and see.

regards  
PRAMANJ

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [February 5, 2016, 2:01pm UTC](https://forum.inductiveautomation.com/t/opc-server-fault-conditions/11145/9 "2016-02-05T14:01:11Z")

</div>

[quote="Pramanj"][quote="Pramanj"]Simple solution! Never thought of that! I was basically copying the URI displayed on the OPC status page in to my client.  
Thanks a lot,  
regards  
PRAMANJ[/quote]

But if my client is on a separate machine, (as will be the case in real life) then I have to give the URL of the server! I think I can try to give host name and see.

regards  
PRAMANJ[/quote]

Yes.. the hostname works fine. So I don't have to change IP address in the client every time.  
Thanks a lot.  
PRAMANJ

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [February 12, 2016, 3:30am UTC](https://forum.inductiveautomation.com/t/opc-server-fault-conditions/11145/10 "2016-02-12T03:30:56Z")

</div>

Sometimes OPC Browser in the designer gives error after a long wait from gateway. Whereas the OPC client seems to be working fine. It gets triggers from the server for subscriptions. What could be the reason? Do we need to restart the OPC server module on gateway?

Will restating of OPC Server not affect the running Ignition SCADA application and PLC's connected and the plant? How safe is it to restart the OPC-UA module in a running plant?  
(I am working on a trial version of Ignition).

regards  
Prafull  
[pramanj.com](http://www.pramanj.com)
