HomeKit Errors in Log

I continue to get the below HomeKit errors in the log. OpenHab2 is installed on a Raspberry Pi (Jessie). I haven’t noticed any particular issues but curious if anyone knows what this is. Thanks.

2017-12-02 09:14:57.883 [ERROR] [lfe.hap.impl.http.impl.BinaryHandler] - Exception in binary handler
java.io.IOException: Connection timed out
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)[:1.8.0_151]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)[:1.8.0_151]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)[:1.8.0_151]
at sun.nio.ch.IOUtil.read(IOUtil.java:192)[:1.8.0_151]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)[:1.8.0_151]
at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:447)[194:org.openhab.io.homekit:2.1.0]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:880)[194:org.openhab.io.homekit:2.1.0]
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242)[194:org.openhab.io.homekit:2.1.0]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119)[194:org.openhab.io.homekit:2.1.0]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[194:org.openhab.io.homekit:2.1.0]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[194:org.openhab.io.homekit:2.1.0]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[194:org.openhab.io.homekit:2.1.0]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)[194:org.openhab.io.homekit:2.1.0]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[194:org.openhab.io.homekit:2.1.0]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[194:org.openhab.io.homekit:2.1.0]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-12-02 09:14:57.892 [ERROR] [.hap.impl.http.impl.AccessoryHandler] - Exception caught in web handler
java.io.IOException: Connection timed out
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)[:1.8.0_151]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)[:1.8.0_151]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)[:1.8.0_151]
at sun.nio.ch.IOUtil.read(IOUtil.java:192)[:1.8.0_151]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)[:1.8.0_151]
at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:447)[194:org.openhab.io.homekit:2.1.0]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:880)[194:org.openhab.io.homekit:2.1.0]
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242)[194:org.openhab.io.homekit:2.1.0]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119)[194:org.openhab.io.homekit:2.1.0]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[194:org.openhab.io.homekit:2.1.0]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[194:org.openhab.io.homekit:2.1.0]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[194:org.openhab.io.homekit:2.1.0]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)[194:org.openhab.io.homekit:2.1.0]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[194:org.openhab.io.homekit:2.1.0]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[194:org.openhab.io.homekit:2.1.0]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]

Yes, I often get these errors in my log. Did you succeed in finding any cause or solution?

Still getting the same errors. The reason this came up is that my homekit will randomly stop working until I reboot. Not sure if this is related or not.

I have these errors the whole time as well, everytime I use HomeKit my log fills up with this:

