Channels freezing

Playing on my Apple TV that’s on wireless I keep getting complete freezes and I would need to completely close the app and reopen it. I also tried rebooting the Apple TV but that didn’t do anything either, so I checked the logs. Here’s what it showed:

2017/08/26 09:14:33 [TNR] Opened connection to 131F24D4 for ch824
2017/08/26 09:28:13 [WRN] Buffer for 131F24D4 ch824 is more than 50% full (clients=1, len=16777684)
2017/08/26 09:28:30 [TNR] Closed connection to 131F24D4 for ch824

'2017/08/26 09:28:40 [Recovery] panic recovered:
GET /devices/131F24D4/guide?time=1503754118&duration=10800 HTTP/1.1
Host: 192.168.86.13:8089
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Authorization: 1503754118-N5WErQmZcSanCe91Jr/jLQok4Jq098iDHvACbHRX9ZQ=
Connection: keep-alive
User-Agent: livetv-service/7.25.2156 CFNetwork/882 Darwin/17.0.0


write tcp 192.168.86.13:8089->192.168.86.43:49182: write: broken pipe
/usr/local/Cellar/go/1.8.3/libexec/src/runtime/panic.go:489 (0x402c66f)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:420 (0x43dd5d9)
/Users/fancybox/source/channels-server/http.go:2622 (0x45725cf)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:97 (0x43dbc9a)
/Users/fancybox/source/channels-server/http.go:2565 (0x4571c7d)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:97 (0x43dbc9a)
/Users/fancybox/source/channels-server/http.go:180 (0x4547f0e)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:97 (0x43dbc9a)
/Users/fancybox/source/channels-server/http.go:160 (0x45473a8)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:97 (0x43dbc9a)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/recovery.go:45 (0x43eacba)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:97 (0x43dbc9a)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/contrib/sessions/sessions.go:65 (0x4522104)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:97 (0x43dbc9a)
/Users/fancybox/source/channels-server/.go/src/github.com/fancybits/gzip/gzip.go:46 (0x45184d1)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:97 (0x43dbc9a)
/Users/fancybox/source/channels-server/http.go:222 (0x45558d5)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/context.go:97 (0x43dbc9a)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/gin.go:284 (0x43e1ba0)
/Users/fancybox/source/channels-server/.go/src/github.com/gin-gonic/gin/gin.go:265 (0x43e14bb)
/usr/local/Cellar/go/1.8.3/libexec/src/net/http/server.go:2568 (0x42c10e2)
/usr/local/Cellar/go/1.8.3/libexec/src/net/http/server.go:1825 (0x42bd2f2)
/usr/local/Cellar/go/1.8.3/libexec/src/runtime/asm_amd64.s:2197 (0x405ad21)'

2017/08/26 09:29:30 [TNR] Opened connection to 131F24D4 for ch868
2017/08/26 09:31:06 [NAT] Successfully mapped port 8089 using natpmp

Sounds like a bad connection between the DVR and Apple TV. Turning off the tuner sharing option should fix it.

I thought It could be connect based too (but didn’t think of Tuner Sharing), so I checked a Speedtest on the Apple TV and I was getting 250Mbps+ to the internet. I also ran iperf3 from the server to a computer connected to the same AP that the Apple TV was connected to and was getting 940Mbps.

I also copied everything over to my Synology and ran ChannelsDVR from there, and it was the same problem, and that has 4 NICs with link aggregation and I don’t have problems doing anything ever from it. I popped up my iPad and it froze on that channel too, but the Apple TV on a different HD channel played just fine without freezes. I tried to use the HDHomeRun iOS app but that was just giving a black screen so yay…

It could have just been the stream from the cable company was bad and Channels didn’t know how to deal with it? I didn’t think of that until after I left for lunch, but if I see it again I’ll download a copy of the stream and send it to you.

I dealt with this exact issue a few months ago. I have two hdhomerun connects and it was only occurring on one of the connects. If I would reboot the hdhomerun it would work better for a while but then after a few hours issue would start again. It would happen with tuner sharing on and off. I change my tuner priority and ignored it for a week or so and then I upgraded to hdhomerun beta2 firmware and have not seen the issue since.
So I have no idea if it was firmware related or what. But it wasn’t a connection problem bc everything in my house is hardwired.