Intermittent OPC UA Publish BadTimeout Errors from Kepware Causing Data Gaps in Azure IoT Operations OPC UA Connector
We are using 3 Kepware (KEPServerEX) servers connected to Azure IoT Operations (AIO) OPC UA Connector, which forwards data to Azure IoT Hub.
Recently, we observed intermittent missing payloads/data gaps of approximately 4 minutes across all three Kepware servers simultaneously. During these periods, no telemetry was received in Azure.
We raised a support case with Microsoft, and after analyzing the OPC UA Connector logs, they provided the following finding:
Analysis of the OPC UA Connector logs shows that the payload gaps coincide with OPC UA
BadTimeoutpublishing errors, i.e. periods where the OPC UA servers did not return a response to the connector's Publish requests within the operation timeout. During each of these periods no data-change or keep-alive notification is delivered, and therefore the per-minute keyframe for that period is not produced. This is the primary cause of the reported payload shortfall.
We are trying to understand the issue from the Kepware/OPC UA Server side and would appreciate any guidance.
Environment
- 3 x KEPServerEX instances in independent Virtual machines
- Azure IoT Operations OPC UA Connector as OPC UA client
- Azure IoT Hub as destination
- Data gaps observed for ~4 minutes
- All three servers affected during the same timeframe
Questions
- Under what conditions can KEPServerEX return or contribute to OPC UA
BadTimeoutPublish errors? - Are there known scenarios where the server stops responding to Publish requests temporarily while remaining otherwise operational?
- Which Kepware logs, diagnostics, or performance counters should we review to identify the root cause?
- Could this be related to:
- High CPU or memory utilization?
- Large number of monitored items/subscriptions?
- Network latency or packet loss?
- OPC UA session/subscription limits?
- Publishing interval or keep-alive configuration?
- Has anyone experienced similar intermittent Publish timeout issues with Kepware acting as the OPC UA server?
Any recommendations on troubleshooting steps, logging settings, or best practices would be greatly appreciated.
Thanks in advance for your help.
Additional Information: The issue affected all three Kepware servers at nearly the same time, so we're also investigating whether there could be a common infrastructure, network, or client-side factor involved. However, we'd like to understand what Kepware-side conditions might lead to OPC UA Publish request timeouts seen by the OPC UA client.
Thanks!

