Issue: Bad_ConnectionClosed / Bad_SecureChannelIdInvalid during async recursive browse #1415
ravi-kothapally
started this conversation in
General
Replies: 1 comment 2 replies
-
You need to write your recursive async browse routine so that it is clever enough not to go infinitely wide with the concurrent requests. Just setting an Executor with a fixed size isn't going to do anything - none of these browses are blocking a thread because they are async! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Eclipse Milo to recursively browse an OPC UA server using the async Method:
I’m passing a custom executor:
The issue: when the recursion goes deeper, I get errors like:
UaException: Bad_ConnectionClosed
UaServiceFaultException: Bad_SecureChannelIdInvalid
Even reducing the thread pool size to 1–2 doesn't help.
It seems like the new session getting created after the first one(may be this one closed because of load)
How can I keep the session/channel alive and stable during async operations?
Is there a better way to do deep recursive browsing asynchronously?
Any suggestions or best practices would be really helpful. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions