Plex video stops consistently on browser, not on app

Plex Web: 4.71.0
Plex Server: 1.25.1.5286, Linux
Player: Chrome

Hi. I’m migrating to a new Mac laptop (2021, M1), and weirdly enough I’ve been running into video playback issues on the Chrome browser. My previous laptop was also a Mac (2017, Intel), and I used to watch Plex videos on Chrome as well, and it always ran well.

Now, I’m finding that videos will systematically pause after a while, normally in the same location. I’m watching a series, and for instance in this current episode it systematically pauses at 12 mins and 24 seconds. It shows the buffering icon, but it isn’t buffering. The settings are asking for maximum quality, subtitles are SRT, I don’t believe they’re being burned. The CPU and processes in the server don’t show any special activity (if any?) on the Plex Transcoder process that I see when actually handling formats that need processing, but it still pauses.

I then resume and I also notice that the last few seconds of the episode don’t have audio either, which is weird.

This did not happen in the previous computer/browser, it does not happen when using the Plex Mac application, and it doesn’t happen when watching from the iPad. But on my browser I can consistently replicate this issue.

Since it’s a new laptop, I would be open to imagining it’d be a small flag or tweak I had in the other one, but honestly I’m a bit at a loss as to where to look. I thought that disabling video acceleration in the browser could help, but it’s turned on in the previous laptop so I didn’t try it out.

The only weird things in the logs are, repeatedly:

Dec 09, 2021 22:29:39.929 [0x7f785eaaa8] VERBOSE - [TranscodeOutputStream] Delaying subtitle output to wait for video stream to catch up
Dec 09, 2021 22:29:40.001 [0x7f7c3a8aa8] VERBOSE - [TranscodeOutputStream] Waiting 100ms for more data...
Dec 09, 2021 22:29:40.102 [0x7f7c3a8aa8] VERBOSE - [TranscodeOutputStream] Waiting 100ms for more data...

Which don’t show when watching from the Plex app. The web session stops around 22:29, I believe.

Also, in the Transcoder logs, there’s this:

<Playback startTime="721487" endTime="731486" state="playing" progress="720000" />
<Playback startTime="731486" endTime="741509" state="playing" progress="730000" />
<Playback startTime="741509" endTime="745666" state="playing" progress="740000" />
<Playback startTime="745666" endTime="751508" state="buffering" progress="744000" />
<Playback startTime="751508" endTime="761483" state="buffering" progress="744000" />
<Playback startTime="761483" endTime="771497" state="buffering" progress="744000" />
<Playback startTime="771497" endTime="781499" state="buffering" progress="744000" />
<Playback startTime="781499" endTime="791485" state="buffering" progress="744000" />
<Playback startTime="791485" endTime="796649" state="buffering" progress="744000" />

Clearly suggesting that something happens at 744000.

Logs.zip (554.1 KB)

After 22:29 I start the same episode on Plex Desktop and it works as expected, past that time. I apologize as I only turned on verbose logging for that session after a bit, when I remembered.

Any advice or suggestions here would be helpful. Any info I can provide let me know.

Regards.

1 Like

Posted the same issue a couple of days ago. Only workaround is to downgrade to 1.24.5. Completely broken on 1.25 and above

@pjft81

You have certificate errors

