Intermittent OPC Issues

We have a setup with an OPC connection to our DCS/PCS setup. Generally speaking, this OPC connection has been stable but following a recent upgrade to our PCS server, we've encountered a lot of issues on this OPC connection.

I'll see the following OpcUaSubscribtionSynchronizer warning:

Error setting MonitoringMode.Reporting for 5412 items on subscription=tag-group-ans_default: status=Bad_CommunicationError, description=A low level communication error occurred.

I can actually browse the tags in Status/OPC Connections/Client/Nodes & everything looks as expected there, with the tags showing a Good status code, while this issue is active.

But, if I browse the tags themselves, I'll see bad statuses on all of the OPC tag values.

Now, I've found a workaround that generally works. I'll export all of my tags, I'll bulk replace the OPC server path in the tag configuration & I'll replace it with a new OPC connection to that same endpoint. This does actually work.

Interesting behavior I noted is that if I use tag browser, I can browse a point & I can read a point, but if the issues is active on the OPC connection, I can't subscribe to that point. That's kind of what led me down the path of creating a new OPC connection to begin with & with a new, identical (outside of the name) OPC connection, I could do everything, including subscribe.

This would be all fine I suppose if this was a one-off issue, but it seems to be that something occurs on the control system side on occasion and we end up re-encountering this error.

I'm kind of stumped on how to genuinely resolve this so I'm hoping maybe something here sounds familiar to someone?

I had a similar issue before and someone told me to reset my OPC connection which helped resolve that issue for me.

Appreciate the suggestion. Assuming you basically just mean to save changes to the connection to restart it? Unfortunately that doesn’t seem to ever resolve it for me. I’ve tried restarting ignition services, restarting the server just for good measure, nothing. Quite literally the only thing I can get to resolve it is to create a whole new OPC connection and then point my tags to the new connection.

The problem seems to be with the PCS/DCS/ control system. It seems to trigger the issue when we reboot that or restart services for OPC I believe, but it’s pretty flaky. Just hoping I can figure out some way to better cope with the issue on the Ignition side of the house if possible ultimately!