Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

A uncaught exeption occured #10

Closed
pimagical opened this issue Nov 29, 2015 · 3 comments
Closed

A uncaught exeption occured #10

pimagical opened this issue Nov 29, 2015 · 3 comments

Comments

@pimagical
Copy link

After installing and configuring pimatic-hab using Eve it worked very good for a few hours.
This error message I got the next day. Restarting pimatic won't fix the problem. And the Eve app tells me the devices are unreacable. The homekit server can't be found anymore.

error [pimatic]: A uncaught exception occured: Error: dns service error: unknown 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 what can I do to fix this?

@pimagical pimagical changed the title A uncaughedx A uncaught exeption occured Nov 29, 2015
@pimagical
Copy link
Author

After installing a normal pimatic update (pimatic-homeduino) and a restart it started to work again!

@rspaargaren
Copy link

I have received the same error now also several times. I have a clean raspbian system and a fresh install of pimatic on it. Nothting else installed.

@michbeck100
Copy link
Owner

First of all, did you follow the instructions on https://github.com/michbeck100/pimatic-hap/blob/master/README.md? libnss-mdns and libavahi-compat-libdnssd-dev have to be installed before running pimatic-hap. If thats not the problem maybe agnat/node_mdns#104 may help you. Like i told everyone with error before, the problem comes from the mdns library and not from pimatic-hap.

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

No branches or pull requests

3 participants