Server Version#:129.2.6364
Player Version#:
I’ll just be posting the reddit thread that I had posted since it covers a lot of the information and processes:
Edit 5: Well future peeps, get ready for the most flaccid update that you hate to see: it just started working for no apparent reaason*.* Yep, it’s the classic “it fixed itself” syndrome. I am deeply sorry on behalf of my server for every future troubleshooter. I’m sure this is like the fiftieth thread you’ve looked at and this one might even be the most similar one to your issue too! It’s honestly pathetic. I had seen easily over a hundred help threads and none of them helped. Now my very own thread that stood for justice of the future troubleshooters became something to through into the waste bin too. It’s poetic almost.
I guess to recap things I did learn and that might help your situation (it’s the least I can do after my “solution” after all were:
- the error:
[Req#1594e] Missing X-Plex-Container-Size header. This will fail with status code 400 in the future.
was actually due to a custom NextDNS being on my phone and router. This didn’t fix my streaming at the time, but maybe it helped something else.
- The “fix” in edit 2 for changing the port to 443 actually didn’t do anything. It seems like it was probably placebo. Currently, I’m back at the stock 32400 port
- The “Broken Pip” issue in edit 3 still happens to this day, but it streams faster than I’ve ever seen it, so it’s either cosmetic, or doesn’t matter to my current situation.
- You need to keep in mind that I wiped out my entire server with all the data and called “no taksies backsies”. My server was down for all the scanning and analyzing for days. The issue AFTER the wipe could genuinely have been it was too busy to send files to my phone. I DID have this issue before I wiped the server, so it was a real issue at a certain point.
- Lastly, I know this is a complete coincidence (or is it? ( ͡` ͜ʖ ͡´)), but after installing jellyfin and trying to configure that disgusting monstrosity (I beg you don’t do it, I don’t care what the nerds say buying a domain name, setting up a reverse proxy and get that ■■■■ to work is not easy.) the server worked after I gave up on that project
So, maybe remote connection was the journey we made along the way.
Edit 4: More error codes that may offer help:
[HttpClient/HCl#8e] HTTP error requesting GET undefined (6, Couldn't resolve host name) (Could not resolve host: undefined)
[Req#1594e] Missing X-Plex-Container-Size header. This will fail with status code 400 in the future.
NAT: PMP, got an error: Not Supported by gateway.
Edit 3: A full factory reset of the router also did not fix the issue. Changing port to standard Plex port of 32400 also has changed nothing for performance of remote streams. The main error I’m facing is:
Failed to stream media, client probably disconnected after 2277276 bytes: 32 - Broken Pipe
If this error shows up, which in most cases it does, the stream is in buffer hell, or buffers and plays back a second or two before buffering for a while again on repeat.
Edit 2: I’ll edit this until I get a fix for everyone in the future. Everything works better under 443, but when I unplug and plug it registers the change in console, and then about a full minute or two later, it registers a second change with this:
NetworkInterface: received Netlink message len=92, type=RTM_DELADDR, flags=0x0
NetwrokInterface: Netlink address message family=2, index=2, flags=0x0
Network change.
NetworkInterface: Notified of network change (force=0)
Network change notification but nothing changed.
Edit: sub edit: Fixed some not permanent fix I might have fixed the issue. I changed to custom port forward I had to 443 instead and it seems to have fixed most of the problems. I guess time will tell if this was a proper solution. My external IP address had changed a bit ago, and I have been wondering if the ISP has had anything to do with it. Purely speculation from someone who knows hardly enough make assumptions.
Original Post:
My server has run great up until a month ago where remote usage had become spotty, and slow to load content, until this week where it’s for all intents and purposes not usable. I had no notable changes, but I decided it was time to do a clean install, since I was going to be upgrading the SSD anyways and didn’t need the watch history.
After THREE fresh installs of Ubuntu 22.04 LTS and THREE fresh installs of Plex and dealing with permission issues it seems that nothing has changed and I’m still having the exact same issue as before with remote playing working until I actually need to play something and I get stuck on buffering hell for seemingly forever.
I had my phone running on cell network for troubleshooting and it was stuck buffering while I was messing with the server, and I decided to change the LAN wire I had been using to my router to see if that was the issue.
As soon as I did that the phone started playing the video PERFECTLY, BUT this only lasted about 15 seconds and when I changed to the next episode it had the same issue. I tried the old LAN wire, and the next episode again played FLAWLESSLY for about 15 seconds which was enough time to buffer the whole episode.
This is endlessly repeatable and I cannot for the life of me figure out what is happening and why I’m facing this issue. The only thing the logs show is:
"Failed to stream media, client probably disconnected after 2277276 bytes: 32 - Broken Pipe"
This goes for ALL devices remote playing anything on different operating system. Does anyone have any idea what is going on?
Also to add: my networking has been consistently been 1000 down and 50 up through this period of time.