Can't get DVR to work correctly

I’ve been unable to get the DVR function to record properly. Usually what happens is that the recording stops before the end of the show.

I’ve attached a log file excerpt which is an attempt to record a 30 minute show. The recording stopped after 18 minutes. On this particular attempt, the recorded .ts file was also missing audio.

I’m running PMS version 1.10.1.4561 on a Synology DS918+. The DSM version is 6.1.4-15217. The DVR device is an HD HomeRun Connect.

Thanks in advance for any suggestions