Closed KircMax closed 4 months ago
just as a hint - the spec. does not allow the server to provide the node with value 0 (to indicate unsupported):
hi @KircMax , this way it is faster for the client to read all known operation limits, otherwise an extra browse were necessary. The way it is defined in the spec I would expect clients to try a read and rather not log it in the server.
Hi @mregen thanks a lot for your answer and your perspective on this.
Type of issue
Current Behavior
Currently the Client will request the Servercapabilities regardless of wether the server supports these profiles. E.g.: Server_ServerCapabilities_OperationLimits_MaxNodesPerHistoryReadData,12165,Variable Server_ServerCapabilities_OperationLimits_MaxNodesPerHistoryReadEvents,12166,Variable Server_ServerCapabilities_OperationLimits_MaxNodesPerHistoryUpdateData,12167,Variable Server_ServerCapabilities_OperationLimits_MaxNodesPerHistoryUpdateEvents,12168,Variable
Server_ServerCapabilities_OperationLimits_MaxNodesPerNodeManagement,11713,Variable
Now that by itself is not an issue - since the client also handles failure of accessing the values by just using the default configurations limits... BUT what might happen by that is that a server might detect that the client tried to access inexistant nodes and e.g. log a warning that a client has wrongly used the service read e.g. like so:![image](https://github.com/OPCFoundation/UA-.NETStandard/assets/47225814/0bcc03fd-aadf-48f5-bb7d-d4a3b39325d0)
The only thing I could imagine that would prohibit the client from accessing these -nonexistant but well defined - nodes is for the client to check for the supported profile array and only if it does support historyreaddata access the limit for the historyreaddata![image](https://github.com/OPCFoundation/UA-.NETStandard/assets/47225814/274f497e-6f33-4c54-8399-d7bcb09e3766)
First of all I can live with the current behaviour, I just noticed that that is something that might be problematic (like described above)... What do you think?
Expected Behavior
Only supported Servercapabilities are requested.
Steps To Reproduce
No response
Environment
Anything else?
No response