# Tag Historian Auto-Disable - Server1 with Ignition Server2 with Tag Historian Module with PostgreSQL

**URL:** <https://forum.inductiveautomation.com/t/tag-historian-auto-disable-server1-with-ignition-server2-with-tag-historian-module-with-postgresql/60404>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 6, 2022, 1:49pm UTC](https://forum.inductiveautomation.com/t/tag-historian-auto-disable-server1-with-ignition-server2-with-tag-historian-module-with-postgresql/60404 "2022-06-06T13:49:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Almir\_A\_Braggio](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@Almir\_A\_Braggio](https://forum.inductiveautomation.com/u/Almir_A_Braggio)\
**Post date:** [June 6, 2022, 1:49pm UTC](https://forum.inductiveautomation.com/t/tag-historian-auto-disable-server1-with-ignition-server2-with-tag-historian-module-with-postgresql/60404/1 "2022-06-06T13:49:55Z")

</div>

Hello, guys,

I’m having a problem that I can’t solve.  
I have a setup like the one in the image, with machine 2 running a historian with postgresql.

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

I enable the tags historian, and for some connection error, the historian is disabled.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/b/2b9bc028c64c896558f8cec66618d68b044d4655.png)

The important logs:

| WebSocketConnection | 05Jun2022 16:56:23 |
| --- | --- |
| | [122633685] ignition-la-srv-app-02 connection status has been updated from Running to Faulted: Remote server forcibly closed the web socket: java.util.concurrent.TimeoutException: Idle timeout expired: 42143/30000 ms |

| Routing | 05Jun2022 16:56:23 |
| --- | --- |
| | Route disconnected between server ‘\_0:0:Ignition-la-srv-app-02’ and connection 'ignition-la-srv-app-02 |

| provider | 05Jun2022 16:56:40 |
| --- | --- |
| | Ignition\_la\_srv\_app\_02\_Postgresql\_Localhost Starting remote historian profile ‘Ignition\_la\_srv\_app\_02\_Postgresql\_Localhost’ |

| HsqlDataStore | 05Jun2022 16:56:40 |
| --- | --- |
| | Looking for existing store and forward datacache ignition\_la\_srv\_app\_02\_postgresql\_localhost |

| HsqlDataStore | 05Jun2022 16:56:41 |
| --- | --- |
| | store and forward datacache ignition\_la\_srv\_app\_02\_postgresql\_localhost started up successfully |

| StandardStoreAndForwardEngine | 05Jun2022 16:56:41 |
| --- | --- |
| | History sink ‘ignition\_la\_srv\_app\_02\_postgresql\_localhost’ started successfully. |

| RemoteHistorianSink | 05Jun2022 16:56:41 |
| --- | --- |
| | Remote sink service state changed to ‘ServerUnavailable’ |

| RemoteHistorianSink | 05Jun2022 16:56:41 |
| --- | --- |
| | History sink ‘Ignition\_la\_srv\_app\_02\_Postgresql\_Localhost’ started successfully. |

| RemoteHistorianSink | 05Jun2022 16:56:41 |
| --- | --- |
| | Data sink ‘Ignition\_la\_srv\_app\_02\_Postgresql\_Localhost’ has been set to faulted: Error initializing data sink. The history storage service is currently unavailable. Current state: ServerUnavailable |

Any suggestions on how i can fix this?

Tks,  
Almir Braggio

---

<div class="post-metadata">

**Author:** ![Almir\_A\_Braggio](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@Almir\_A\_Braggio](https://forum.inductiveautomation.com/u/Almir_A_Braggio)\
**Post date:** [June 7, 2022, 8:46pm UTC](https://forum.inductiveautomation.com/t/tag-historian-auto-disable-server1-with-ignition-server2-with-tag-historian-module-with-postgresql/60404/2 "2022-06-07T20:46:11Z")

</div>

To add more detail, both configuration in yellow are missed after one Gateway Network failed connection between Server 1 and Server 2.  
I need to open the project, edit the tag field configuration (in yellow) to historian works again.  
Anything else is unnecessary in the gateways, just in the project, after this, I can read the historian tags using a Power Chart.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/e/1ea7f76101bcfc0139f89de6261765df82f9b857.png)

---

<div class="post-metadata">

**Author:** ![Almir\_A\_Braggio](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@Almir\_A\_Braggio](https://forum.inductiveautomation.com/u/Almir_A_Braggio)\
**Post date:** [June 9, 2022, 12:28pm UTC](https://forum.inductiveautomation.com/t/tag-historian-auto-disable-server1-with-ignition-server2-with-tag-historian-module-with-postgresql/60404/3 "2022-06-09T12:28:11Z")

</div>

Solved by using Reference Tags. The configuration is missed with the network fail, but using reference tags, the problem has been bypassed.
