Buffering Video Make Media Library Unusable

Server Version#: latest
Player Version#: latest

I am running the current version of Linux Mint on a fresh install, as well as a fresh install of the latest Plex Media Server. Media is on a local disk. All playback is over my local wireless network inside my home, while the server itself is wired via ethernet. I am using an Apple TV 4K as my playback device, although the issue happens on an iPad as well. I have a 120MB internet connection, so network speed shouldn’t be an issue. Streaming from services such as Netflix, etc. work fine. I don’t think the issue is the amount of bandwidth getting to the Apple TV. There are no large files downloading or any other streaming media going on at the same time.

Looking at the logs, the files (1080p/720p MKV or MP4) are attempting to direct play. The CPU% is at or near zero. Sometimes when you start a video you just get a spinning circle and it never loads. Or it will begin playing and start to buffer after just a few minutes of playback. Sometimes it will muddle through to the end with a few stops to buffer, or it will just time out and never continue. I see in the logs, a lot of “Failed to stream media, client probably disconnected… - connection reset by peer”, or sometimes it will have “broken pipe” instead.

I am unable to figure out why the connection keeps dropping. I have attached some logs. One from the server, and another from the Apple TV itself (albeit from a few days before). Any help would be greatly appreciated.

Plex Media Server.log (830.9 KB)

Here is the Apple TV log.

logging.zip (352.6 KB)

Would you mind going back and doing a proper

Settings - Server - Troubleshooting - Download Logs

Because you copied the raw file, I don’t get to see what I need at the end, nor do I see the Apple TV activity because it’s in the rollover logs

OK, here is the log file as requested. I hope this helps, and thanks for your help.Plex Media Server Logs_2019-02-22_07-57-13.zip (1.1 MB)

Another detail that I forgot to add: I have tried Infuse as my media player using plex as the media server back end. That did not seem to make a difference.

Not sure if @ChuckPa has had a chance to look at the logs, but I had an issue with buffering and the EasyAudioEncoder codec. Maybe it’s the audio? I’m a novice at reading through the logs, but nothing stands out to me.

Sorry all. Been trying to take some much-needed time away this weekend but did want to pop in for a bit.

auth_token=xxxxxxxxxxxxxxxxxxxx&includeProfiles=1&includeProviders=1
Feb 21, 2019 21:21:40.214 [0x7f4b0d7fe700] DEBUG - MyPlex: updating with 15 access tokens
Feb 21, 2019 21:21:40.214 [0x7f4b1e3fe700] DEBUG - HTTP requesting GET https://plex.tv/media/providers?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Feb 21, 2019 21:21:41.093 [0x7f4b1e3fe700] DEBUG - HTTP 200 response from GET https://plex.tv/media/providers?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Feb 21, 2019 21:23:26.953 [0x7f4b22fff700] DEBUG - EventSource: Failure in IdleTimeout (0 - Success).
Feb 21, 2019 21:23:26.954 [0x7f4b22fff700] ERROR - EventSource: Retrying in 15 seconds.
Feb 21, 2019 21:23:41.954 [0x7f4b227fe700] DEBUG - EventSource: Resolving 24-214-22-114.33eb0344200443eb9a74cbc369155618.plex.direct port 32400s
Feb 21, 2019 21:23:41.973 [0x7f4b227fe700] DEBUG - EventSource: Resolved 24-214-22-114.33eb0344200443eb9a74cbc369155618.plex.direct to 24.214.22.114
Feb 21, 2019 21:24:01.954 [0x7f4b22fff700] DEBUG - EventSource: Failure in IdleTimeout (0 - Success).
Feb 21, 2019 21:24:01.954 [0x7f4b22fff700] ERROR - EventSource: Retrying in 30 seconds.
Feb 21, 2019 21:24:09.576 [0x7f4b087fe700] DEBUG - Statistics: Flushing 1 expired bandwidth entries, 0 expired media entries.
Feb 21, 2019 21:24:31.954 [0x7f4b22fff700] DEBUG - EventSource: Resolving 24-214-22-114.33eb0344200443eb9a74cbc369155618.plex.direct port 32400s
Feb 21, 2019 21:24:31.968 [0x7f4b22fff700] DEBUG - EventSource: Resolved 24-214-22-114.33eb0344200443eb9a74cbc369155618.plex.direct to 24.214.22.114
Feb 21, 2019 21:24:51.954 [0x7f4b227fe700] DEBUG - EventSource: Failure in IdleTimeout (0 - Success).
Feb 21, 2019 21:24:51.954 [0x7f4b227fe700] ERROR - EventSource: Retrying in 60 seconds.
Feb 21, 2019 21:25:51.954 [0x7f4b22fff700] DEBUG - EventSource: Resolving 24-214-22-114.33eb0344200443eb9a74cbc369155618.plex.direct port 32400s
Feb 21, 2019 21:25:51.955 [0x7f4b22fff700] DEBUG - EventSource: Resolved 24-214-22-114.33eb0344200443eb9a74cbc369155618.plex.direct to 24.214.22.114
Feb 21, 2019 21:25:51.992 [0x7f4b227fe700] DEBUG - EventSource: Failure in Connect (111 - Connection refused).
Feb 21, 2019 21:25:51.992 [0x7f4b227fe700] ERROR - EventSource: Retrying in 120 seconds.
Feb 21, 2019 21:26:14.264 [0x7f4b22fff700] DEBUG - CERT: incomplete TLS handshake: short read
Feb 21, 2019 21:26:14.385 [0x7f4b22fff700] DEBUG - CERT: incomplete TLS handshake: short read

This shows me networking issues. Nothing definitive at this point with exception of what appears to be DNS Rebinding Protection for plex.direct.

The network resets will make it “buffer” because all connections reset and this takes time to restart and resync.

My first recommendation is to add an exception to permit private domain plex.direct to your local router.

After this, you can then reevaluate and see what else might be happening.

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