Open Pascal-So opened 3 years ago
Hello @Pascal-So , I have the same problem as you. Were you able to resolve this issue? If so, could you help me, thank you!
Hi @dagsonpatrick, unfortunately I wasn't able to fix this issue. If I remember correctly, this was around the time when I was switching everything over to rust anyway, and I've had good experiences with the locka99/opcua library in rust in different projects ever since.
Note however that I don't remember if I've ever done anything with OPC Router again afterwards, so maybe the same problem still remains, I can't make any guarantees about that.
Describe the bug
The
server-methods.py
example encounters an out of range error.OPC Router then complains about a timeout error because it didn't get a response to the TranslateBrowsePathsToNodeIdsRequest.
To Reproduce
Run the
server-methods.py
example and access the server using "OPC Router Version 4.18 - Trial version". The client then eventually sends a "TranslateBrowsePathsToNodeIdsRequest" with an empty array of RelativePathElement (according to wireshark), which causes the error to be printed to the server console.Expected behavior
I'm not sure if this empty path is allowed by the spec, and a comment in the server source also mentions this, but apparently this appears in the real world, whether or not it is valid by spec, so I guess this should be handled.
Version
Python-Version: 3.8.5 python-opcua Version: 0.98.12 OPC Router Version 4.18 - Trial version