# What can cause opc-ua device connections status to reconnectwait

**URL:** <https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607>\
**Category:** General Discussion\
**Tags:** ignition81\
**Created:** [March 3, 2023, 8:22pm UTC](https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607 "2023-03-03T20:22:31Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amankumar\_Patel](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@Amankumar\_Patel](https://forum.inductiveautomation.com/u/Amankumar_Patel)\
**Post date:** [March 3, 2023, 8:22pm UTC](https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607/1 "2023-03-03T20:22:32Z")

</div>

Hi Ignition Experts,

I am stuck to the ReconnectWait with the OPC UA device connections. Can you please advice what could possibly wrong here?

Thanks  
 ![reconnect wait](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/3/93a60f97e870d6c269c01c6ac45d776157f6f08d.png)

---

<div class="post-metadata">

**Author:** ![Amankumar\_Patel](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@Amankumar\_Patel](https://forum.inductiveautomation.com/u/Amankumar_Patel)\
**Post date:** [March 3, 2023, 8:23pm UTC](https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607/2 "2023-03-03T20:23:28Z")

</div>

I donot have installed external database, I am utilizing default one.

---

<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:** [March 3, 2023, 8:23pm UTC](https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607/3 "2023-03-03T20:23:37Z")

</div>

ReconnectWait is an intermediate state that basically means it's waiting to attempt another connection. You can't connect to this device for some reason, and the driver is periodically retrying.

What driver are you using? What device/model is it? Are there any messages in the logs?

---

<div class="post-metadata">

**Author:** ![Amankumar\_Patel](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@Amankumar\_Patel](https://forum.inductiveautomation.com/u/Amankumar_Patel)\
**Post date:** [March 3, 2023, 8:26pm UTC](https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607/4 "2023-03-03T20:26:37Z")

</div>

It is AB 1756-L8 , I can ping the device and go online without issue. I have attached snip of log error I am getting

 ![java](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/e/ce820700a53b678f875f8ddef1707e590d545ea4.png)

---

<div class="post-metadata">

**Author:** ![Amankumar\_Patel](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@Amankumar\_Patel](https://forum.inductiveautomation.com/u/Amankumar_Patel)\
**Post date:** [March 3, 2023, 8:28pm UTC](https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607/5 "2023-03-03T20:28:42Z")

</div>

I have attached snip of JDBC driver

 ![Driver](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/4/54013ea7832e7751ea293b82f071969eadd1627d.png)  
it.

---

<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:** [March 3, 2023, 8:31pm UTC](https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607/6 "2023-03-03T20:31:43Z")

</div>

If you set the loggers for "drivers.LogixDriver" to DEBUG level and then go edit/save the device without making any changes it will force a reconnect and you should get some different errors, including one with the actual connection failure.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/7/f778640af04670486b8260bed060f4d3c102b62e.png)

[https://docs.inductiveautomation.com/display/DOC81/Diagnostics+-+Logs#DiagnosticsLogs-ChangingLoggingLevels](https://docs.inductiveautomation.com/display/DOC81/Diagnostics+-+Logs#DiagnosticsLogs-ChangingLoggingLevels)

---

<div class="post-metadata">

**Author:** ![Amankumar\_Patel](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@Amankumar\_Patel](https://forum.inductiveautomation.com/u/Amankumar_Patel)\
**Post date:** [March 3, 2023, 9:05pm UTC](https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607/7 "2023-03-03T21:05:13Z")

</div>

![didit](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/7/c70a5d0263747ea0787f2acab37ee7fed37fbf29.png)  
I did that and it is showing me debug logs.

---

<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:** [March 3, 2023, 9:06pm UTC](https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607/8 "2023-03-03T21:06:06Z")

</div>

Can you upload the logs here? Right away after the edit/save there should have been something different than the useless "not connected" error.

---

<div class="post-metadata">

**Author:** ![Amankumar\_Patel](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@Amankumar\_Patel](https://forum.inductiveautomation.com/u/Amankumar_Patel)\
**Post date:** [March 9, 2023, 9:41pm UTC](https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607/9 "2023-03-09T21:41:17Z")

</div>

[Ignition.zip](https://forum.inductiveautomation.com/uploads/short-url/pvRzAFD9STPmbyl7LLKEMVmzyCW.zip) (4.3 MB)

---

<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:** [March 9, 2023, 10:03pm UTC](https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607/10 "2023-03-09T22:03:36Z")

</div>

Your connection is failing at the network level:

```auto
io.netty.channel.AbstractChannel$AnnotatedSocketException: Permission denied: no further information: /10.70.140.12:44818
java.net.SocketException: Permission denied: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
	at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337)
	at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:710)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base/java.lang.Thread.run(Unknown Source)

```

I've never seen "permission denied" before, so I'm not sure where to point you. Some kind of AV or firewall or permissions problem with whatever user the Ignition Gateway service is running under, maybe?

---

<div class="post-metadata">

**Author:** ![Amankumar\_Patel](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@Amankumar\_Patel](https://forum.inductiveautomation.com/u/Amankumar_Patel)\
**Post date:** [March 9, 2023, 10:25pm UTC](https://forum.inductiveautomation.com/t/what-can-cause-opc-ua-device-connections-status-to-reconnectwait/70607/11 "2023-03-09T22:25:54Z")

</div>

It was firewall , I turnoff firewall and it got connected. Thank you for guidance.
