apple / HomeKitADK

Apache License 2.0
2.55k stars 232 forks source link

Running Lightbulb application,got DNSServiceRegister failed: #58

Open hjianhao opened 4 years ago

hjianhao commented 4 years ago

I had build the the applications in Ubuntu 18.04 TLS, then run Lightbulb.OpenSSL application, then got the error message.

2020-06-09'T'06:28:51'Z' Error [com.apple.mfi.HomeKit.Platform:ServiceDiscovery] HAPPlatformServiceDiscoveryRegister: DNSServiceRegister failed: -65537. 2020-06-09'T'06:28:51'Z' Fault fatal error - HAPPlatformServiceDiscoveryRegister @ PAL/Linux/HAPPlatformServiceDiscovery.c:150

How can I fix it?

conthing commented 4 years ago

got same question, but -65563

aajain-com commented 4 years ago

I think you would have to install and setup the avahi mdns responder. Following avahi at https://github.com/apple/HomeKitADK/blob/master/Tools/raspi_sdcard_setup.sh