Skip to content

nmos-cpp-registry emits "error: -65540 while registering advertisement" when setting "domain" on command line #435

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

Open
gl0522 opened this issue Feb 13, 2025 · 1 comment

Comments

@gl0522
Copy link

gl0522 commented Feb 13, 2025

`Using Docker container to start rhastie/nmos cpp prompts DNSServiceLoadRecord reported error```

Details are as follows

Starting with output to console
2025-02-13 03:17:19.153: info: 138693093982848: Starting nmos-cpp registry
2025-02-13 03:17:19.153: info: 138693093982848: Process ID: 202
2025-02-13 03:17:19.153: info: 138693093982848: Build settings: cpprestsdk/2.10.18 (listener=asio; client=asio); WebSocket++/0.8.2; Boost 1.80.0; OpenSSL 1.1.1s  1 Nov 2022
2025-02-13 03:17:19.154: info: 138693093982848: Initial settings: {"admin_port":8010,"host_address":"10.0.2.15","host_addresses":["10.0.2.15","192.168.20.220","172.17.0.1"],"http_port":8010,"http_trace":false,"label":"gule-VirtualBox-registry","logging_level":0,"logging_port":8010,"mdns_port":8010,"node_port":8010,"pri":10,"query_port":8010,"query_ws_port":8011,"registration_expiry_interval":12,"registration_port":8010,"schemas_port":8010,"seed_id":"ae9b560f-bbd3-473d-b080-2183ba3f1fe1","settings_port":8010,"system_port":8010}
2025-02-13 03:17:19.154: info: 138693093982848: Configuring nmos-cpp registry with its primary Node API at: 10.0.2.15:8010
2025-02-13 03:17:19.154: info: 138693093982848: Configuring nmos-cpp registry with its primary Registration API at: 10.0.2.15:8010
2025-02-13 03:17:19.154: info: 138693093982848: Configuring nmos-cpp registry with its primary Query API at: 10.0.2.15:8010
2025-02-13 03:17:19.316: info: 138693093982848: Preparing for connections
2025-02-13 03:17:19.319: info: 138693093982848: Ready for connections
2025-02-13 03:17:19.320: error: 138692895180544: DNSServiceRegisterRecord reported error: -65540
2025-02-13 03:17:19.322: error: 138692884694784: DNSServiceRegisterRecord reported error: -65540
2025-02-13 03:17:19.323: error: 138692874209024: DNSServiceRegisterRecord reported error: -65540
2025-02-13 03:17:19.325: error: 138692863723264: DNSServiceRegister reported error: -65540 while registering advertisement for: nmos-cpp_query_10-0-2-15:8010._nmos-query._tcp..
2025-02-13 03:17:19.328: error: 138692853237504: DNSServiceRegister reported error: -65540 while registering advertisement for: nmos-cpp_registration_10-0-2-15:8010._nmos-registration._tcp..
2025-02-13 03:17:19.329: error: 138692842751744: DNSServiceRegister reported error: -65540 while registering advertisement for: nmos-cpp_registration_10-0-2-15:8010._nmos-register._tcp..
2025-02-13 03:17:19.330: error: 138692832265984: DNSServiceRegister reported error: -65540 while registering advertisement for: nmos-cpp_node_10-0-2-15:8010._nmos-node._tcp..
2025-02-13 03:17:19.331: error: 138692821780224: DNSServiceRegister reported error: -65540 while registering advertisement for: nmos-cpp_system_10-0-2-15:8010._nmos-system._tcp..
 3:17:19.762  Got a reply for service nmos-cpp_mqtt_10.0.2.15:1883._nmos-mqtt._tcp.local.: Name now registered and active

The Docker image environment is as follows

rhastie/nmos-cpp latest 8e57d502245f 23 months ago 157MB

Can you give me some good suggestions to solve this problem?

@garethsb
Copy link
Contributor

garethsb commented Mar 2, 2025

Please try adding "domain": "local" to the config.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants