OPCFoundation / UA-LDS

Local Discovery Server
45 stars 48 forks source link

OPC UA LDS Failed to find more than one UA Server #75

Open mohammadareef opened 2 years ago

mohammadareef commented 2 years ago

Hello, I am using LDS V1.04.403.476. We have 2 OPC UA Servers installed on the same system. When I install the first OPC UA Server, during installation we exchange the certificates with LDS and restart LDS, Bonjour and our OPC UA Server at the end of the installation process. After this, when we try connecting to LDS from any UA Client, we can see our UA Server showing up under LDS. Now, I install my second UA Server and we repeat the same process of certificate exchanges and services restart. However, after this LDS Server does not return any of the UA Servers when queried from UA Client. Some time it works by restarting the services again, but >90% of time, nothing works and we end up always discovering services manually.

In opcualds log file, we see the error as "[6512]: ualds_findserversonnetwork_socketEventCallback: DNSServiceProcessResult returned error -65541". Checked the mDNSResponder service and it shows as running properly. Checked the Bonjour browser and can see LDS showing up in there. Attached screenshot shows multiple windows related to this.

Any suggestion what is going wrong here? LDSIssue

erhardgrishaber commented 2 years ago

@mohammadareef Do not restart the LDS & Bonjour service (it is not needed). Just exchange the certificates and register. Let me know if it works.