Troubleshooting
Why historian configuration shows only system tags
Short answer
The empty tag list is a local connection fault, not an IDAS fault: IDAS does not collect System Platform data. Fix the connection behind "Localhost: failed to connect to historian at localhost" first, then confirm the deployed objects carry historized attributes. The 3 GB of free disk is a storage risk to fix now, but it is not the cause of the missing tags.
On this page
When the Historian configuration lists system tags and none of your user-defined System Platform tags, and the log viewer keeps showing "Localhost: failed to connect to historian at localhost", fix that local connection first. The list is empty because the local configuration client cannot reach the historian on the same machine, so it never reads the deployed tag definitions: a loopback communication fault, not a tag-configuration fault. The two IDAS messages are on a separate track, because IDAS is not part of System Platform data collection, so correcting IDAS will not bring the tags back. The roughly 3 GB of free disk on the VM is a real storage risk to clear now, but it did not empty the tag list. Work the layers in that order.
What each log message points at #
Double-click the first red line in the log viewer before you change anything: the full text names the component and the timestamp, and the component decides which layer you are actually in. The three messages map to three different layers:
- "Localhost: failed to connect to historian at localhost" — the local configuration client (the HCAL) cannot reach the historian over the loopback path inside the same machine. This is the fault that explains the empty user-tag list, because the client that would display the deployed tags cannot read them. Next check: historian service state and the local connection target.
- "Failed to get IDAS configuration version" — an IDAS-side configuration request failed. IDAS serves the I/O-server side of data collection; the System Platform path does not run through it. Next check: which component issued the request, read from the full message text.
- "Unable to switch to primary IDAS" — a client tried to fall back to a primary IDAS and could not. Treat it as an independent observation until a test links it to the tag list.
The reported deployment state — all objects deployed, historized attributes set — cannot be verified through a client that cannot connect, so treat it as unconfirmed until the loopback path works.
Fix the local connection first #
- In the log viewer, double-click the first red line and record the full message, the component, and the timestamp. Open the configuration view again and note whether the localhost warning repeats at the same step.
- While the view is opening, check the historian services in the operating system service list. A service can report running while the local endpoint still refuses a client, so watch the state during the attempt, not before it.
- Check the connection target the local configuration client uses. It must name the intended local historian instance; a stale endpoint, or a node name that no longer resolves to this machine, produces exactly this loopback failure.
- Clear the condition you find, reopen the configuration view, and read the tag list again.
If the warning clears and the user-defined tags appear, the IDAS messages were noise and the disk is a separate chore. If the connection succeeds and the tags are still missing, move on: with the client now reading the historian, the tag list has become usable evidence.
Confirm the deployed objects carry historized attributes #
Test a small set, not the whole galaxy:
- Pick two or three attributes you expect to see in the tag list.
- Confirm the objects that own them are deployed on the running node, and that the deployed runtime is the one this historian is configured against.
- Confirm historization is enabled on those specific attributes. A deployed object with no historized attribute produces no historian tag, and an edited object that was never redeployed still shows its old attribute set.
- Refresh the configuration view and look for exactly those attributes.
If the attributes pass here but live values still never reach the archive, the delivery checks in Why Wonderware System Platform tags do not reach Historian are the next set to run. If the deployed objects turn out to be stale, updating the deployed InTouch galaxy without recreating it is the safer correction than deleting and rebuilding the node.
Handle the IDAS warnings on their own track #
IDAS is not in the System Platform collection path, so no amount of IDAS repair will make user-defined System Platform tags appear. Do not rebuild IDAS to fix this tag list.
What the messages do tell you: the vendor's IDAS troubleshooting documentation records that a remote IDAS connection token becomes invalid when the IDAS configuration is updated on the historian, which surfaces as the version error after an update, and the primary-switch warning is the failover half of the same communication problem. Re-establish the affected IDAS connection as its own task, after the tag list is restored. On a standalone historian that otherwise logs fine, these warnings can be quieted without touching collection; the steps are in Stop IDAS warnings on a historian that logs fine.
Free the disk, but do not expect the tags back #
With about 3 GB free on the historian VM, expand the disk now. No single documented minimum fits every installation, so size it from your own history block growth, and the arithmetic is not comforting.
Illustrative rates, not measurements from your system: at 150 MB per day of history block growth, 3072 MB ÷ 150 MB/day = 20.5 days of headroom, where 3072 MB is 3 GB at 1024 MB per GB. At 600 MB per day, 3072 MB ÷ 600 MB/day = 5.1 days. Any sustained rate in that band fills the volume inside three weeks, and when it fills, the historian stops accepting new data you cannot re-log later.
Disk exhaustion announces itself in the log as storage errors. A loopback connection failure inside one machine is not a disk symptom, so freeing space will not clear the localhost warning. Fix both, separately, and do the disk first because it is the one that destroys data.
Prove the fix end to end #
- Open the configuration view fresh and confirm the localhost warning does not reappear in the log during the attempt.
- Confirm the two or three test attributes are listed beside the system tags.
- Confirm a known tag shows a current value and timestamp in a trend, not just a name in the list.
- Record whether the IDAS messages are still present, independently of the tag-list result.
- Measure free disk again after expansion and compare it with the growth rate you measured.
Call it fixed only when the connection warning is gone and the test attributes carry data; anything still open after that belongs to the IDAS or the storage track.
Questions asked
Will restarting the historian services restore the tag connections?
Not reliably. This historian has a documented behavior: when it is shut down and disabled, then re-enabled, it does not reconnect to tags whose values have not changed, and a full reboot of the node re-establishes the connection. If you test with a stop and start, use tags that are actively changing, or reboot the node before you conclude the collection path is broken.
Should I delete the IDAS I/O server definitions to clear the warnings?
Not for this fault. Deleting all IDAS I/O server definitions in the IDAS Configuration utility, restarting the system, and recreating them is a fix for an I/O-server data reception timeout, and it takes working I/O collection down while you do it. IDAS is not in the System Platform collection path, so the rebuild cannot restore user-defined System Platform tags.
Why did a remote IDAS connection fail after a configuration update?
The connection token held for a remote IDAS becomes invalid when the IDAS configuration is updated on the historian, so the remote side can no longer authenticate and the version request fails. The recovery is to re-establish that connection so a fresh token is issued. It explains the message timing after an update, and it is still separate from the missing System Platform tags.
How much free disk space does a historian VM need?
Size it from your own history block growth rather than a fixed number: measure daily block file growth, multiply by the days of headroom you want, and add room for a full backup copy if backups land on the same volume. At 150 MB per day, 3 GB is about 20 days; at 600 MB per day, about 5. With 3 GB free, expand the disk now.