2023-08-13, 12:47 AM
(This post was last modified: 2023-08-13, 12:53 AM by PR-0927. Edited 4 times in total.)
Hi all, I've been having a rough time getting my Jellyfin server (TrueNAS Scale) up and running as a proper replacement for my Plex server (UnRAID) I've been running for a while. I would very badly like to transition to Jellyfin and ditch Plex for myriad reasons, but one very strange issue has become a thorn in my side - something which does NOT affect my Plex setup at all.
Hoping for assistance. Crossing my fingers for a resolution!
On local LAN, it works PERFECTLY - direct stream and transcoding both.
The thorn - ONE problem that I cannot resolve - when remote streaming it buffers every few seconds, regardless of resolution or codec. Some items go smoothly, some don't. Does not matter if direct stream or transcode.
This was tested by my sister, remotely located - using Roku (TCL TV built-in), Chrome browser on her desktop, and Jellyfin app on her Pixel 7 Pro - same experience on all three. Many settings changed and tested - auto, 4K 120Mbps, 1080p 10Mbps, etc. Transcoding enabled, disabled, forced. Transcoding throttling enabled or disabled.
Always the same problem.
The weirdest wrinkle - if I stream to my phone (Pixel 7 Pro, GrapheneOS) or my wife's phone (Pixel 7 Pro, Google's Android) - on data (WLAN works perfectly, of course), but I toggle on ProtonVPN (on our phones) - it suddenly functions PERFECTLY. Without that, buffering happens. This is regardless of resolution or codec.
Meaning even 4K 120Mbps, it works perfectly in that scenario.
This is the opposite of what I expected - an additional tunnel layer surely should SLOW things down, right?
Here's the relevant hardware and software background:
Hardware
Software
Other
I have experimented with a LOT of different settings. I have sought out help from the support staff for TrueCharts version of Jellyfin. I previously had Quad9 set for my DNS, but thought maybe it was the culprit. Guess not.
Furthermore, I have also used the ix version of Jellyfin on that TrueNAS Scale server and had the same experience.
Happy and willing to provide more information or screenshots as needed. The logs don't seem to be very helpful - only random mentions of "slow HTTP response" - but this happens both when it doesn't work right remotely, and when it does (ProtonVPN toggled on phones).
Super grateful in advance for help on this!
Hoping for assistance. Crossing my fingers for a resolution!
On local LAN, it works PERFECTLY - direct stream and transcoding both.
The thorn - ONE problem that I cannot resolve - when remote streaming it buffers every few seconds, regardless of resolution or codec. Some items go smoothly, some don't. Does not matter if direct stream or transcode.
This was tested by my sister, remotely located - using Roku (TCL TV built-in), Chrome browser on her desktop, and Jellyfin app on her Pixel 7 Pro - same experience on all three. Many settings changed and tested - auto, 4K 120Mbps, 1080p 10Mbps, etc. Transcoding enabled, disabled, forced. Transcoding throttling enabled or disabled.
Always the same problem.
The weirdest wrinkle - if I stream to my phone (Pixel 7 Pro, GrapheneOS) or my wife's phone (Pixel 7 Pro, Google's Android) - on data (WLAN works perfectly, of course), but I toggle on ProtonVPN (on our phones) - it suddenly functions PERFECTLY. Without that, buffering happens. This is regardless of resolution or codec.
Meaning even 4K 120Mbps, it works perfectly in that scenario.
This is the opposite of what I expected - an additional tunnel layer surely should SLOW things down, right?
Here's the relevant hardware and software background:
Hardware
- TrueNAS Scale Server (New)
- AMD EPYC 9124
- 128GB DDR5 ECC RAM
- 2x240GB SATA SSDs - Boot Drives – Mirrored
- 2x1TB NVMe (PCIe 4.0) M.2 SSDs - Apps/VM Drives – Mirrored
- 4x8TB NVMe (PCIe 3.0) U.2 SSDs - Media Storage - RAIDZ1 (24TB Usable)
- Nvidia Quadro P400 - Transcoding GPU
- 10Gb PCIe NIC - Intel X520 Chipset - SFP+
- AMD EPYC 9124
- UnRAID Server (Old)
- AMD Ryzen 3700X
- 64GB DDR4 RAM
- 1TB NVMe (PCIe 4.0) M.2 SSD – Cache
- 4x8TB SATA HDDs - Media Storage - Double Parity (16TB Usable)
- No GPU (Previously Nvidia GTX 1080)
- 10Gb PCIe NIC - Intel X520 Chipset - SFP+
- AMD Ryzen 3700X
Software
- TrueNas Scale Server (New)
- Jellyfin - TrueCharts Repository - ingressed Through Traefik
- Traefik - TrueCharts Repository
- Jellyfin - TrueCharts Repository - ingressed Through Traefik
- UnRAID Server (Old)
- Plex - Community Apps - plexinc Repository - NOT Through Reverse Proxy, Exposed Though Port 32400
- Nginx Proxy Manager - Community Apps - jlesage Repository - Currently Disabled - Not Used for Plex
- Plex - Community Apps - plexinc Repository - NOT Through Reverse Proxy, Exposed Though Port 32400
Other
- Domain's DNS Through Cloudflare - DNS Only (NOT Proxied) - Cache Bypass
- Custom OPNSense Firewall/Router - Unbound DNS (DNSSEC and Blocklists Currently Disabled) - Using 1.1.1.1. and 1.0.0.1 - "Host Override" for My Domain (media.mydomain.tld) and Looal Server IP (192.168.0.50)
- ISP - Spectrum - 940Mbps Download, 35Mbps Upload (40Mbps Normally Witnessed)
I have experimented with a LOT of different settings. I have sought out help from the support staff for TrueCharts version of Jellyfin. I previously had Quad9 set for my DNS, but thought maybe it was the culprit. Guess not.
Furthermore, I have also used the ix version of Jellyfin on that TrueNAS Scale server and had the same experience.
Happy and willing to provide more information or screenshots as needed. The logs don't seem to be very helpful - only random mentions of "slow HTTP response" - but this happens both when it doesn't work right remotely, and when it does (ProtonVPN toggled on phones).
Super grateful in advance for help on this!