Open maciej-wilczynski opened 4 years ago
Hi, after 48hours of running hklifx crashes with output:
DEBUG 2020/03/09 07:53:50 characteristics.go:43: 192.168.88.2:50219 GET /characteristics map[id:[1.12,1.11,1.10,1.9]] DEBUG 2020/03/09 07:56:23 connection.go:112: Close connection and remove session DEBUG 2020/03/09 11:02:36 pair-verify.go:37: 192.168.88.3:60804 POST /pair-verify DEBUG 2020/03/09 11:02:36 pair-verify.go:44: Create new pair verify controller DEBUG 2020/03/09 11:02:36 verify_server_controller.go:93: -> A: 57ffddd2693bb67a1bd24348e82e1523ecc7373c1426d56463a3f751a0230119 DEBUG 2020/03/09 11:02:36 verify_server_controller.go:127: K: 386c0edb86a6fbabdcdc5f6eee7defab9eaa6eef40792258688724412264b1e9 DEBUG 2020/03/09 11:02:36 verify_server_controller.go:128: B: 5076c96093098f7ba92a61458f20f7270940071a92738c609398fdcc0359f938 DEBUG 2020/03/09 11:02:36 verify_server_controller.go:129: S: c03a269252708e995ac5f4ec30e5064470ea25ed011559f4d41c14ec11bd784e DEBUG 2020/03/09 11:02:36 verify_server_controller.go:130: Shared: a0b0078824fc0da15c15de35b759cc395a626702be940983c9f450b95ee25d18 DEBUG 2020/03/09 11:02:36 verify_server_controller.go:132: <- B: 5076c96093098f7ba92a61458f20f7270940071a92738c609398fdcc0359f938 DEBUG 2020/03/09 11:02:36 pair-verify.go:37: 192.168.88.3:60804 POST /pair-verify DEBUG 2020/03/09 11:02:36 verify_server_controller.go:152: -> Message: 09360030386be42c02fe1e15e1a8bf31e3fdb4bed9f64b1ad69452e836912c355937153db599117dd3e2a570a115588ae09cce810c92b7c14d95580b08657e10eebfd443e6e9e976fd63c0c2b23059df0578b69ac16b4f79023c06ab9f27a8c4fece77cc2023b90c DEBUG 2020/03/09 11:02:36 verify_server_controller.go:153: -> MAC: 6461ce05b1e3dd22271d4bd994199c3f DEBUG 2020/03/09 11:02:36 verify_server_controller.go:172: client: 599BCF21-CDB5-4CD9-ABAD-085D418889F5 DEBUG 2020/03/09 11:02:36 verify_server_controller.go:173: signature: c75e1fb5e326afe61b2543e698adf17217f62b8433d6944b86642d1f4b78b9c409365af9706afe321696a50a7494858d64f66be60e17f6daa1502a4f43dcf104 DEBUG 2020/03/09 11:02:36 verify_server_controller.go:194: signature is valid DEBUG 2020/03/09 11:02:36 pair-verify.go:70: Setup secure session DEBUG 2020/03/09 11:02:36 accessories.go:34: 192.168.88.3:60804 GET /accessories DEBUG 2020/03/09 11:02:36 accessories.go:49: {"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"value":"LIFX","format":"string"},{"iid":4,"type":"21","perms":["pr"],"value":"undefined","format":"string"},{"iid":5,"type":"23","perms":["pr"],"value":"Lampa Stojąca","format":"string"},{"iid":6,"type":"30","perms":["pr"],"value":"undefined","format":"string"},{"iid":7,"type":"52","perms":["pr"],"value":"undefined","format":"string"}]},{"iid":8,"type":"43","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"value":false,"format":"bool"},{"iid":10,"type":"8","perms":["pr","pw","ev"],"value":35,"format":"int32","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":11,"type":"2F","perms":["pr","pw","ev"],"value":0,"format":"float","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":12,"type":"13","perms":["pr","pw","ev"],"value":0,"format":"float","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1}]}]}]} DEBUG 2020/03/09 11:02:36 characteristics.go:43: 192.168.88.3:60804 GET /characteristics map[id:[1.12,1.11,1.10,1.9]] DEBUG 2020/03/09 11:05:09 connection.go:112: Close connection and remove session DEBUG 2020/03/09 11:17:42 pair-verify.go:37: 192.168.88.3:60829 POST /pair-verify DEBUG 2020/03/09 11:17:42 pair-verify.go:44: Create new pair verify controller DEBUG 2020/03/09 11:17:42 verify_server_controller.go:93: -> A: 0d8dd87894062c3b7dec767e9c1908059e35c2d193e19abd55614a5682863448 DEBUG 2020/03/09 11:17:42 verify_server_controller.go:127: K: 219e3ac9740ed4fb050fb1a2a2d251026a7a5c93fab43d2b411451ef293dc04c DEBUG 2020/03/09 11:17:42 verify_server_controller.go:128: B: 6551414605260ccf9c1ca86a0a28a51596b6a3b03338463f5fd4001ca42bfb72 DEBUG 2020/03/09 11:17:42 verify_server_controller.go:129: S: 5e780d6a6db944cadf59494939af5c25fbef24b4c485ddac7f4faec6e93c3a27 DEBUG 2020/03/09 11:17:42 verify_server_controller.go:130: Shared: 28a4a55eeff010870267ddcca303633ef2b927ca5c8fdc7b3d189bcf896bb84b DEBUG 2020/03/09 11:17:42 verify_server_controller.go:132: <- B: 6551414605260ccf9c1ca86a0a28a51596b6a3b03338463f5fd4001ca42bfb72 DEBUG 2020/03/09 11:17:42 pair-verify.go:37: 192.168.88.3:60829 POST /pair-verify DEBUG 2020/03/09 11:17:42 verify_server_controller.go:152: -> Message: 82986ae099398d2cbed13867cb7417207892e16794fee7bf99a82b3c4e7951472b0a14a97f9ae99110a170509f8d1a0342973b0ca4f1d275880a0707402774a94a0058d9cbf437078ecc8882acc7a20e28b9908ac8d3acdc81b813726090fad9a852c2133f29c496 DEBUG 2020/03/09 11:17:42 verify_server_controller.go:153: -> MAC: 0ac011e9621b7b2427cfe45d71a59eee DEBUG 2020/03/09 11:17:42 verify_server_controller.go:172: client: 599BCF21-CDB5-4CD9-ABAD-085D418889F5 DEBUG 2020/03/09 11:17:42 verify_server_controller.go:173: signature: 0ff3dcb07f20836dc86f91970bd70e9538e4fe0abb9262cca50fae0ae9ee6362589427d848bb5ca8099b1414d88c75be469e74cf642da057e79ad4752619a10d DEBUG 2020/03/09 11:17:42 verify_server_controller.go:194: signature is valid DEBUG 2020/03/09 11:17:42 pair-verify.go:70: Setup secure session DEBUG 2020/03/09 11:17:42 accessories.go:34: 192.168.88.3:60829 GET /accessories DEBUG 2020/03/09 11:17:42 accessories.go:49: {"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"value":"LIFX","format":"string"},{"iid":4,"type":"21","perms":["pr"],"value":"undefined","format":"string"},{"iid":5,"type":"23","perms":["pr"],"value":"Lampa Stojąca","format":"string"},{"iid":6,"type":"30","perms":["pr"],"value":"undefined","format":"string"},{"iid":7,"type":"52","perms":["pr"],"value":"undefined","format":"string"}]},{"iid":8,"type":"43","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"value":false,"format":"bool"},{"iid":10,"type":"8","perms":["pr","pw","ev"],"value":35,"format":"int32","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":11,"type":"2F","perms":["pr","pw","ev"],"value":0,"format":"float","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":12,"type":"13","perms":["pr","pw","ev"],"value":0,"format":"float","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1}]}]}]} DEBUG 2020/03/09 11:24:44 connection.go:112: Close connection and remove session panic: send on closed channel goroutine 198028 [running]: github.com/pdf/golifx/protocol/v2/device.(*Device).handler.func1(0x1a20000, 0x1d8e160, 0x1e77120, 0xfb) /go/pkg/mod/github.com/pdf/golifx@v1.0.4/protocol/v2/device/device.go:776 +0xdc created by github.com/pdf/golifx/protocol/v2/device.(*Device).handler /go/pkg/mod/github.com/pdf/golifx@v1.0.4/protocol/v2/device/device.go:768 +0x28c
192.168.88.2 and 192.168.88.3 is an iPhone and iPad
Hi, after 48hours of running hklifx crashes with output:
192.168.88.2 and 192.168.88.3 is an iPhone and iPad