michbeck100/pimatic-hap

Uncaught exception error

schwerg opened this issue · 1 comments

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!

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.