michbeck100 / pimatic-hap

Pimatic homekit bridge
GNU General Public License v2.0
30 stars 10 forks source link

Uncaught exception error #55

Closed schwerg closed 7 years ago

schwerg commented 7 years ago

hap 0.9.0 on pimatic 0.9.36 sometimes gives:

error [pimatic]: A uncaught exception occured: Error: dns service error: unknown
    at Error (native)
    at Advertisement.on_service_registered (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:42:24)
    at SocketWatcher.MDNSService.self.watcher.callback (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/mdns/lib/mdns_service.js:18:40)
 This is most probably a bug in pimatic or in a module, please report it!
michbeck100 commented 7 years ago

Duplicate of #30 and #10. Please see #10 for the solution. This error is not pimatic-hap related. My experience shows that it's something network related. Sometimes a reboot of your raspberry helps.