Unable to discover OPC UA Server

695 views
Skip to first unread message

awm...@gmail.com

unread,
Aug 9, 2016, 5:38:32 PM8/9/16
to open62541
Hi All,

I am new to OPC UA and am trying to implement open62541. I have the example server running. However, I can't seem to discover it using OPC Foundation UA Sample Client c# application. I am using the "Discovery" menu and putting in the IP address of my server for the "Host Name". I can connect to the server using the OPC Foundation UA Sample Client, but I can't discover it. Anyone know what I am doing wrong?

Amer  

Julius Pfrommer

unread,
Aug 14, 2016, 6:36:29 AM8/14/16
to open62541, awm...@gmail.com
Hello Amer,

it could be that the discovery functionality in the sample client makes use of the so-called "Local Discovery Server" (LDS).
The LDS is a special UA server (running in the background as a Windows service or similar). All other UA servers register there to provide a single point of discovery.

Stefan Profanter (@Pro) supplied a great implementation for registering servers at the LDS.
But his implementation was merged after the 0.2 freeze and lives in the master branch.
And at this time, we advise users to implement against the upcoming release in the 0.2 branch.

If the sample client does not use discovery and still cannot find the open62541 server, than this is a bug and needs to be fixed.
In that case, you can open an issue in our GitHub project at https://github.com/open62541/open62541/issues

Best regards,
Julius

awm...@gmail.com

unread,
Aug 16, 2016, 2:34:05 PM8/16/16
to open62541, awm...@gmail.com
Thank you Julius. I noticed that the example is using UA_ServerConfig_standard which does not specify a discovery URL, so could that have something to do with it? I am going to try specifying a discovery URL to see if that makes a difference.
Reply all
Reply to author
Forward
0 new messages