# OPC-UA no longer works

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-no-longer-works/7957>\
**Category:** Ignition\
**Created:** [February 5, 2014, 2:19pm UTC](https://forum.inductiveautomation.com/t/opc-ua-no-longer-works/7957 "2014-02-05T14:19:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ecujak](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@ecujak](https://forum.inductiveautomation.com/u/ecujak)\
**Post date:** [February 5, 2014, 2:19pm UTC](https://forum.inductiveautomation.com/t/opc-ua-no-longer-works/7957/1 "2014-02-05T14:19:37Z")

</div>

This worked before, but not anymore. What is wrong?

```auto
Could not open secure channel to opc.tcp://169.254.95.120:4096/iaopcua/Basic128Rsa15

com.inductiveautomation.opcua.UAException: Could not open secure channel to opc.tcp://localhost:4096/iaopcua/Basic128Rsa15.
com.inductiveautomation.xopc.client.stack.TCPClientChannel.open(TCPClientChannel.java:265)
com.inductiveautomation.xopc.client.stack.UaClient.connect(UaClient.java:65)
com.inductiveautomation.xopc.client.OpcUaConnection.verifyConnectionState(OpcUaConnection.java:147)
com.inductiveautomation.xopc.client.FailoverAwareOpcUaConnection.verifyConnectionState(FailoverAwareOpcUaConnection.java:75)
com.inductiveautomation.ignition.gateway.opc.OPCManagerImpl$ServerWrapper.verifyConnectionState(OPCManagerImpl.java:743)
com.inductiveautomation.ignition.gateway.opc.OPCManagerImpl$OPCConnectionKeepalive.run(OPCManagerImpl.java:619)
com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$TrackedTask.run(BasicExecutionEngine.java:573)
java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
java.util.concurrent.FutureTask.runAndReset(Unknown Source)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)java.lang.Thread.run(Unknown Source)
```

---

<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 5, 2014, 3:10pm UTC](https://forum.inductiveautomation.com/t/opc-ua-no-longer-works/7957/2 "2014-02-05T15:10:15Z")

</div>

Can you post your logs? What changed? That IP address looks pretty suspicious…

---

<div class="post-metadata">

**Author:** ![ecujak](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@ecujak](https://forum.inductiveautomation.com/u/ecujak)\
**Post date:** [February 5, 2014, 3:36pm UTC](https://forum.inductiveautomation.com/t/opc-ua-no-longer-works/7957/3 "2014-02-05T15:36:54Z")

</div>

that is not an ip on our network. This worked in the past but I don’t know that this has worked since the upgrade to 7.6.x.

how do I get a log for you?

---

<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 5, 2014, 3:46pm UTC](https://forum.inductiveautomation.com/t/opc-ua-no-longer-works/7957/4 "2014-02-05T15:46:57Z")

</div>

On the console page there’s an export link that will give you a logs.bin.gz which you can email to support.

But it’s probably not gonna be that helpful.

Check that the IP address in the OPC-UA \> Settings \> Endpoint Address matches the IP of the machine your gateway is on, and then the IP address for the connection under OPC Connections \> Servers matches as well.

If you have to change the Endpoint Address you’ll need to restart the UA module for it to take effect.

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [February 5, 2014, 4:55pm UTC](https://forum.inductiveautomation.com/t/opc-ua-no-longer-works/7957/5 "2014-02-05T16:55:48Z")

</div>

An IP address starting with 169.254 is a link-local ip address. Essentially, you don’t have a static IP address, and you don’t have access to a DHCP server. My guess is that the ip address that the computer assigns itself has changed. If you are completely stand alone, or require no external OPC access, you should probably set the OPC server host setting to the loop-back adapter IP address, which is 127.0.0.1.

Also, if you need help sleeping, here is the RFC for the link-local IP address scheme  
[RFC3927](http://tools.ietf.org/html/rfc3927)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c985ea71ed53a8f212f3920ddf03fe05249170b8.png) [@system](https://forum.inductiveautomation.com/u/system)\
**Post date:** [February 5, 2014, 7:21pm UTC](https://forum.inductiveautomation.com/t/opc-ua-no-longer-works/7957/6 "2014-02-05T19:21:04Z")

</div>

127.0.0.1 has replaced local host,

restarted module - faulted  
restarted gateway - faulted

I wish I could upload pics of my settings.

---

<div class="post-metadata">

**Author:** ![ecujak](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@ecujak](https://forum.inductiveautomation.com/u/ecujak)\
**Post date:** [February 5, 2014, 7:26pm UTC](https://forum.inductiveautomation.com/t/opc-ua-no-longer-works/7957/7 "2014-02-05T19:26:14Z")

</div>

com.inductiveautomation.opcua.UAException: Could not open secure channel to opc.tcp://127.0.0.1:4096/iaopcua/Basic128Rsa15.

---

<div class="post-metadata">

**Author:** ![ecujak](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@ecujak](https://forum.inductiveautomation.com/u/ecujak)\
**Post date:** [February 6, 2014, 7:06pm UTC](https://forum.inductiveautomation.com/t/opc-ua-no-longer-works/7957/8 "2014-02-06T19:06:45Z")

</div>

Refresh certificates.

---

<div class="post-metadata">

**Author:** ![Gilberto\_Quintero](https://avatars.discourse-cdn.com/v4/letter/g/d07c76/32.png) [@Gilberto\_Quintero](https://forum.inductiveautomation.com/u/Gilberto_Quintero)\
**Post date:** [January 4, 2023, 10:29pm UTC](https://forum.inductiveautomation.com/t/opc-ua-no-longer-works/7957/9 "2023-01-04T22:29:55Z")

</div>

ecujak,

This may be a shot in the dark since it's been a while since you last posted but did you respond with "Refresh Certificates" because that worked for you? I have the same error messages on Ignition when trying to connect to an OPC Server. If you see this could you elaborate what you did exactly to solve this issue?

Thank you.

---

<div class="post-metadata">

**Author:** ![Varsha\_Gottipati1](https://avatars.discourse-cdn.com/v4/letter/v/ce73a5/32.png) [@Varsha\_Gottipati1](https://forum.inductiveautomation.com/u/Varsha_Gottipati1)\
**Post date:** [March 25, 2025, 7:27pm UTC](https://forum.inductiveautomation.com/t/opc-ua-no-longer-works/7957/10 "2025-03-25T19:27:47Z")

</div>

Did you resolve your issue?
