-
Notifications
You must be signed in to change notification settings - Fork 187
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
Retrying connection to opcua Server #477
Comments
@vrushalikatkade Sorry, currently the SDK has no support for such function. |
@mregen thanks for reply, actually i have windows service for connecting opcua server. in this service ,
var session =await Opc.Ua.Client.Session.Create(config, endpoint, true, session1.Name, 60000, null, null); |
@vrushalikatkade yes you can retry calling Session.Create, or you could retry calling SelectEndpoint which internally tries to reach the discovery endpoint until no timeout or exception occurs. |
in Session.Create() function timeout set to 60000 but it will not wait for the server active within second through exception |
In node opcua server connection ,the following function will retrying to connect opc ua server ,if it is not available.
" client.on("backoff", () => console.log("retrying connection"));"
which function is used for retrying server connection in UA-.NETStandard. please mention the example
The text was updated successfully, but these errors were encountered: