View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009010 | .NET API | Implementation Bug | public | 2023-06-15 13:42 | 2023-06-15 13:42 |
Reporter | driestp@qpit.nl | Assigned To | |||
Priority | urgent | Severity | crash | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0009010: SessionReconnectHandler.BeginReconnect method timeout issue, OPC UA server overloaded with connection requests, Hangup PLC link. | ||||
Description | To reconnect to an OPC UA server we use the SessionReconnectHandler.BeginReconnect method. We specify a reconnectPeriod of 1000ms. However the reconnect fails just after 1000ms, then the OPC UA client waits about a minimum of 100ms to continue with another reconnect attempt. So it seems that the reconnectPeriod includes the time it takes to attempt the connection. The problem with this is that the OPC UA server becomes overloaded with connection requests and keeps taking too long to accept any connections. See the following log: [11:40:36.109 VRB] CreateSession Called. RequestHandle=1, PendingRequestCount=1 <s:Opc.Ua> Is there any way to increase this minimum of 100ms without increasing the reconnectPeriod? Using OPCFoundation.NetStandard.Opc.Ua.Client v1.4.371.41 on .Net 7 | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2023-06-15 13:42 | driestp@qpit.nl | New Issue |