What feature, service or problem is this related to?
I don’t know
What are the steps to reproduce the issue?
I have a plex server in MA, USA, and I live in WA, USA. A couple months ago I noticed the speeds became unusably slow, like ~4mbps when I used to get something like 150 (I’ve confirmed that the internet plan for the server hasn’t changed as speed tests will show it getting like 500+mbps up/down). To check speeds I also run an instance of librespeed on this server (both plex and librespeed are behind a traefik router), and when I ran the test from my client in WA, it was getting around 4mbps down and 235 up. However if I run this test using the direct IP:port, I get 14.7mbps down and 553 mbps up.
This confirms that direct connection is faster, but both of these speeds are a far cry from what I used to get (and seeing how fast the upload is, clearly it’s not an issue with my client unable to transfer data at those rates with the server). Would anyone have any ideas on debugging this? I don’t have my traffic proxied through cloudflare, I only use it for DNS, so not sure why it would be impacting speeds, and then only in one direction (from the server to my client).
I’ll wait a bit and try again and see if my speeds to my librespeed instance improve. On the other hand though, plex should be directly connecting to the IP, as plex uses your account for server discovery (when initializing a new server you add your account), so it shouldn’t be using DNS/cloudflare for routing anyways. Would you have any ideas there?
I would highly recommend using IPV6 instead of just IPV4 through Cloudflare. Add them using AAAA records - there’s a significant speed increase by going to IPV6 in between your host and CF.