Dec 07, 2021 09:09:21.855 [0x7f7afc0aa8] ERROR - Error issuing curl_easy_perform(handle): 7
Dec 07, 2021 09:09:21.855 [0x7f7afc0aa8] WARN - HTTP error requesting GET https://46-189-193-127.7ca2231ddc4f41b98fcc9061d28b4a72.plex.direct:11895 (7, Couldn't connect to server) (Failed to connect to 46-189-193-127.7ca2231ddc4f41b98fcc9061d28b4a72.plex.direct port 11895: Connection refused)
Dec 07, 2021 09:09:22.015 [0x7f7c385aa8] WARN - [CERT] TLS connection from [::ffff:192.168.86.10]:32902 came in with unrecognized plex.direct SNI name '172-20-0-1.506f50790b2d4ba5a15b4af59db4cb1d.plex.direct'; using installed plex.direct cert
Dec 07, 2021 09:09:22.065 [0x7f7b029aa8] ERROR - Unknown metadata type: 
Dec 07, 2021 09:09:22.090 [0x7f7af72aa8] ERROR - Error issuing curl_easy_perform(handle): 60
Dec 07, 2021 09:09:22.090 [0x7f7af72aa8] WARN - HTTP error requesting GET https://172-20-0-1.506f50790b2d4ba5a15b4af59db4cb1d.plex.direct:32400 (60, SSL peer certificate or SSH remote key was not OK) (SSL: no alternative certificate subject name matches target host name '172-20-0-1.506f50790b2d4ba5a15b4af59db4cb1d.plex.direct')
Dec 07, 2021 09:09:22.109 [0x7f7c3a8aa8] WARN - [CERT] TLS connection from [::ffff:192.168.86.10]:53256 came in with unrecognized plex.direct SNI name '172-18-0-1.506f50790b2d4ba5a15b4af59db4cb1d.plex.direct'; using installed plex.direct cert
Dec 07, 2021 09:09:22.158 [0x7f7af9daa8] ERROR - Error issuing curl_easy_perform(handle): 60
Dec 07, 2021 09:09:22.172 [0x7f7af9daa8] WARN - HTTP error requesting GET https://172-18-0-1.506f50790b2d4ba5a15b4af59db4cb1d.plex.direct:32400 (60, SSL peer certificate or SSH remote key was not OK) (SSL: no alternative certificate subject name matches target host name '172-18-0-1.506f50790b2d4ba5a15b4af59db4cb1d.plex.direct')
Dec 07, 2021 09:09:22.160 [0x7f7c385aa8] WARN - [CERT] TLS connection from [::ffff:192.168.86.10]:38102 came in with unrecognized plex.direct SNI name '172-19-0-1.506f50790b2d4ba5a15b4af59db4cb1d.plex.direct'; using installed plex.direct cert
Dec 07, 2021 09:09:22.238 [0x7f7af72aa8] ERROR - Error issuing curl_easy_perform(handle): 60
Dec 07, 2021 09:09:22.238 [0x7f7af72aa8] WARN - HTTP error requesting GET https://172-19-0-1.506f50790b2d4ba5a15b4af59db4cb1d.plex.direct:32400 (60, SSL peer certificate or SSH remote key was not OK) (SSL: no alternative certificate subject name matches target host name '172-19-0-1.506f50790b2d4ba5a15b4af59db4cb1d.plex.direct')
Dec 07, 2021 09:09:24.831 [0x7f7aef1aa8] ERROR - Error issuing curl_easy_perform(handle): 7
Dec 07, 2021 09:09:24.831 [0x7f7aef1aa8] WARN - HTTP error requesting GET https://192-168-1-10.506f50790b2d4ba5a15b4af59db4cb1d.plex.direct:32400 (7, Couldn't connect to server) (Failed to connect to 192-168-1-10.506f50790b2d4ba5a15b4af59db4cb1d.plex.direct port 32400: Host is unreachable)
Dec 07, 2021 09:09:25.857 [0x7f7b578aa8] INFO - AutoUpdate: no updates available
Dec 07, 2021 09:09:28.446 [0x7f7df58aa8] WARN - JobManager: Could not find job for handle 4475

It would be more helpful if you leave DEBUG logging on. You do not save space by turning DEBUG off. DEBUG logging is the default. VERBOSE is NOT on by default.
Logs are fixed at 10 MB each.

I was not happy with your certificates on plex.tv and have reset them.

Please restart Plex.

After it’s running, you might want to optimize the database. (it gets fragmented when adding media)

