You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run discovery example in different order, UA_Client_findServers() produce a different result.
Background Information / Reproduction Steps
All examples run on a same device in the following order:
discovery_server_lds
discovery_server_multicast
discovery_server_register
discovery_client_find_servers
Output as expected, 3 servers appeared for both queries UA_Client_findServers() and UA_Client_findServersOnNetwork(), these servers are lds, register, and multicast
Everything else looks normal except an error message on Multicast DNS as following. The multicast example works ok, so im not sure how significant this error is?
pi@raspberrypi:~/Proj/open62541/open62541/build/bin/examples $ ./discovery_server_lds
[2019-02-19 15:55:18.993 (UTC+0800)] info/network TCP network layer listening on opc.tcp:https://raspberrypi:4840/
[2019-02-19 15:55:18.993 (UTC+0800)] info/server Multicast DNS: add record for domain: LDS-raspberrypi._opcua-tcp._tcp.local.
[2019-02-19 15:55:19.094 (UTC+0800)] error/server Multicast error: Can not write to socket. Resource temporarily unavailable
[2019-02-19 15:55:19.195 (UTC+0800)] info/server Multicast DNS: found server: opc.tcp:https://raspberrypi:4840/
[2019-02-19 15:55:19.195 (UTC+0800)] error/server Multicast error: Can not write to socket. Resource temporarily unavailable
[2019-02-19 15:55:19.898 (UTC+0800)] error/server Multicast error: Can not write to socket. Resource temporarily unavailable
[2019-02-19 15:55:21.904 (UTC+0800)] error/server Multicast error: Can not write to socket. Resource temporarily unavailable
[2019-02-19 15:55:22.206 (UTC+0800)] error/server Multicast error: Can not write to socket. Resource temporarily unavailable
[2019-02-19 15:55:22.307 (UTC+0800)] error/server Multicast error: Can not write to socket. Resource temporarily unavailable
[2019-02-19 15:55:22.879 (UTC+0800)] info/network Connection 6 | New connection over TCP from 127.0.0.1
[2019-02-19 15:55:22.879 (UTC+0800)] info/channel Creating a new SecureChannel
[2019-02-19 15:55:22.879 (UTC+0800)] warn/securitypolicy No PKI plugin set. Accepting all certificates
[2019-02-19 15:55:22.879 (UTC+0800)] info/channel Connection 6 | SecureChannel 1 | Opened SecureChannel
[2019-02-19 15:55:22.880 (UTC+0800)] info/session Connection 6 | SecureChannel 1 | Session b96ca1c2-ba7f-6a45-2462-d6ad2d2232d3 | ActivateSession: Session activated
[2019-02-19 15:55:22.880 (UTC+0800)] info/server Multicast DNS: add record for domain: Sample Multicast Server-raspberrypi._opcua-tcp._tcp.local.
[2019-02-19 15:55:22.881 (UTC+0800)] info/session Connection 6 | SecureChannel 1 | Session b96ca1c2-ba7f-6a45-2462-d6ad2d2232d3 | CloseSession
[2019-02-19 15:55:22.881 (UTC+0800)] error/server Multicast error: Can not write to socket. Resource temporarily unavailable
[2019-02-19 15:55:22.881 (UTC+0800)] info/channel Connection 6 | SecureChannel 1 | CloseSecureChannel
[2019-02-19 15:55:22.881 (UTC+0800)] info/network Connection 6 | Closed
[2019-02-19 15:55:23.082 (UTC+0800)] info/server Multicast DNS: found server: opc.tcp:https://raspberrypi:16600/
[2019-02-19 15:55:23.082 (UTC+0800)] error/server Multicast error: Can not write to socket. Resource temporarily unavailable
[2019-02-19 15:55:23.184 (UTC+0800)] error/server Multicast error: Can not write to socket. Resource temporarily unavailable
[2019-02-19 15:55:23.735 (UTC+0800)] error/server Multicast error: Can not write to socket. Resource temporarily unavailable
[2019-02-19 15:55:25.741 (UTC+0800)] error/server Multicast error: Can not write to socket. Resource temporarily unavailable
[2019-02-19 15:55:27.746 (UTC+0800)] error/server Multicast error: Can not write to socket. Resource temporarily unavailable
Checklist
Please provide the following information:
open62541 Version (release number or git tag): v0.3.0
Description
Run discovery example in different order, UA_Client_findServers() produce a different result.
Background Information / Reproduction Steps
All examples run on a same device in the following order:
Output as expected, 3 servers appeared for both queries UA_Client_findServers() and UA_Client_findServersOnNetwork(), these servers are lds, register, and multicast
However, in a different order:
Output of UA_Client_findServersOnNetwork() is still 3 servers. But, UA_Client_findServers() is only 2, server multicast is missing
Everything else looks normal except an error message on Multicast DNS as following. The multicast example works ok, so im not sure how significant this error is?
Checklist
Please provide the following information:
UA_LOGLEVEL
set as low as necessary) attachedThe text was updated successfully, but these errors were encountered: