# OPC UA Client Connection Timeout

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-client-connection-timeout/20926>\
**Category:** Ignition\
**Tags:** sdk, ignition79\
**Created:** [November 18, 2018, 4:43am UTC](https://forum.inductiveautomation.com/t/opc-ua-client-connection-timeout/20926 "2018-11-18T04:43:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kowshikn](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@kowshikn](https://forum.inductiveautomation.com/u/kowshikn)\
**Post date:** [November 18, 2018, 4:43am UTC](https://forum.inductiveautomation.com/t/opc-ua-client-connection-timeout/20926/1 "2018-11-18T04:43:10Z")

</div>

Hi, We are using the OPC UA Module in our Ignition Server 7.9.5. We use the opc-ua-sdk 1.1.1 version in our application to connect to the OPC UA Module. We noticed this weird behavior where our connections to OPC UA Server failing due to timeout. This is not during startup, this happens after while i.e after successful connection for some hours suddenly all our client connection call timeout. The mitigation is to restart the OPC Module in our server. Can someone help us in finding what could be the cause of this issue? Interestingly this happens only in Ignition Server 7.9.5, we don’t see the same issue in older version ignition.

Thanks

Logs:  
Client Side:

``scheduler.TaskWorker: Failure executing task: name=[Random Taxk Nme] java.lang.RuntimeException: java.util.concurrent.ExecutionException: io.netty.channel.ConnectTimeoutException: connection timed out: 10.224.8.165:4096 | at com.google.common.base.Throwables.propagate(Unknown Source) | at com.daemon.OpcUaEndpointDiscovey```

Server Side:

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/47625410ef5b7dcc11b9f1673fd2e49d826caf26.png)

---

<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:** [November 18, 2018, 6:54pm UTC](https://forum.inductiveautomation.com/t/opc-ua-client-connection-timeout/20926/2 "2018-11-18T18:54:41Z")

</div>

I don’t have enough information to figure out what’s wrong, but here are some observations based on this log message + looking at the logs you sent to support:

1. the last time the UA module started up it bound to `10.22.96.132` but your client error message mentions trying to connect to `10.224.8.165`.

2. your client is opening 25-50 connections and sessions at a time for some reason, and then they are all timing out at once sometime later. I don’t know if this is related to the problem or not, but it’s certainly odd.

3. to me, a “connection timed out” error indicates something other than the server software is the problem. Connection refused, sure, but usually when we see a “connection timed out” issue it’s because a firewall, proxy, or something on the host system is blocking the TCP connection from happening.

I’d guess that if you had Wireshark running on both sides you’d see the server never sees a TCP `SYN` packet, or the client never receives the `SYN/ACK` response packet.