Dec 07, 2021 16:04:12.943 [0x7f7c385aa8] ERROR - [EventSourceClient/mediaserver] Retrying in 15 seconds.
Dec 07, 2021 16:04:47.948 [0x7f7c3a8aa8] ERROR - [EventSourceClient/mediaserver] Retrying in 30 seconds.
Dec 07, 2021 16:05:21.093 [0x7f7c3a8aa8] ERROR - [EventSourceClient/mediaserver] Retrying in 60 seconds.
Dec 07, 2021 16:06:22.563 [0x7f7c385aa8] ERROR - [EventSourceClient/mediaserver] Retrying in 120 seconds.
Dec 07, 2021 16:08:12.245 [0x7f7aa05aa8] ERROR - Unable to find client profile for device; platform=macOS, platformVersion=20.6.0, device=macOS, model=
Dec 07, 2021 16:08:13.429 [0x7f7aa05aa8] WARN - SLOW QUERY: It took 230.000000 ms to retrieve 39 items.
Dec 07, 2021 16:08:22.606 [0x7f7a905aa8] WARN - SLOW QUERY: It took 300.000000 ms to retrieve 49 items.
Dec 07, 2021 16:08:22.626 [0x7f7c3a8aa8] ERROR - [EventSourceClient/mediaserver] Retrying in 240 seconds.
Dec 07, 2021 16:08:22.647 [0x7f7a9e2aa8] WARN - SLOW QUERY: It took 410.000000 ms to retrieve 73 items.
Dec 07, 2021 16:08:22.662 [0x7f7acc7aa8] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 36 items.
Dec 07, 2021 16:09:15.406 [0x7f7b30faa8] WARN - PublicAddressManager: WAN IP is a private IP address
Dec 07, 2021 16:12:22.867 [0x7f7c385aa8] ERROR - [EventSourceClient/mediaserver] Retrying in 480 seconds.
Dec 07, 2021 16:13:36.922 [0x7f7a965aa8] WARN - QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Dec 07, 2021 16:13:36.944 [0x7f7a907aa8] ERROR - Unknown metadata type: folder
Dec 07, 2021 16:13:36.944 [0x7f7a907aa8] WARN - QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Dec 07, 2021 16:20:23.124 [0x7f7c385aa8] ERROR - [EventSourceClient/mediaserver] Retrying in 600 seconds.
Dec 07, 2021 16:30:23.213 [0x7f7c385aa8] ERROR - [EventSourceClient/mediaserver] Retrying in 600 seconds.

@ccris

Where did you post and do you have DEBUG logs ?

Thanks @ChuckPa . I restarted Plex, turned on both logs, and tried it again.

It failed again close to the same time - this time at 12mins 19seconds. Find logs attached.

Archive.zip (624.9 KB)

I wasn’t aware that downgrading to 1.24 would fix it, that might then mean that there’s something broader happening. I checked the thread from @ccris , there were no logs. It was just a report.

Thank you, have a great weekend.

@ChuckPa Here’s the other post

I’m also experiencing this issue, although I haven’t tried the downgrade solution yet.

I can also get my logs later today (getting a 500 trying through the console, will pull 'em from the server directly)

I experienced same and it only happened when I used direct stream. Use CPU or GPU transcoding will get rid of this issue.

I replied to another post on this. webapp playback was also broken for me on server version 1.25.2.5319 on multiple browsers/operating systems.

I rolled back my docker container to server version 1.24.5.5173 and the webapp works without issue again. It looks like there a problem with the webapp on 1.25 and above.

Hope a fix is coming soon.

I have also had the same issue on 3 different laptops using the Web Player running server version 1.25.0 and above. Playing TV a series, different episodes will stop and the status will show “buffering”, it is not transcoding, it is able to direct play both video and audo, but the server network traffic drops and CPU drops.
Skipping back a few mins will play up to the point it stopped, skipping forwards a few mins will play for maybe 5 - 7 mins and then stop again.

I have rolled back from the latest container and tested on each version back to server 1.24.5.5173 / web player 4.63.0, and agree with @dmordan & @ccris, after rolling back it is able to play the same episodes without issue again.

I’m currently running 2 plex containers one version 1.24.5.5173 the other on the latest version with a separate copy the of the database, so I can check if / when its fixed.

Can attach logs if needed

Same problem here, only Plex Web seems affected.
I got a lot of Javascript error messages in the Firefox console, I don’t know if it is related.

I am encountering this as well. More discussion over here:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.