-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with using ReferencedNodes #682
Comments
@magiconair could it be that this todo is the root cause? |
#683 fixes the issue |
I think it is basically the same Problem. Although I like the way #619 is a bit more efficient I would prefer having a |
my approach == #683 |
When using
ReferencedNodes
new Nodes will be created using theNodeID
of aExpandedNode
. ThisNodeID
has flags for namespace and server which (the values as we use Node not ExpandedNode) then are not passed when using those Nodeshere you can see the problematic line:
nodes = append(nodes, n.c.Node(r.NodeID.NodeID))
So I have a server which responds with that on a
![image](https://private-user-images.githubusercontent.com/1769155/263012552-f2a5982b-3972-4596-af81-9a39f9a7785f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzNDU1NzUsIm5iZiI6MTcyNTM0NTI3NSwicGF0aCI6Ii8xNzY5MTU1LzI2MzAxMjU1Mi1mMmE1OTgyYi0zOTcyLTQ1OTYtYWY4MS05YTM5ZjlhNzc4NWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDNUMDYzNDM1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NGQzNzI0OTE5OTc4OWNmY2NkZWYwOTBlMmIzZjNlMTcwYjI4NTNlNzgyZTUwZTdlNDRhMWUwZjdhNDA0MGQ5NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.fkblPYLEx_TSruKf7Fo1IBou3qdk-PtjZLEY1D2NJ0E)
![image](https://private-user-images.githubusercontent.com/1769155/263012883-1bfab331-5877-487a-a1da-6a06b14be07a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzNDU1NzUsIm5iZiI6MTcyNTM0NTI3NSwicGF0aCI6Ii8xNzY5MTU1LzI2MzAxMjg4My0xYmZhYjMzMS01ODc3LTQ4N2EtYTFkYS02YTA2YjE0YmUwN2EucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDNUMDYzNDM1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2ZhNTJkMWU1MjNmNzI0N2ZiM2JkMDc0ZmY5MDYyNWM1OTVhMDFiNGVkZDY1NWNlMzYzYTRlZGVlMzRkOGM4OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.LHd2YSWV8KnWnNM6vE-EuRnOhq1VWSkTz0fmY3HDgEM)
![image](https://private-user-images.githubusercontent.com/1769155/263011525-0fe200d2-81bb-4d3d-b675-cbcc6cd800f7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzNDU1NzUsIm5iZiI6MTcyNTM0NTI3NSwicGF0aCI6Ii8xNzY5MTU1LzI2MzAxMTUyNS0wZmUyMDBkMi04MWJiLTRkM2QtYjY3NS1jYmNjNmNkODAwZjcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDNUMDYzNDM1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTM1OWI1NmY4YWRlMzFjNTI5OTM1MmY5YzNiOGIzYzQyMDIzMGUwYWQ4ZWFmYmI3OGY5NjgzYjY2MjZmYzk4NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.y0mMlGGAOkui28SR4VnPBC9pUBI0gXnO3e8efeEhbgc)
BrowseRequest
call:UA Secure Conversation Message: BrowseRequest
When using then those nodeIDs for read it produces a invalid request because of the flags and the server returns a error:
UA Secure Converation Message[Malformed Packet]
here in the request above you can see that the flags
c0
are set from the retrievedExpandedNode
ErrorMessage
The text was updated successfully, but these errors were encountered: