Constant buffering when using Plex on home network

I have had Plex running on a Synology NAS for a while now, but have yet to successfully have it work well at home. It works great outside the home. Family members and a couple of friends use it regularly also, with no complaints from any of them.

However, trying to access it from either the web app, or on iOS devices through the Plex app leads to constant video stuttering and buffering. These are only 1080p files, no 4k, and my home internet is pretty solid: 1 Gig symmetric connection, usually hitting in the 850-1,000 Mbps up and down on real world tests. I am using the most recent eero system at home for my home wireless, with 3 base stations and one extender on the top floor of the house. I have good connection everywhere in the house.

Of note, I have enabled DLNA server and if I access the content in something such as VLC, or even through the Synology apps, there is absolutely no buffering, only if accessed through one of the Plex apps. I am at a loss as to why things just don’t work at home if accessed through a Plex app, but work fine if accessed at home via the DLNA server, or work fine outside the home.

Plex Media Server Logs_2020-04-26_17-13-41.zip (6.9 MB)

Server Version#: DS1019+
Player Version#: 1.19.1.2701

The clients you are using on the home network. are they set to play original quality locally?

Good question. By changing the setting from “recommended” and then adjusting the quality down, I can get it to play smoothly. But I have to set it to a 720p setting or lower. Even the lowest 1080p setting and it won’t play smoothly.

But, again, don’t have to do anything along those lines using the DLNA server in VLC. Odd.

DLNA and VLC over the network will take the file directly without any processing. the playback device decodes the media. Change the settings in plex from recommended to original quality and see what happens.

I am experiencing a similar issue. My Roku plays all movies and TV shows just fine. However, when watching the same movie or TV show in the Plex web app or iOS device causes them to buffer basically forever. Except, that some movies do actually play fine, but I’m unable to identify the differences between the movies that would cause them to behave differently.

I’m trying the above recommendations. In changing the plex server settings from recommended to original quality for local connections, I can’t seem to find the setting. I am looking in the Settings->Quality->Home Streaming, and unchecking the box Use Recommended Settings. However, the drop down list doesn’t show Original, just Maximum and a bunch of constant bit rate choices. Am I looking in the wrong place?

I don’t see an option to set it to original quality. Only “maximum” and then a number of different bit rate options. If I set it to anything other than 4 Mbps 720p it just won’t play. At that bit rate it plays perfectly.

Also, I know it isn’t a network issue because, as you said, the DLNA with VLC option is just serving up the file at original quality/bit rate, and it plays fine. Also, I can stream 4k video to an Oculus Quest without any slow down whatsoever from this server.

That’s why I’m so confused. I know the network and NAS can easily serve up 4k video at home. Yet, if I use a Plex app to play the content, I can’t play above 720p.

I finally came to the forums because this issue has been driving me nuts. It seems to be limited to local playback only. It happens on the web client, iOS client and tvOS client at least. I have tried changing the qualities around to no avail. One thing I’ve noticed is that the clients seem to stop buffering in the background. The orange buffer bar runs all the way out then the video stops playing. If I pause the video, eventually the buffer bar filled back up. I haven’t experienced anything quite like this for a very long time but this started in the past few months. Again, if I switch to cellular it seems to work just fine. Server resources are fine and I’m using wired gigabit inside my house. Attached is a photo of what I’m seeing in the client.CleanShot 2020-05-06 at 13.22.18

This looks almost exactly like the problem I have. I can also state that my local CPU is at 100%, attributed to Firefox. The server says nothing about transcoding and its CPU is relatively idle. The dashboard shows like everything is fine and the video is playing. This only started, for me, a couple weeks ago.

For myself I’ve noticed that this mainly happens when my Plex clients are using direct play. When I watch the same videos using a client like VLC or IINA it plays just fine for the entire episode.

Exactly the same for me. When playing through any Plex app it is garbage. Playing through DLNA on VLC or anything else, it plays perfectly fine.

So I am thinking that this is more of a player issue and not a server issue. I am now looking for similar posts over here: https://forums.plex.tv/c/plex-players/computers/34

Good call. This only happens to me in the web player, but it is consistent and frustrating.

