brutella / hc

hc is a lightweight framework to develop HomeKit accessories in Go.
Apache License 2.0
1.74k stars 189 forks source link

Client is unknown #214

Open nateinaction opened 1 year ago

nateinaction commented 1 year ago

Hey there, I'm seeing the error INFO 2023/02/12 15:41:46 pair-verify.go:59: Client XXXX-XXX is unknown. It looks like it started showing up in my logs in late December probably around the time I applied the HomeKit architecture upgrade. To be sure that the is impacting more than just my project, I cloned the hklight repo and was able to reproduce it there:

go run hklightd.go
INFO 2023/02/12 15:40:35 ip_transport.go:186: Listening on port 52071
INFO 2023/02/12 15:41:46 pair-verify.go:59: Client XXXX-XXX is unknown
...

It looks like HomeKit is unable to talk to the accessory when seeing this error. I'll keep looking into this but I wanted to post the issue and see if you had any thoughts on a fix?

Thanks!

nateinaction commented 1 year ago

Seeing that this library is no longer maintained, replaced by https://github.com/brutella/hap. I'll leave this issue up in case other folks run into this.