locast2plex
locast2plex copied to clipboard
locast2plex throws multiple exceptions then hangs
I recently switched to the latest (python3) version of locast2plex. Last evening locast2plex threw multiple unhandled exceptions and ~~then, apparently,~~* hung. Shortly after the exceptions, it stopped producing output to stdout and stderr. This morning, it has multiple child ffmpeg processes even though nothing is currently being watched or recorded by Plex.
Attached to this report are a couple of files with data that may help figure out what happened. The last 500 lines of locast2plex's console output, as captured by systemd, are in locast2plex.log. Exceptions start at line 329. The systemd status of locast2plex is in locast2plex_status.log. It shows locast2plex having 10 child ffmpeg processes even though nothing is currently being watched or recorded.
As of right now, locast2plex is not responding to HTTP requests on port 6077.
locast2plex.log locast2plex_status.log
Operating system: Mint 19.3 locast2plex version: 0.5.3 (downloaded Oct 07) Plex server version: 1.20.2.3402
*It definitely hung. Nothing responded to a GET request sent to the locast2plex port via netcat. Restart worked. I now have a cron job running to detect this failure mode and, if necessary, restart locast2plex a few minutes before the top and bottom of the hour when broadcasts normally start.
Hmmm, I think the Python 3 version is not completely merged in yet. Still working on it. Did you download 0.5.3 from the releases area in GitHub? Downloading it from git pull or another way may be the culprit.