This is happening to me as of about 2 weeks ago. When it started, I noticed the Samsung and Roku clients now have the “Free Movies & TV” tagline under “PLEX”. Both clients are now buffering on files that used to play just fine - I’ve never had buffering issues. I’ve updated to the latest plex server. No change.

I have low CPU on the server when this is going on. I’ve turned on verbose logging, and I see “speed” entries that are 17 and 40 like this recommends: https://support.plex.tv/articles/201575036-why-is-my-video-stream-buffering/

May I please see a DEBUG logging (VERBOSE turned OFF)
of a recreation of the playback problem?

  1. Start
  2. Let play 30 seconds or so (?)
  3. Stop
  4. Wait 30 for logs to flush
  5. Settings - Server - Troubleshooting - Download Logs
  6. Attach the ZIP file.

Here are the logs. This was on the home network, using the Player app on a MacBook Pro. Here are the logs as per the instructions.

Plex Media Server Logs_2020-05-15_14-05-51.zip (6.4 MB)

I’m having (or had) the same issues with

  1. macOS (10.15.3) app on MacBook Pro (2016)
  2. tvOS (13.4) app on AppleTV 4K
  3. iPadOS (13.4) on iPad Pro (2020)
  4. macOS (10.15.4) app on MacBook Pro (2016)

Not having (or did not have) the issue with

  1. iOS (13.3.1) app on iPhone XS
  2. iOS (13.4.1) app on iPhone XS
  3. iOS (13.3) app on iPad mini 4
  4. iPadOS (13.4.1) app on iPad mini 4
  5. iPadOS (13.4.1) app on iPad Pro (2020)

Server is Plex Media Server v1.19.3.2764-ef515a800 on Synology DS918+ x86_64 DSM 6.2.2.24922-4, Processor Intel® Celeron® CPU J3455 @ 1.50GHz

I checked my logs against DaddyMD’s and there were (many) similar errors:

