hap-java / HAP-Java

Java implementation of the HomeKit Accessory Protocol
MIT License
153 stars 82 forks source link

Home stops working after reseting HomeKitServer #24

Closed mariusz2108 closed 7 years ago

mariusz2108 commented 7 years ago

When I restart server with home bridge Home app on my iPad (iOS10) stops working. I save users, salt and mac on disk. I had override hasUser method in AuthInfo. Home app says it cannot connect to accessories. Verification is OK. This is the log after rester.

2016-11-10 16:04:54 [defaultEventExecutorGroup-4-1] [INFO ] [c.b.h.i.h.i.AccessoryHandler] - New homekit connection from /192.168.10.12:49631 2016-11-10 16:04:54 [defaultEventExecutorGroup-4-1] [DEBUG] [c.b.h.i.p.PairVerificationManager] - Starting pair verification for Home 2016-11-10 16:04:55 [defaultEventExecutorGroup-4-1] [INFO ] [c.b.h.i.h.HomekitClientConnection] - 200 /pair-verify 2016-11-10 16:04:55 [defaultEventExecutorGroup-4-1] [DEBUG] [c.b.h.i.p.PairVerificationManager] - Completed pair verification for Home 2016-11-10 16:04:55 [defaultEventExecutorGroup-4-1] [INFO ] [c.b.h.i.h.HomekitClientConnection] - 200 /pair-verify 2016-11-10 16:04:58 [defaultEventExecutorGroup-4-1] [INFO ] [c.b.h.i.h.HomekitClientConnection] - 200 /accessories