core: HomeKit 'zeroconf.NonUniqueNameException' during pairing
Home Assistant release with the issue: 0.79.3
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.): Docker on Unraid
Component/platform: https://www.home-assistant.io/components/homekit/
Description of problem: Getting the following error: “Couldn’t add Home Assistant Bridge”
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
homekit:
auto_start: False
ip: 10.10.30.xxx
port: 51827
filter:
include_domains:
- light
- binary_sensor
Traceback (if applicable):
2018-10-05 19:08:27 INFO (Thread-72) [pyhap.hap_server] Got connection with ('10.10.30.xxx', 51042).
2018-10-05 19:08:27 INFO (Thread-76) [pyhap.hap_server] 10.10.30.xxx- "POST /pair-setup HTTP/1.1" 200 -
2018-10-05 19:08:35 INFO (Thread-76) [pyhap.hap_server] 10.10.30.xxx- "POST /pair-setup HTTP/1.1" 200 -
2018-10-05 19:08:35 INFO (Thread-76) [pyhap.accessory_driver] Paired with bfa68f83-c8ff-42d9-befe-5b4cfb5fa064.
----------------------------------------
Exception happened during processing of request from ('10.10.30.xxx', 51042)
Traceback (most recent call last):
File "/usr/local/lib/python3.6/socketserver.py", line 651, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.6/site-packages/pyhap/hap_server.py", line 800, in finish_request
self.RequestHandlerClass(sock, client_addr, self, self.accessory_handler)
File "/usr/local/lib/python3.6/site-packages/pyhap/hap_server.py", line 141, in __init__
super(HAPServerHandler, self).__init__(sock, client_addr, server)
File "/usr/local/lib/python3.6/socketserver.py", line 721, in __init__
self.handle()
File "/usr/local/lib/python3.6/http/server.py", line 420, in handle
self.handle_one_request()
File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request
method()
File "/usr/local/lib/python3.6/site-packages/pyhap/hap_server.py", line 202, in dispatch
getattr(self, self.HANDLERS[self.command][path])()
File "/usr/local/lib/python3.6/site-packages/pyhap/hap_server.py", line 226, in handle_pairing
self._pairing_three(tlv_objects)
File "/usr/local/lib/python3.6/site-packages/pyhap/hap_server.py", line 299, in _pairing_three
self._pairing_four(client_username, client_ltpk, client_proof, hkdf_enc_key)
File "/usr/local/lib/python3.6/site-packages/pyhap/hap_server.py", line 332, in _pairing_four
self._pairing_five(client_username, client_ltpk, encryption_key)
File "/usr/local/lib/python3.6/site-packages/pyhap/hap_server.py", line 361, in _pairing_five
should_confirm = self.accessory_handler.pair(client_uuid, client_ltpk)
File "/usr/src/app/homeassistant/components/homekit/accessories.py", line 167, in pair
success = super().pair(client_uuid, client_public)
File "/usr/local/lib/python3.6/site-packages/pyhap/accessory_driver.py", line 468, in pair
self.update_advertisement()
File "/usr/local/lib/python3.6/site-packages/pyhap/accessory_driver.py", line 435, in update_advertisement
self.advertiser.register_service(self.mdns_service_info)
File "/usr/local/lib/python3.6/site-packages/zeroconf.py", line 1836, in register_service
self.check_service(info, allow_name_change)
File "/usr/local/lib/python3.6/site-packages/zeroconf.py", line 1952, in check_service
raise NonUniqueNameException
zeroconf.NonUniqueNameException
Additional information:
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 20 (11 by maintainers)
@cdce8p correct. it was a little harder to get to the file on HassIO but once i replaced the file and moved my .homekit.store file over from docker to HassIO it worked perfectly.
It could possibly be network related. I have my Unraid server sitting in my primary vlan while both the docker and hassio instance are both under a dedicated IoT vlan.