DEBUG - Auth: authenticated user 1 as ****@****.com
DEBUG - Request: [192.168.1.84:53341 (Subnet)] GET /library/parts/9177/1589683316/file.mp4 (7 live) TLS Signed-in Token (****@****.com) (range: bytes=5546602-) 
DEBUG - Content-Length of /volume1/Media/Movies/****.mp4 is 5022951951 (of total: 5028498553).
DEBUG - Failed to stream media, client probably disconnected after 360448 bytes: 104 - Connection reset by peer
DEBUG - Completed after connection close: [192.168.1.84:53340] 206 GET /library/parts/9177/1589683316/file.mp4 (7 live) TLS 188ms 360448 bytes (range: bytes=102985-)

Here are my obfuscated logs. On a Roku 3, the buffering happened at 2:30 local time.Plex Media Server Logs_2020-05-17_14-32-56.zip (87.8 KB)

@ch_rob

It lost internet connectivity, reset connections, then resumed.

playbackTime=0&time=0&state=buffering&ratingKey=51991&key=%2Flibrary%2Fmetadata%2F51991&context=source%3Ahub.tv.ondeck&timeStalled=13&duration=1352085&playQueueItemID=37212 (5 live) TLS GZIP 4ms 469 bytes (pipelined: 294)
May 17, 2020 14:28:53.900 [0x7fc3c65be700] DEBUG - Completed: [192.168.1.66:56928] 206 GET /library/parts/424473/1562094518/file.mkv (5 live) TLS 7211ms 22974 bytes (pipelined: 1) (range: bytes=192731752-) 
May 17, 2020 14:28:54.205 [0x7fc3c65be700] DEBUG - Auth: authenticated user 1 as ch_rob
May 17, 2020 14:28:54.206 [0x7fc398ff9700] DEBUG - Request: [192.168.1.66:56928 (Allowed Network (Subnet))] GET /library/parts/424473/1562094518/file.mkv (5 live) TLS Signed-in Token (ch_rob) (range: bytes=5637-) 
May 17, 2020 14:28:54.209 [0x7fc398ff9700] DEBUG - Content-Length of /tv/XYZ/Season 3/XYZ.S03E06.CCC.720p.WEBrip.AAC.EN-SUB.x264-[MULVAcoded].mkv is 192749089 (of total: 192754726).
May 17, 2020 14:29:16.139 [0x7fc3c65be700] DEBUG - Failed to stream media, client probably disconnected after 655360 bytes: 104 - Connection reset by peer
May 17, 2020 14:29:16.140 [0x7fc3c65be700] DEBUG - Completed after connection close: [192.168.1.66:56927] 200 GET /library/parts/424473/1562094518/file.mkv (5 live) TLS 40179ms 655360 bytes (pipelined: 1)
May 17, 2020 14:29:16.140 [0x7fc3c5dbd700] DEBUG - Auth: authenticated user 1 as ch_rob
May 17, 2020 14:29:16.140 [0x7fc3c5dbd700] DEBUG - EventSource: Failure in IdleTimeout (0 - Success).
May 17, 2020 14:29:16.140 [0x7fc3c5dbd700] DEBUG - MyPlex: We appear to have lost Internet connectivity, resetting device URL cache.
May 17, 2020 14:29:16.140 [0x7fc3c65be700] DEBUG - Auth: authenticated user 1 as ch_rob
May 17, 2020 14:29:16.140 [0x7fc3c5dbd700] ERROR - EventSource: Retrying in 15 seconds.
May 17, 2020 14:29:16.140 [0x7fc398ff9700] DEBUG - Request: [192.168.1.66:56706 (Allowed Network (Subnet))] GET /:/timeline?playbackTime=0&time=0&state=buffering&ratingKey=51991&key=%2Flibrary%2Fmetadata%2F51991&context=source%3Ahub.tv.ondeck&timeStalled=33&duration=1352085&playQueueItemID=37212 (5 live) TLS GZIP Signed-in Token (ch_rob)
May 17, 2020 14:29:16.140 [0x7fc39b7fe700] DEBUG - Request: [192.168.1.66:56920 (Allowed Network (Subnet))] GET /library/metadata/51990 (6 live) TLS GZIP Signed-in Token (ch_rob)
May 17, 2020 14:29:16.141 [0x7fc398ff9700] DEBUG - Client [3330c226a0f7ccf6a07103217707ad31] reporting timeline state buffering, progress of 0/1352085ms for guid=, playbackTime=0ms ratingKey=51991 url=, key=/library/metadata/51991, containerKey=, metadataId=51991, source=
May 17, 2020 14:29:16.141 [0x7fc398ff9700] DEBUG - [Now] User is ch_rob (ID: 1)
May 17, 2020 14:29:16.141 [0x7fc398ff9700] DEBUG - [Now] Device is Roku (Roku 3 - 1GS3A5076879).
May 17, 2020 14:29:16.142 [0x7fc398ff9700] DEBUG - [Now] Profile is Roku-7.x
May 17, 2020 14:29:16.142 [0x7fc398ff9700] DEBUG - [Now] Updated play state for /library/metadata/51991.
May 17, 2020 14:29:16.142 [0x7fc398ff9700] DEBUG - Statistics: (3330c226a0f7ccf6a07103217707ad31) Reporting active playback in state 2 of type 4 (scrobble: 0) for account 1
May 17, 2020 14:29:16.144 [0x7fc3c5dbd700] DEBUG - CERT: incomplete TLS handshake: stream truncated
May 17, 2020 14:29:16.146 [0x7fc39b7fe700] DEBUG - We're going to try to auto-select an audio stream for account 1.
May 17, 2020 14:29:16.146 [0x7fc39b7fe700] DEBUG - Selecting best audio stream for part ID 424472 (autosel

Thanks ChuckPa.

That’s odd, I have Gigabit Internet and network throughout the house - all clients are wired.

Is it that it lost Internet connectivity or that it lost connectivity to the Plex Server hosting the content? If the former, is there a way to make the client not connect to the Internet when playing from a local server?

Thanks much.

The “Lost Connectivity” is from PMS -> Plex.tv

Your PlexPass has a constantly-connected link to Plex.tv

If that drops, PMS attempts to reconnect.

If it can’t, the message shown is reported.

If the net is slow for you at that moment, it can happen.
(Engineering recently shorted the timeout value – which is being discussed about restoring)