# Reading server time and state timed out, disconnecting

**URL:** <https://forum.inductiveautomation.com/t/reading-server-time-and-state-timed-out-disconnecting/9880>\
**Category:** Ignition\
**Created:** [April 7, 2015, 5:26am UTC](https://forum.inductiveautomation.com/t/reading-server-time-and-state-timed-out-disconnecting/9880 "2015-04-07T05:26:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asog](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@Asog](https://forum.inductiveautomation.com/u/Asog)\
**Post date:** [April 7, 2015, 5:26am UTC](https://forum.inductiveautomation.com/t/reading-server-time-and-state-timed-out-disconnecting/9880/1 "2015-04-07T05:26:07Z")

</div>

Hello All,

I am using Ignition 7.7.3 with redundancy configuration.

The master server sometime losing connection to OPC-UA server (approximately 10 second ) which running

on Linux RT target and when connection is losing we monitor following error on console.

Reading server time and state timed out, disconnecting…

But at the same time backup server is connected and continue reading tag values from OPC-UA server, also  
we try to connect kepware as a client to read tag and it’s works.

Could you please share your thoughts on this.

Thanks in advance.

---

<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:** [April 7, 2015, 2:38pm UTC](https://forum.inductiveautomation.com/t/reading-server-time-and-state-timed-out-disconnecting/9880/2 "2015-04-07T14:38:09Z")

</div>

Prior to 7.7.4, the UA client stuff would periodically read the server time and state nodes as sort of a “keep-alive”, because it was expected that a server could always return this information promptly since it should be equivalent to reading a couple values from memory… and if the request to read these values timed out we assume the server is no longer responding and reconnect.

Experience has shown this is not the case with all servers, for whatever reason. As of 7.7.4 this no longer happens.

---

<div class="post-metadata">

**Author:** ![Asog](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@Asog](https://forum.inductiveautomation.com/u/Asog)\
**Post date:** [April 8, 2015, 1:31am UTC](https://forum.inductiveautomation.com/t/reading-server-time-and-state-timed-out-disconnecting/9880/3 "2015-04-08T01:31:28Z")

</div>

Hello Kevin,

Thank you for your fast response.

I will update from 7.7.3 to 7.7.4

Regards  
Aram

---

<div class="post-metadata">

**Author:** ![Asog](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@Asog](https://forum.inductiveautomation.com/u/Asog)\
**Post date:** [April 10, 2015, 6:14am UTC](https://forum.inductiveautomation.com/t/reading-server-time-and-state-timed-out-disconnecting/9880/4 "2015-04-10T06:14:44Z")

</div>

Hello Kevin,

After upgrading to 7.7.4 we faced with new issue.

Approximately 20-40 minute after ignition connected to the OPC-UA server the quick client can’t write values

and show error below.

Bad\_SessionIdinvalid

---

<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:** [April 10, 2015, 12:18pm UTC](https://forum.inductiveautomation.com/t/reading-server-time-and-state-timed-out-disconnecting/9880/5 "2015-04-10T12:18:30Z")

</div>

Hi,

The problem with the UA client not detecting the session has timed out was fixed earlier this week and will be available in the next beta/rc that we release. If you need it sooner you can contact support and ask for a 1.7.5-beta1 OPC-UA module (reference this forum post).

I’d like to see your logs to figure out why/when the session expired though. What server are you connected to?
