『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3631|回复: 4

[求助] 运行Homebridge出现的Error: dns service error: name conflict

[复制链接]

2

主题

12

帖子

38

积分

新手上路

Rank: 1

积分
38
金钱
26
HASS币
0
发表于 2017-8-4 21:41:07 | 显示全部楼层 |阅读模式
这样算是成功安装hoembridge了么?
在iOS系统上配对的PIN码不是123-45-678
而是最开始的蹦出来的031-45-154

下面的错误说的是什么?DNS?名字?
烦请前辈们指点。
pi@hassbian:~/.homebridge $ homebridge
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat? ... ServiceRegister>
[2017-8-4 13:34:30] Loaded plugin: homebridge-broadlink-rm
[2017-8-4 13:34:30] Registering platform 'homebridge-broadlink-rm.BroadlinkRM'
[2017-8-4 13:34:30] ---
[2017-8-4 13:34:31] Loaded plugin: homebridge-homeassistant
[2017-8-4 13:34:31] Registering platform 'homebridge-homeassistant.HomeAssistant'
[2017-8-4 13:34:31] ---
[2017-8-4 13:34:31] Loaded config.json with 0 accessories and 1 platforms.
[2017-8-4 13:34:31] ---
[2017-8-4 13:34:31] Loading 1 platforms...
[2017-8-4 13:34:31] [HomeAssistant] Initializing HomeAssistant platform...
[2017-8-4 13:34:31] [HomeAssistant] Fetching HomeAssistant devices.
[2017-8-4 13:34:31] [HomeAssistant] Received event: ping
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 123-45-678 │     
    └────────────┘     
                       
/usr/lib/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:56
  dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
         ^

Error: dns service error: name conflict
    at new Advertisement (/usr/lib/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:56:10)
    at Object.create [as createAdvertisement] (/usr/lib/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:64:10)
    at Advertiser.startAdvertising (/usr/lib/node_modules/hap-nodejs/lib/Advertiser.js:43:30)
    at Bridge.Accessory._onListening (/usr/lib/node_modules/hap-nodejs/lib/Accessory.js:532:20)
    at emitOne (events.js:115:13)
    at HAPServer.emit (events.js:210:7)
    at HAPServer._onListening (/usr/lib/node_modules/hap-nodejs/lib/HAPServer.js:190:8)
    at emitOne (events.js:115:13)
    at EventedHTTPServer.emit (events.js:210:7)
    at EventedHTTPServer.<anonymous> (/usr/lib/node_modules/hap-nodejs/lib/util/eventedhttp.js:65:10)


回复

使用道具 举报

2

主题

12

帖子

38

积分

新手上路

Rank: 1

积分
38
金钱
26
HASS币
0
 楼主| 发表于 2017-8-5 11:59:05 | 显示全部楼层
虚惊一场哈哈

Errors on startup

The following errors are experienced when starting Homebridge and can be safely ignored. The cost of removing the issue at the core of the errors isn't worth the effort.

*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointerde/avahi-compat?s=libdns_sd&e=nodejs
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointerde/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister
回复

使用道具 举报

10

主题

270

帖子

2251

积分

超级版主

Rank: 8Rank: 8

积分
2251
金钱
1961
HASS币
61

教程狂人

QQ
发表于 2017-8-18 20:49:50 | 显示全部楼层
我也遇到这个问题了,你怎么解决的?
回复

使用道具 举报

1

主题

110

帖子

756

积分

高级会员

Rank: 4

积分
756
金钱
646
HASS币
0
发表于 2017-8-21 15:09:55 | 显示全部楼层
今天新装1.02也是这样了,不知道什么原因哈
回复

使用道具 举报

7

主题

207

帖子

1027

积分

金牌会员

Rank: 6Rank: 6

积分
1027
金钱
820
HASS币
20
发表于 2017-9-11 01:58:08 | 显示全部楼层
你解决了吗?我也遇到这样的问题,怎么办的?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-29 06:55 , Processed in 0.291678 second(s), 28 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表