Thanks. I wanted to get that out of the way as there have been several cases recently with domain and TLS conditions. You may want to make an exception in your “IP addresses allowed without auth” for that host if it’s truly incapable of handling TLS/SSL auth correctly. It’ll make life easier in the long run
Tracing the playback session from begging to end, I find:
May 03, 2018 11:03:21.704 [0x7f23047ff700] DEBUG - [Transcoder] Throttle - Getting back to work.
May 03, 2018 11:03:21.785 [0x7f23097f5700] DEBUG - Request: [192.168.1.98:56662 (Subnet)] GET /video/:/transcode/universal/dash/9hq1nuzhytiwtfvjn26l88pn/1/145.m4s (15 live) TLS GZIP Signed-in
May 03, 2018 11:03:21.786 [0x7f23097f5700] DEBUG - Asked for segment 145 from session.
May 03, 2018 11:03:21.786 [0x7f23097f5700] DEBUG - Returning segment 145 from session: "/mnt/plextrans/Transcode/Sessions/plex-transcode-9hq1nuzhytiwtfvjn26l88pn-015dbd86-1c62-4ddf-ae84-09617e7513a5/chunk-stream1-00146.m4s"
May 03, 2018 11:03:21.786 [0x7f23097f5700] DEBUG - Content-Length of /mnt/plextrans/Transcode/Sessions/plex-transcode-9hq1nuzhytiwtfvjn26l88pn-015dbd86-1c62-4ddf-ae84-09617e7513a5/init-stream1.m4s,/mnt/plextrans/Transcode/Sessions/plex-transcode-9hq1nuzhytiwtfvjn26l88pn-015dbd86-1c62-4ddf-ae84-09617e7513a5/chunk-stream1-00146.m4s is 151742.
May 03, 2018 11:03:21.787 [0x7f2323bfe700] DEBUG - Completed: [192.168.1.98:56662] 200 GET /video/:/transcode/universal/dash/9hq1nuzhytiwtfvjn26l88pn/1/145.m4s (15 live) TLS GZIP 1ms 151742 bytes (pipelined: 3)
May 03, 2018 11:03:21.854 [0x7f2323bfe700] DEBUG - Completed: [192.168.1.98:56553] 200 GET /video/:/transcode/universal/dash/9hq1nuzhytiwtfvjn26l88pn/0/145.m4s (15 live) TLS GZIP 219ms 2546382 bytes (pipelined: 70)
May 03, 2018 11:03:21.932 [0x7f23057ed700] ERROR - [Transcoder] [matroska,webm @ 0x2b79880] Read error at pos. 504970590 (0x1e193d5e)
May 03, 2018 11:03:23.758 [0x7f23243ff700] DEBUG - Auth: authenticated user 1 as durandclan
May 03, 2018 11:03:23.758 [0x7f2308ff4700] DEBUG - Request: [127.0.0.1:44590 (Loopback)] GET /status/sessions (14 live) Signed-in Token (durandclan)
May 03, 2018 11:03:23.758 [0x7f2308ff4700] DEBUG - [Now] Adding 2 sessions.
May 03, 2018 11:03:23.760 [0x7f23243ff700] DEBUG - Completed: [127.0.0.1:44590] 200 GET /status/sessions (14 live) 1ms 5804 bytes (pipelined: 1)
May 03, 2018 11:03:25.826 [0x7f22fdfff700] DEBUG - Request: [127.0.0.1:44598 (Loopback)] PUT /video/:/transcode/session/9hq1nuzhytiwtfvjn26l88pn/015dbd86-1c62-4ddf-ae84-09617e7513a5/progress?progress=61.4&size=-22&remaining=1132&speed=0.7 (15 live) Signed-in Token (durandclan)
May 03, 2018 11:03:25.827 [0x7f2323bfe700] DEBUG - Completed: [127.0.0.1:44598] 206 PUT /video/:/transcode/session/9hq1nuzhytiwtfvjn26l88pn/015dbd86-1c62-4ddf-ae84-09617e7513a5/progress?progress=61.4&size=-22&remaining=1132&speed=0.7 (15 live) 1ms 326 bytes
May 03, 2018 11:03:25.844 [0x7f23187ff700] DEBUG - Request: [127.0.0.1:44600 (Loopback)] POST /video/:/transcode/session/9hq1nuzhytiwtfvjn26l88pn/015dbd86-1c62-4ddf-ae84-09617e7513a5/manifest (15 live) Signed-in
May 03, 2018 11:03:25.849 [0x7f23187ff700] DEBUG - Transcoder segment range: 0 - 157
May 03, 2018 11:03:25.850 [0x7f23243ff700] DEBUG - Completed: [127.0.0.1:44600] 200 POST /video/:/transcode/session/9hq1nuzhytiwtfvjn26l88pn/015dbd86-1c62-4ddf-ae84-09617e7513a5/manifest (15 live) 6ms 166 bytes
May 03, 2018 11:03:25.881 [0x7f2305fee700] DEBUG - Request: [127.0.0.1:44602 (Loopback)] POST /video/:/transcode/session/9hq1nuzhytiwtfvjn26l88pn/015dbd86-1c62-4ddf-ae84-09617e7513a5/manifest (17 live) Signed-in
May 03, 2018 11:03:25.881 [0x7f23047ff700] DEBUG - Request: [127.0.0.1:44604 (Loopback)] PUT /video/:/transcode/session/9hq1nuzhytiwtfvjn26l88pn/015dbd86-1c62-4ddf-ae84-09617e7513a5/progress?progress=61.4&size=-22&remaining=3525&speed=0.1 (16 live) Signed-in Token (durandclan)
Does this coincide with your recreation?
May 03, 2018 11:03:21.932 [0x7f23057ed700] ERROR - [Transcoder] [matroska,webm @ 0x2b79880] Read error at pos. 504970590 (0x1e193d5e)
May 03, 2018 11:03:21.786 [0x7f23097f5700] DEBUG - Returning segment 145 from session: "/mnt/plextrans/Transcode/Sessions/plex-transcode-9hq1nuzhytiwtfvjn26l88pn-015dbd86-1c62-4ddf-ae84-09617e7513a5/chunk-stream1-00146.m4s"
You have the transcoder temp on a network share or is this the SSD? If network, the race condition which inevitably happens catches up. The eac3 codec, because it is licensed and external to the transcoder itself, requires file locking and iNotify support which a network share cannot provide in order to work together. Locking is easy to provide but iNotify does not exist for any network protocol.
Subsequent to this error, you will see the collapse of the session ( speed= entries) show transcode speed plummet from the norm of being well ahead of demand.
To verify this is indeed the root cause, can you temporarily assign the transcoder temp to a machine-local directory? I use /home/plexdir/transcode to avoid the exact same race condition.