TVE source never closed

I was watching TVE in the browser and when that failed I stopped it and opened the stream in VLC which failed (video frozen, audio playing) so closed it and reopened in VLC again.
Watched for a short time and stopped/closed VLC.
After my recording finished on the same TVE channel, status shows the source is still open.

Watching ch6003 KOVR from 192.168.1.8: buf=100% drop=33% timeouts=2 segment_timeouts=2 playlist_timeouts=0

Logs have been submitted as a9bf5e91-5e69-4338-8ca3-1b53a107601d

I restarted the dvr /updater/force/restart to close the TVE source.

*** Normal Open/Close
2024/11/24 12:20:40.263341 [TNR] Opened connection to TVE-Comcast_SSO for ch6003 KOVR
2024/11/24 12:21:26.333609 [TNR] Closed connection to TVE-Comcast_SSO for ch6003 KOVR

*** Normal Open/Close
2024/11/24 17:30:23.182752 [TNR] Opened connection to TVE-Comcast_SSO for ch6003 KOVR
2024/11/24 17:34:49.164968 [TNR] Closed connection to TVE-Comcast_SSO for ch6003 KOVR

*** Problem appears here
2024/11/24 17:51:05.106294 [TNR] Opened connection to TVE-Comcast_SSO for ch6003 KOVR
2024/11/24 17:52:22.467832 [TNR] Sharing existing connection to TVE-Comcast_SSO for ch6003 KOVR (clients=2, len=0)
2024/11/24 18:00:00.000887 [TNR] Sharing existing connection to TVE-Comcast_SSO for ch6003 KOVR (clients=3, len=0)
2024/11/24 19:00:00.126874 [TNR] Sharing existing connection to TVE-Comcast_SSO for ch6003 KOVR (clients=3, len=0)

*** Restarted DVR
2024/11/24 21:04:30.529961 [DVR] Recording engine stopped.
2024/11/24 21:04:32.898043 [SYS] Starting Channels DVR v2024.11.22.0023 (linux-x86_64 pid:7) in /channels-dvr/data

Before I close either the web UI player or VLC, I pause and stop the player before exiting.

Looking at the trace on the system, it appears that the reason why it was stuck there was because it was waiting to write data to a socket and it never succeeded. It looks like the OS didn't fully kill VLC when you closed it to be able to terminate the connection and cause the DVR side of the socket to close.

If you see this happen again, please submit diagnostics again.

Thanks. Will do.