Help, my playback is literally pausing & buffering EVERY SINGLE SECOND.
What I observed:
-
When this happens, there’s a huge hike in the Bandwidth chart.
-
When I check my server with the neghogs utility it reads around 6MBps from the connection.
-
Playback in browser works fine (transcoded). However Direct Play playbacks from the macOS app / iOS app are having this issue. Since both clients have libmpv based players (I saw libmpv in the User-Agent header in the HTTP requests), there’s a chance this is a problem associated with libmpv.
-
The problem happens only with a couple of video files in my library. I have a large library of thousands of episodes.
-
When I tried to tcpdump the HTTP traffic, it turns out the clients are sending TCP RESET to server ALL THE TIME, and it looks like this caused the playback had to re-transmitting ALL THE TIME, and end up with the buffering & high bandwidth usage problem.
-
I’ve been using plex since 2018. I first encountered this problem earlier this year so this might be a recent bug. Also found this Reddit thread that is relatively new.
-
I usually have my plex server behind haproxy but the exact same problem happens regardless has proxy or not. (I tested both scenarios). When behind haproxy, I got
CD---state from the logs when this happens – which means, the client terminated the connection while data (HTTP body) was been transmitted. This corresponds to the TCP RESET that appeared during tcpdump.
My setup
- Plex Web Version 4.76.1
- Plex Server Version 1.26.1.5798 (latest LinuxServers docker image)
- Plex iOS Version 8.2
- Plex for Mac Version 1.44.0.2981-e2d72ac2
Media info
Codec H264
Bitrate 1120 kbps
Bit Depth 8
Chroma Location left
Chroma Subsampling 4:2:0
Coded Height 1088
Coded Width 1920
Color Primaries bt709
Color Range tv
Color Space bt709
Color Trc bt709
Frame Rate 23.976 fps
Height 1080
Level 4.0
Profile high
Ref Frames 3
Stream Identifier 1
Width 1920
Display Title 1080p (H.264)
Extended Display Title 1080p (H.264)
Codec AAC
Channels 2
Bitrate 128 kbps
Audio Channel Layout stereo
Profile lc
Sampling Rate 44100 Hz
Stream Identifier 2
Display Title Unknown (AAC Stereo)
Extended Display Title Unknown (AAC Stereo)