2018-02-27 15:39:01.314 [INFO ] [impl.connections.SubscriptionManager] - Removed subscription to class com.beowulfe.hap.impl.characteristics.common.PowerStateCharacteristic for 10812545
2018-02-27 15:39:01.319 [INFO ] [ap.impl.http.HomekitClientConnection] - 204 /characteristics
2018-02-27 15:39:01.327 [TRACE] [lfe.hap.impl.http.impl.BinaryHandler] - Sending data [/192.168.1.113:49233]:
00000000 48 54 54 50 2F 31 2E 31 20 32 30 34 20 4E 6F 20 HTTP/1.1 204 No 
00000010 43 6F 6E 74 65 6E 74 0D 0A 43 6F 6E 74 65 6E 74 Content..Content
00000020 2D 74 79 70 65 3A 20 61 70 70 6C 69 63 61 74 69 -type: applicati
00000030 6F 6E 2F 68 61 70 2B 6A 73 6F 6E 0D 0A 43 6F 6E on/hap+json..Con
00000040 74 65 6E 74 2D 4C 65 6E 67 74 68 3A 20 30 0D 0A tent-Length: 0..
00000050 43 6F 6E 6E 65 63 74 69 6F 6E 3A 20 6B 65 65 70 Connection: keep
00000060 2D 61 6C 69 76 65 0D 0A 0D 0A                   -alive....
2018-02-27 15:39:01.329 [TRACE] [pl.http.impl.NettyHomekitHttpService] - WRITE UnpooledUnsafeDirectByteBuf(ridx: 0, widx: 124, cap: 256) [/192.168.1.113:49233]:
00000000 6A 00 AC 25 8E 26 61 13 51 CD F0 1F D9 CB BA 43 j..%.&a.Q......C
00000010 D2 24 63 DC 09 99 AF 25 B4 46 9F C8 74 26 79 59 .$c....%.F..t&yY
00000020 25 AB 8F A5 13 B7 5C 73 E1 3E 30 6A 92 52 6F E0 %.....\s.>0j.Ro.
00000030 29 72 84 0E D0 60 B9 64 28 69 28 C5 A6 4C EE E1 )r...`.d(i(..L..
00000040 18 5B 8E 37 D8 7F FE 98 22 0E B0 48 48 D3 9A F7 .[.7...."..HH...
00000050 9C 5E 2F 51 0D 35 93 3E 23 F5 B0 8C 26 A9 7C A2 .^/Q.5.>#...&.|.
00000060 15 51 72 BC 31 3E BA C4 21 81 CE 74 BE 54 61 DD .Qr.1>..!..t.Ta.
00000070 95 2B 8E 80 8F AE 34 C5 F5 DF 13 89             .+....4.....
2018-02-27 15:39:01.336 [TRACE] [pl.http.impl.NettyHomekitHttpService] - READ UnpooledUnsafeDirectByteBuf(ridx: 0, widx: 197, cap: 272) [/192.168.1.113:49233]:
00000000 B3 00 51 86 FB 4B BA F3 91 C0 80 DE E9 0F B7 C5 ..Q..K..........
00000010 F5 38 93 ED 39 C9 59 86 24 F4 31 AE 91 CA B2 BA .8..9.Y.$.1.....
00000020 0E F8 D8 9C 6A C9 E4 3C 80 2E A6 B5 AD D2 33 E1 ....j..<......3.
00000030 BC E8 44 06 B0 95 9E B2 40 18 DE 76 69 40 F0 8D ..D.....@..vi@..
00000040 6C 7F 1E 4C A7 88 4B 2F D4 C5 6B 5E 8D BA B5 7C l..L..K/..k^...|
00000050 D0 30 F8 AF 9C DB 10 0A 80 83 39 90 67 3E 77 30 .0........9.g>w0
00000060 85 7B B9 B7 CA 2A 65 03 EB FB 3E 0B 62 E3 65 9C .{...*e...>.b.e.
00000070 DB 91 14 CB 4B 99 63 3C B6 37 E5 80 FD EB 82 C0 ....K.c<.7......
00000080 85 F3 41 1E 46 44 D6 AF ED E4 6F 90 D2 D9 1A 6A ..A.FD....o....j
00000090 D8 69 BF 3B 16 DF A4 91 B3 69 8C BF 11 96 6D 80 .i.;.....i....m.
000000A0 48 54 F1 47 49 66 CD D3 41 CE F3 75 91 1F 6B BE HT.GIf..A..u..k.
000000B0 47 A5 15 3A 55 DB 55 68 CE 42 F3 BE 00 F6 5D B5 G..:U.Uh.B....].
000000C0 17 62 19 6B 6F                                  .b.ko
2018-02-27 15:39:01.337 [TRACE] [ons.LengthPrefixedByteArrayProcessor] - Received message of length 197. Existing buffer is 0
2018-02-27 15:39:01.338 [TRACE] [ons.LengthPrefixedByteArrayProcessor] - Attempting to read message of length 197
2018-02-27 15:39:01.339 [TRACE] [ons.LengthPrefixedByteArrayProcessor] - Read complete message
2018-02-27 15:39:01.341 [TRACE] [ons.LengthPrefixedByteArrayProcessor] - Returning 1 results
2018-02-27 15:39:01.343 [TRACE] [lfe.hap.impl.http.impl.BinaryHandler] - Received data [/192.168.1.113:49233]:
00000000 50 55 54 20 2F 63 68 61 72 61 63 74 65 72 69 73 PUT /characteris
00000010 74 69 63 73 20 48 54 54 50 2F 31 2E 31 0D 0A 48 tics HTTP/1.1..H
00000020 6F 73 74 3A 20 6F 70 65 6E 48 41 42 2E 5F 68 61 ost: openHAB._ha
00000030 70 2E 5F 74 63 70 2E 6C 6F 63 61 6C 0D 0A 43 6F p._tcp.local..Co
00000040 6E 74 65 6E 74 2D 4C 65 6E 67 74 68 3A 20 35 39 ntent-Length: 59
00000050 0D 0A 43 6F 6E 74 65 6E 74 2D 54 79 70 65 3A 20 ..Content-Type: 
00000060 61 70 70 6C 69 63 61 74 69 6F 6E 2F 68 61 70 2B application/hap+
00000070 6A 73 6F 6E 0D 0A 0D 0A 7B 22 63 68 61 72 61 63 json....{"charac
00000080 74 65 72 69 73 74 69 63 73 22 3A 5B 7B 22 61 69 teristics":[{"ai
00000090 64 22 3A 31 31 36 38 37 31 34 32 37 32 2C 22 69 d":1168714272,"i
000000A0 69 64 22 3A 39 2C 22 65 76 22 3A 66 61 6C 73 65 id":9,"ev":false
000000B0 7D 5D 7D                                        }]}
2018-02-27 15:39:01.347 [INFO ] [impl.connections.SubscriptionManager] - Removed subscription to class com.beowulfe.hap.impl.characteristics.common.PowerStateCharacteristic for 10812545
2018-02-27 15:39:01.349 [INFO ] [ap.impl.http.HomekitClientConnection] - 204 /characteristics
2018-02-27 15:39:01.353 [TRACE] [lfe.hap.impl.http.impl.BinaryHandler] - Sending data [/192.168.1.113:49233]:
00000000 48 54 54 50 2F 31 2E 31 20 32 30 34 20 4E 6F 20 HTTP/1.1 204 No 
00000010 43 6F 6E 74 65 6E 74 0D 0A 43 6F 6E 74 65 6E 74 Content..Content
00000020 2D 74 79 70 65 3A 20 61 70 70 6C 69 63 61 74 69 -type: applicati
00000030 6F 6E 2F 68 61 70 2B 6A 73 6F 6E 0D 0A 43 6F 6E on/hap+json..Con
00000040 74 65 6E 74 2D 4C 65 6E 67 74 68 3A 20 30 0D 0A tent-Length: 0..
00000050 43 6F 6E 6E 65 63 74 69 6F 6E 3A 20 6B 65 65 70 Connection: keep
00000060 2D 61 6C 69 76 65 0D 0A 0D 0A                   -alive....
2018-02-27 15:39:01.355 [TRACE] [pl.http.impl.NettyHomekitHttpService] - WRITE UnpooledUnsafeDirectByteBuf(ridx: 0, widx: 124, cap: 256) [/192.168.1.113:49233]:
00000000 6A 00 A7 06 2B 4B B7 53 3C 4D AC E2 C3 FA 31 53 j...+K.S<M....1S
00000010 64 A8 43 0F 90 7B 15 E3 7E 7E 37 8D 4C 4D C7 64 d.C..{..~~7.LM.d
00000020 E5 48 CE 41 0C FB 29 F3 CA 16 74 72 E0 FC 11 19 .H.A..)...tr....
00000030 2B 7B 27 FE EE D3 AB 3F 06 5C 8C A8 40 BD 20 7E +{'....?.\..@. ~
00000040 89 5D 0C ED 6A DE AC 29 18 63 2B 87 F7 90 36 6B .]..j..).c+...6k
00000050 E9 6C E9 5D 32 CA 87 BD FA 17 AF 46 F8 0C 81 CF .l.]2......F....
00000060 F5 7F 3C 3A 1E A0 3D 84 76 7C EB 80 95 1B 16 2C ..<:..=.v|.....,
00000070 9E 94 51 9B 0F 4F 8E 84 8B 7A E4 21             ..Q..O...z.!
2018-02-27 15:39:01.361 [TRACE] [pl.http.impl.NettyHomekitHttpService] - READ UnpooledUnsafeDirectByteBuf(ridx: 0, widx: 234, cap: 272) [/192.168.1.113:49233]:
00000000 D8 00 8A 73 0B A6 2B 46 AD 78 A5 FB 88 3A E3 94 ...s..+F.x...:..
00000010 5A 2E 2F 14 B1 6C 17 4C DB D7 E8 D5 38 C9 16 5A Z./..l.L....8..Z
00000020 6E 98 2A A3 24 D2 3F 73 71 CA A2 6B 65 F4 35 B0 n.*.$.?sq..ke.5.
00000030 BE 34 21 23 9F CE 4E 46 7B 4D 6C E4 19 F1 37 E1 .4!#..NF{Ml...7.
00000040 F2 50 17 70 1F FB D7 3B 13 5D B7 04 0E 7A 9A 20 .P.p...;.]...z. 
00000050 63 BF A9 E0 BE 81 87 AA 9B E5 8C DA A0 9F F4 3E c..............>
00000060 CD 03 1C 73 5A A2 15 D9 87 88 37 E0 1D 7D A7 D0 ...sZ.....7..}..
00000070 55 76 E5 C1 1E F2 E4 47 4B FF 79 A4 3F C3 22 3E Uv.....GK.y.?.">
00000080 12 98 71 98 90 4D 73 B4 64 D4 92 0A B9 70 D2 12 ..q..Ms.d....p..
00000090 B1 87 42 B6 99 DA C2 76 ED 49 23 FD 3A 94 D2 A7 ..B....v.I#.:...
000000A0 57 92 67 61 3C 7B 61 15 C1 82 5D 0E 40 5D F4 DF W.ga<{a...].@]..
000000B0 36 AC 19 DA 2F 88 26 2B D6 B1 94 F9 77 DE 31 53 6.../.&+....w.1S
000000C0 47 B9 29 AD 06 59 96 30 8C 1B 52 93 1E EA 89 07 G.)..Y.0..R.....
000000D0 6A E7 E9 59 86 0E 34 22 DB 4F 96 25 23 72 7A 30 j..Y..4".O.%#rz0
000000E0 CC C0 02 E4 B1 E3 48 01 2F FD                   ......H./.
2018-02-27 15:39:01.363 [TRACE] [ons.LengthPrefixedByteArrayProcessor] - Received message of length 234. Existing buffer is 0
2018-02-27 15:39:01.364 [TRACE] [ons.LengthPrefixedByteArrayProcessor] - Attempting to read message of length 234
2018-02-27 15:39:01.365 [TRACE] [ons.LengthPrefixedByteArrayProcessor] - Read complete message
2018-02-27 15:39:01.367 [TRACE] [ons.LengthPrefixedByteArrayProcessor] - Returning 1 results
2018-02-27 15:39:01.374 [TRACE] [lfe.hap.impl.http.impl.BinaryHandler] - Received data [/192.168.1.113:49233]:
00000000 50 55 54 20 2F 63 68 61 72 61 63 74 65 72 69 73 PUT /characteris
00000010 74 69 63 73 20 48 54 54 50 2F 31 2E 31 0D 0A 48 tics HTTP/1.1..H
00000020 6F 73 74 3A 20 6F 70 65 6E 48 41 42 2E 5F 68 61 ost: openHAB._ha
00000030 70 2E 5F 74 63 70 2E 6C 6F 63 61 6C 0D 0A 43 6F p._tcp.local..Co
00000040 6E 74 65 6E 74 2D 4C 65 6E 67 74 68 3A 20 39 36 ntent-Length: 96
00000050 0D 0A 43 6F 6E 74 65 6E 74 2D 54 79 70 65 3A 20 ..Content-Type: 
00000060 61 70 70 6C 69 63 61 74 69 6F 6E 2F 68 61 70 2B application/hap+
00000070 6A 73 6F 6E 0D 0A 0D 0A 7B 22 63 68 61 72 61 63 json....{"charac
00000080 74 65 72 69 73 74 69 63 73 22 3A 5B 7B 22 61 69 teristics":[{"ai
00000090 64 22 3A 34 32 36 32 33 36 39 33 36 2C 22 69 69 d":426236936,"ii
000000A0 64 22 3A 39 2C 22 65 76 22 3A 66 61 6C 73 65 7D d":9,"ev":false}
000000B0 2C 7B 22 61 69 64 22 3A 34 32 36 32 33 36 39 33 ,{"aid":42623693
000000C0 36 2C 22 69 69 64 22 3A 31 30 2C 22 65 76 22 3A 6,"iid":10,"ev":
000000D0 66 61 6C 73 65 7D 5D 7D                         false}]}
2018-02-27 15:39:01.378 [INFO ] [impl.connections.SubscriptionManager] - Removed subscription to class com.beowulfe.hap.impl.characteristics.common.PowerStateCharacteristic for 10812545
2018-02-27 15:39:01.382 [INFO ] [impl.connections.SubscriptionManager] - Removed subscription to class com.beowulfe.hap.impl.characteristics.lightbulb.BrightnessCharacteristic for 10812545
2018-02-27 15:39:01.385 [INFO ] [ap.impl.http.HomekitClientConnection] - 204 /characteristics
2018-02-27 15:39:01.388 [TRACE] [lfe.hap.impl.http.impl.BinaryHandler] - Sending data [/192.168.1.113:49233]:
00000000 48 54 54 50 2F 31 2E 31 20 32 30 34 20 4E 6F 20 HTTP/1.1 204 No 
00000010 43 6F 6E 74 65 6E 74 0D 0A 43 6F 6E 74 65 6E 74 Content..Content
00000020 2D 74 79 70 65 3A 20 61 70 70 6C 69 63 61 74 69 -type: applicati
00000030 6F 6E 2F 68 61 70 2B 6A 73 6F 6E 0D 0A 43 6F 6E on/hap+json..Con
00000040 74 65 6E 74 2D 4C 65 6E 67 74 68 3A 20 30 0D 0A tent-Length: 0..
00000050 43 6F 6E 6E 65 63 74 69 6F 6E 3A 20 6B 65 65 70 Connection: keep
00000060 2D 61 6C 69 76 65 0D 0A 0D 0A                   -alive....
2018-02-27 15:39:01.390 [TRACE] [pl.http.impl.NettyHomekitHttpService] - WRITE UnpooledUnsafeDirectByteBuf(ridx: 0, widx: 124, cap: 256) [/192.168.1.113:49233]:
00000000 6A 00 82 96 4D 12 84 F8 2C 94 5E 44 F0 CF 11 F4 j...M...,.^D....
00000010 8B B5 A4 00 FA 9F 56 C5 3D E7 EA EF 85 8E 0E B8 ......V.=.......
00000020 6C 03 B5 75 AE 3D BF FB 7E 1D 91 80 D0 8C C4 92 l..u.=..~.......
00000030 5A 13 9A AE DC 6C BF 95 32 14 BA C2 F7 60 8E 80 Z....l..2....`..
00000040 A2 39 E9 83 7F 50 95 60 EA 13 22 07 D0 1C 35 B7 .9...P.`.."...5.
00000050 E4 B6 CF 55 B6 50 2F 6F 24 C7 3F D3 70 A7 61 A8 ...U.P/o$.?.p.a.
00000060 CE 3A 3D BC 83 C3 92 31 B4 EA 71 B6 20 4E 9F C5 .:=....1..q. N..
00000070 34 90 66 F4 4E CE D9 30 9A FB 62 9D             4.f.N..0..b.
2018-02-27 15:39:01.438 [TRACE] [pl.http.impl.NettyHomekitHttpService] - READ UnpooledUnsafeDirectByteBuf(ridx: 0, widx: 196, cap: 256) [/192.168.1.113:49233]:
00000000 B2 00 4D 0C 4A 58 EF 9A 4D 34 8A 65 64 DD 60 EE ..M.JX..M4.ed.`.
00000010 26 F2 41 A0 FC AA 8A 7D 63 4E 88 10 67 91 47 B1 &.A....}cN..g.G.
00000020 9D BF F9 66 E5 71 48 05 9A 4D 8B 59 79 4A A6 4A ...f.qH..M.YyJ.J
00000030 B3 1B 95 55 64 FA B3 AD AF 28 BB 34 B9 EC E6 5C ...Ud....(.4...\
00000040 23 78 C0 13 FA DE 2F FB 37 12 55 DE 32 89 DE BB #x..../.7.U.2...
00000050 FE B5 88 05 16 BD 76 34 78 5E 35 54 98 44 D3 B0 ......v4x^5T.D..
00000060 6B E3 19 C4 F3 0A 4A 47 CC 13 DB E1 63 D7 21 AF k.....JG....c.!.
00000070 C0 24 53 9C E3 ED 37 9C 42 1A 75 BD B4 C3 FD 87 .$S...7.B.u.....
00000080 D3 5D 59 C4 F1 13 39 ED FB BB 4B F7 29 FA 6B 1C .]Y...9...K.).k.
00000090 DF BB BF 22 3D CB 3E AB 7F FF 62 1B 96 41 C6 20 ..."=.>...b..A. 
000000A0 DA 17 11 B8 7E 83 69 6F 0E 5D 61 CA C0 F1 39 25 ....~.io.]a...9%
000000B0 E2 2A B1 C2 DF DB 45 AB B4 3D EC 58 F7 76 5A 85 .*....E..=.X.vZ.
000000C0 5A 44 65 5D                                     ZDe]
2018-02-27 15:39:01.440 [TRACE] [ons.LengthPrefixedByteArrayProcessor] - Received message of length 196. Existing buffer is 0
2018-02-27 15:39:01.441 [TRACE] [ons.LengthPrefixedByteArrayProcessor] - Attempting to read message of length 196
2018-02-27 15:39:01.442 [TRACE] [ons.LengthPrefixedByteArrayProcessor] - Read complete message
2018-02-27 15:39:01.443 [TRACE] [ons.LengthPrefixedByteArrayProcessor] - Returning 1 results
2018-02-27 15:39:01.445 [TRACE] [lfe.hap.impl.http.impl.BinaryHandler] - Received data [/192.168.1.113:49233]:
00000000 50 55 54 20 2F 63 68 61 72 61 63 74 65 72 69 73 PUT /characteris
00000010 74 69 63 73 20 48 54 54 50 2F 31 2E 31 0D 0A 48 tics HTTP/1.1..H
00000020 6F 73 74 3A 20 6F 70 65 6E 48 41 42 2E 5F 68 61 ost: openHAB._ha
00000030 70 2E 5F 74 63 70 2E 6C 6F 63 61 6C 0D 0A 43 6F p._tcp.local..Co
00000040 6E 74 65 6E 74 2D 4C 65 6E 67 74 68 3A 20 35 38 ntent-Length: 58
00000050 0D 0A 43 6F 6E 74 65 6E 74 2D 54 79 70 65 3A 20 ..Content-Type: 
00000060 61 70 70 6C 69 63 61 74 69 6F 6E 2F 68 61 70 2B application/hap+
00000070 6A 73 6F 6E 0D 0A 0D 0A 7B 22 63 68 61 72 61 63 json....{"charac
00000080 74 65 72 69 73 74 69 63 73 22 3A 5B 7B 22 61 69 teristics":[{"ai
00000090 64 22 3A 39 35 31 32 33 36 32 39 32 2C 22 69 69 d":951236292,"ii
000000A0 64 22 3A 39 2C 22 65 76 22 3A 66 61 6C 73 65 7D d":9,"ev":false}
000000B0 5D 7D                                           ]}
2018-02-27 15:39:01.449 [INFO ] [impl.connections.SubscriptionManager] - Removed subscription to class com.beowulfe.hap.impl.characteristics.common.PowerStateCharacteristic for 10812545
2018-02-27 15:39:01.453 [INFO ] [ap.impl.http.HomekitClientConnection] - 204 /characteristics
2018-02-27 15:39:01.457 [TRACE] [lfe.hap.impl.http.impl.BinaryHandler] - Sending data [/192.168.1.113:49233]:
00000000 48 54 54 50 2F 31 2E 31 20 32 30 34 20 4E 6F 20 HTTP/1.1 204 No 
00000010 43 6F 6E 74 65 6E 74 0D 0A 43 6F 6E 74 65 6E 74 Content..Content
00000020 2D 74 79 70 65 3A 20 61 70 70 6C 69 63 61 74 69 -type: applicati
00000030 6F 6E 2F 68 61 70 2B 6A 73 6F 6E 0D 0A 43 6F 6E on/hap+json..Con
00000040 74 65 6E 74 2D 4C 65 6E 67 74 68 3A 20 30 0D 0A tent-Length: 0..
00000050 43 6F 6E 6E 65 63 74 69 6F 6E 3A 20 6B 65 65 70 Connection: keep
00000060 2D 61 6C 69 76 65 0D 0A 0D 0A                   -alive....
2018-02-27 15:39:01.462 [TRACE] [pl.http.impl.NettyHomekitHttpService] - WRITE UnpooledUnsafeDirectByteBuf(ridx: 0, widx: 124, cap: 256) [/192.168.1.113:49233]:
00000000 6A 00 5D 32 B0 A7 A8 68 7A 3B A3 9C 49 B8 07 E2 j.]2...hz;..I...
00000010 E4 79 63 0A A5 B8 B4 70 6A 8C EC 89 36 DB EF 39 .yc....pj...6..9
00000020 81 99 67 8B D8 FA F2 88 81 60 B0 42 C1 A2 68 64 ..g......`.B..hd
00000030 88 9D 52 B1 5D B4 F2 2E B2 B0 57 35 14 60 64 8F ..R.].....W5.`d.
00000040 47 C9 17 30 1D 72 B3 B3 B9 CE CB 1A 75 F9 C3 6A G..0.r......u..j
00000050 ED 7F 26 29 B5 69 ED 8A A0 B0 98 9A 2B 9F 2C 8C ..&).i......+.,.
00000060 C2 73 4E 40 3B CA A0 63 22 9A E0 AB 05 7F 7D 21 .sN@;..c".....}!
00000070 E9 D1 9F B4 D7 16 86 E5 85 90 6D 19             ..........m.

Is there anyway to get rid of this?

Did you resolve your issue i have same problem

Since i moved to a 2.3 snapshot I have the same issue as the topic starter. It fills up logs completely but seems harmless as it homekit continues to work.

Same issue here with lot off messages but homekit is working. Any news?

Hi there!
I had the same problems as you. Why It started working I don’t know exactly BUT the last thing I’d done was changing port to be exact as in log given below:
Terminated homekit connection from / 10.0.12.67 :65402 ( yours iphone’s adres IP)

Also below Is everything I’ve tried:
downloading addon from:


and pasting it into /usr/share/openhab2/addons/ folder.

openhab-cli console > smarthhome:homekit clearPairings

removing file homekit.json from $OPENHAB2_USERDATA/jsondb/
(after that you should restart openhab2)

adding an homekit.cfg to /etc/openhab2/services

setting network interface to my rPi’s address.

I got the error regarding iPhone error 4013 and I just got the solution. If you want you can visit Fix iPhone error codes 4013. You can follow the steps and apply the steps for the resolving you rissue if you are facing.