Context cancelled during recording

I'm getting this on one of my remote servers now too. It started a couple of days ago. It happens more on streams I'm trying to pull from my HD-HomeRun from one server to the other.

2021/03/31 10:15:45.929700 [TNR] Opened connection to M3U-Xfinity- HDHomeRun for ch402 CBS
2021/03/31 10:15:45.929953 [DVR] Recording for job 1617210000-ch402 from M3U-Xfinity- HDHomeRun ch402 into "TV/The Price     Is Right/The Price Is Right S49E86 2021-03-31-1015.mpg" for 44m19.361864454s
2021/03/31 10:15:46.184901 [IDX] Generating video index for job 1617210000-ch402
2021/03/31 10:19:01.068685 [ERR] Error during stream M3U-Xfinity- HDHomeRun ch402 CBS: Failed to download file: http://x.    x.x.x:8089/devices/13245C3B/channels/1002/hls/stream.m3u8/stream154.ts?abitrate=128&acodec=aac&bitrate=2000&    deinterlacer=blend&indexed=true&level=40&resolution=720&ssize=1&vcodec=h264: Get "http://x.x.x.x:8089/devices/13245C3B/    channels/1002/hls/stream.m3u8/stream154.ts?abitrate=128&acodec=aac&bitrate=2000&deinterlacer=blend&indexed=true&level=40&    resolution=720&ssize=1&vcodec=h264": context canceled
2021/03/31 10:19:01.145941 [MTS] Statistics for "TV/The Price Is Right/The Price Is Right S49E86 2021-03-31-1015.mpg":     skipped=0 unhandled_packets=0 discontinuity_detected=0 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true     saw_pmt=true highest_pts=174.136022
2021/03/31 10:19:01.192278 [TNR] Closed connection to M3U-Xfinity- HDHomeRun for ch402 CBS
2021/03/31 10:19:01.192311 [DVR] Job 1617210000-ch402 The Price Is Right ended prematurely: 40m58.807695099s
2021/03/31 10:19:01.236185 [DVR] Starting job 1617210000-ch402 The Price Is Right on ch=[402]
2021/03/31 10:19:01.236251 [DVR] Waiting 4h40m28.763754108s until next job 1617227970-5 Dr. Phil
2021/03/31 10:19:01.483849 [TNR] Opened connection to M3U-Xfinity- HDHomeRun for ch402 CBS
2021/03/31 10:19:01.483961 [DVR] Recording for job 1617210000-ch402 from M3U-Xfinity- HDHomeRun ch402 into "TV/The Price     Is Right/The Price Is Right S49E86 2021-03-31-1015.mpg" for 40m58.763724132s
2021/03/31 10:25:20.698439 [ERR] Error during stream M3U-Xfinity- HDHomeRun ch402 CBS: Failed to download file: http://x.    x.x.x:8089/devices/13245C3B/channels/1002/hls/stream.m3u8/stream467.ts?abitrate=128&acodec=aac&bitrate=2000&    deinterlacer=blend&indexed=true&level=40&resolution=720&ssize=1&vcodec=h264: Get "http://x.x.x.x:8089/devices/13245C3B/    channels/1002/hls/stream.m3u8/stream467.ts?abitrate=128&acodec=aac&bitrate=2000&deinterlacer=blend&indexed=true&level=40&    resolution=720&ssize=1&vcodec=h264": context canceled
2021/03/31 10:25:20.777802 [MTS] Statistics for "TV/The Price Is Right/The Price Is Right S49E86 2021-03-31-1015.mpg":     skipped=0 unhandled_packets=0 discontinuity_detected=0 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true     saw_pmt=true highest_pts=1499.627622
2021/03/31 10:25:20.851820 [TNR] Closed connection to M3U-Xfinity- HDHomeRun for ch402 CBS
2021/03/31 10:25:20.851857 [DVR] Job 1617210000-ch402 The Price Is Right ended prematurely: 34m39.148148998s
2021/03/31 10:25:20.901855 [DVR] Starting job 1617210000-ch402 The Price Is Right on ch=[402]
2021/03/31 10:25:20.901924 [DVR] Waiting 4h34m9.098081898s until next job 1617227970-5 Dr. Phil
2021/03/31 10:25:21.165001 [TNR] Opened connection to M3U-Xfinity- HDHomeRun for ch402 CBS
2021/03/31 10:25:21.165170 [DVR] Recording for job 1617210000-ch402 from M3U-Xfinity- HDHomeRun ch402 into "TV/The Price     Is Right/The Price Is Right S49E86 2021-03-31-1015.mpg" for 34m39.098051194s
2021/03/31 10:31:48.549932 [ERR] Error during stream M3U-Xfinity- HDHomeRun ch402 CBS: Failed to download file: http://x.    x.x.x:8089/devices/13245C3B/channels/1002/hls/stream.m3u8/stream779.ts?abitrate=128&acodec=aac&bitrate=2000&    deinterlacer=blend&indexed=true&level=40&resolution=720&ssize=1&vcodec=h264: Get "http://x.x.x.x:8089/devices/13245C3B/    channels/1002/hls/stream.m3u8/stream779.ts?abitrate=128&acodec=aac&bitrate=2000&deinterlacer=blend&indexed=true&level=40&    resolution=720&ssize=1&vcodec=h264": context canceled
2021/03/31 10:31:48.621295 [MTS] Statistics for "TV/The Price Is Right/The Price Is Right S49E86 2021-03-31-1015.mpg":     skipped=0 unhandled_packets=0 discontinuity_detected=0 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true     saw_pmt=true highest_pts=1889.303311
2021/03/31 10:31:48.874417 [TNR] Closed connection to M3U-Xfinity- HDHomeRun for ch402 CBS
2021/03/31 10:31:48.874535 [DVR] Job 1617210000-ch402 The Price Is Right ended prematurely: 28m11.125477282s
2021/03/31 10:31:49.037966 [DVR] Starting job 1617210000-ch402 The Price Is Right on ch=[402]
2021/03/31 10:31:49.038078 [DVR] Waiting 4h27m40.961935012s until next job 1617227970-5 Dr. Phil
2021/03/31 10:31:49.330869 [TNR] Opened connection to M3U-Xfinity- HDHomeRun for ch402 CBS
2021/03/31 10:31:49.331043 [DVR] Recording for job 1617210000-ch402 from M3U-Xfinity- HDHomeRun ch402 into "TV/The Price     Is Right/The Price Is Right S49E86 2021-03-31-1015.mpg" for 28m10.96186438s

No error beyond that. I'm watching the outgoing bandwidth stream from my router and there seems to be no breakup. Any idea what the "Context Canceled" means?

Can you try with the prerelease

This is on version 2021.03.31.0050 on both the requesting & receiving server.

Please submit diagnostics after it happens

I just submitted sets of logs 315f2e47-eb4a-46e9-8fc3-37393e11a3f5 & 0cfd719b-3640-4274-a4e6-d982b6f85c87.

What about the dvr that's actually talking to the hdhomerun? I'm not seeing that stream only M3U ones. Check the log on that side and see what error is shown because that's where the stream is stopping.

Here is the log for the main server directly connecting to the HDHR that's feeding the other two. ce5f8731-9590-4f9c-8726-31c568052b67

Uploading new pre-release now with fixes.

1 Like

Thank you very much. I know what I'm doing with this is kind edge casey, so I appreciate the quick fix all the more. :slight_smile:

1 Like