Error: dns service error: name conflict
See original GitHub issueI’m running homebridge on raspberry pi 3 B
How do I fix this?
`/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:56 dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name, ^
Error: dns service error: name conflict at Error (native) at new Advertisement (/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:56:10) at Object.create [as createAdvertisement] (/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:64:10) at Advertiser.startAdvertising (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Advertiser.js:43:30) at Bridge.Accessory._onListening (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:526:20) at emitOne (events.js:96:13) at HAPServer.emit (events.js:188:7) at HAPServer._onListening (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:185:8) at emitOne (events.js:96:13) at EventedHTTPServer.emit (events.js:188:7)`
Any ideas?
Issue Analytics
- State:
- Created 7 years ago
- Comments:19 (1 by maintainers)
Top GitHub Comments
Give the accessory a different name
Sent from my iPhone
For anyone else coming across this issue, this:
…appears to mean that the
hostname
of the Pi needs to be different from thename
of the bridge in the configuration. For example, this will fail:config.json
:Change either the
hostname
or thebridge.name
to make it work 😃