{"action":"created","issue":{"url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/271","repository_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS","labels_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/271/comments","events_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/271/events","html_url":"https://github.com/KhaosT/HAP-NodeJS/issues/271","id":169644048,"number":271,"title":"Crash in HAPServer.js","user":{"login":"FluBBaOfWard","id":2324920,"avatar_url":"https://avatars.githubusercontent.com/u/2324920?v=3","gravatar_id":"","url":"https://api.github.com/users/FluBBaOfWard","html_url":"https://github.com/FluBBaOfWard","followers_url":"https://api.github.com/users/FluBBaOfWard/followers","following_url":"https://api.github.com/users/FluBBaOfWard/following{/other_user}","gists_url":"https://api.github.com/users/FluBBaOfWard/gists{/gist_id}","starred_url":"https://api.github.com/users/FluBBaOfWard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FluBBaOfWard/subscriptions","organizations_url":"https://api.github.com/users/FluBBaOfWard/orgs","repos_url":"https://api.github.com/users/FluBBaOfWard/repos","events_url":"https://api.github.com/users/FluBBaOfWard/events{/privacy}","received_events_url":"https://api.github.com/users/FluBBaOfWard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-05T16:21:06Z","updated_at":"2016-08-28T21:31:59Z","closed_at":null,"body":"This just happened yesterday, from out of the blue and now it won't start again.\r\nRunning on OS X 10.11.6, iOS 10 beta 3 on both iPhone and AppleTV.\r\n\r\n/opt/OpenHAB-HomeKit-Bridge/node_modules/hap-nodejs/lib/HAPServer.js:490\r\nvar sequence = objects[HAPServer.Types.SEQUENCE_NUM][0]; // value is single byte with sequence number\r\n^\r\n\r\nTypeError: Cannot read property '0' of undefined\r\nat HAPServer._handlePairVerify (/opt/OpenHAB-HomeKit-Bridge/node_modules/hap-nodejs/lib/HAPServer.js:490:55)\r\nat HAPServer. (/opt/OpenHAB-HomeKit-Bridge/node_modules/hap-nodejs/lib/HAPServer.js:201:39)\r\nat emitNone (events.js:67:13)\r\nat IncomingMessage.emit (events.js:166:7)\r\nat endReadableNT (_stream_readable.js:921:12)\r\nat nextTickCallbackWith2Args (node.js:442:9)\r\nat process._tickCallback (node.js:356:17)"},"comment":{"url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/comments/243000790","html_url":"https://github.com/KhaosT/HAP-NodeJS/issues/271#issuecomment-243000790","issue_url":"https://api.github.com/repos/KhaosT/HAP-NodeJS/issues/271","id":243000790,"user":{"login":"KhaosT","id":1725664,"avatar_url":"https://avatars.githubusercontent.com/u/1725664?v=3","gravatar_id":"","url":"https://api.github.com/users/KhaosT","html_url":"https://github.com/KhaosT","followers_url":"https://api.github.com/users/KhaosT/followers","following_url":"https://api.github.com/users/KhaosT/following{/other_user}","gists_url":"https://api.github.com/users/KhaosT/gists{/gist_id}","starred_url":"https://api.github.com/users/KhaosT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhaosT/subscriptions","organizations_url":"https://api.github.com/users/KhaosT/orgs","repos_url":"https://api.github.com/users/KhaosT/repos","events_url":"https://api.github.com/users/KhaosT/events{/privacy}","received_events_url":"https://api.github.com/users/KhaosT/received_events","type":"User","site_admin":false},"created_at":"2016-08-28T21:31:59Z","updated_at":"2016-08-28T21:31:59Z","body":"Looks like iOS sent something unexpected ... If possible, can you try remove persist folder, remove accessory from iOS device and re-pair again?"}}
{"actor":{"display_login":"KhaosT"}}