Closed ellisonpatterson closed 3 years ago
Could you please elaborate which operating system you are using. Also can you provide the IPv6 address which ciao fails to parse? Can be censored in anyway when at least the structure is kept in the same way. Can't guide you to any steps as I don't know your OS.
Could you please elaborate which operating system you are using. Also can you provide the IPv6 address which ciao fails to parse? Can be censored in anyway when at least the structure is kept in the same way. Can't guide you to any steps as I don't know your OS.
It is dd-wrt and the IPv6 address is fe80::c314:60ff:ff37:2370/64
@Supereg Just updated and here is the new log output:
Sep 21 11:08:32 III-1 user.notice homebridge: Error occurred handling incoming (on lo) dns query packet: AssertionError [ERR_ASSERTION]: Encountered invalid ipv6 with more than 8 sections (2604:6000:xxxx:73c8:200:ff:fe00::)!
Sep 21 11:08:32 III-1 user.notice homebridge: at Object.enlargeIPv6 (/opt/lib/node_modules/homebridge/node_modules/@homebridge/ciao/src/util/domain-formatter.ts:140:9)
Sep 21 11:08:32 III-1 user.notice homebridge: at AAAARecord.encodeRData (/opt/lib/node_modules/homebridge/node_modules/@homebridge/ciao/src/coder/records/AAAARecord.ts:33:21)
Sep 21 11:08:32 III-1 user.notice homebridge: at AAAARecord.getRawData (/opt/lib/node_modules/homebridge/node_modules/@homebridge/ciao/src/coder/ResourceRecord.ts:101:31)
Sep 21 11:08:32 III-1 user.notice homebridge: at rrComparator (/opt/lib/node_modules/homebridge/node_modules/@homebridge/ciao/src/util/tiebreaking.ts:24:25)
Sep 21 11:08:32 III-1 user.notice homebridge: at Array.sort (<anonymous>)
Sep 21 11:08:32 III-1 user.notice homebridge: at Prober.doTiebreaking (/opt/lib/node_modules/homebridge/node_modules/@homebridge/ciao/src/responder/Prober.ts:268:62)
Sep 21 11:08:32 III-1 user.notice homebridge: at Prober.handleQuery (/opt/lib/node_modules/homebridge/node_modules/@homebridge/ciao/src/responder/Prober.ts:243:12)
Sep 21 11:08:32 III-1 user.notice homebridge: at Responder.handleQuery (/opt/lib/node_modules/homebridge/node_modules/@homebridge/ciao/src/Responder.ts:539:26)
Sep 21 11:08:32 III-1 user.notice homebridge: at MDNSServer.handleMessage (/opt/lib/node_modules/homebridge/node_modules/@homebridge/ciao/src/MDNSServer.ts:467:22)
Sep 21 11:08:32 III-1 user.notice homebridge: at Socket.emit (events.js:315:20)
I assume the xxxx
is just you censoring your ipv6 address?
@ellisonpatterson thanks, the log output helped to identify and reproduce the issue. Will be fixed with the next version.
ciao was updated to v.1.0.11 including a fix for this problem. It will take some time until we release a new homebridge version. If you want to force update ciao, just reinstall homebridge npm package and it should pull in the update automatically.
Edit: depending on npm caches, you may need to wait a few minutes.
ciao was updated to v.1.0.11 including a fix for this problem. It will take some time until we release a new homebridge version. If you want to force update ciao, just reinstall homebridge npm package and it should pull in the update automatically.
Edit: depending on npm caches, you may need to wait a few minutes.
Sorry about my tardiness. Thank you so much for the prompt update!
Describe The Bug: It seems CIAO is not validating the IPV6 address assigned to the OS and homebridge crashes immediately on start.
[Logs:]()
Homebridge Config:
Environment: