SOLVED: DirectPlayError when behind reverse proxy webOS - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access) +---- Thread: SOLVED: DirectPlayError when behind reverse proxy webOS (/t-solved-directplayerror-when-behind-reverse-proxy-webos) |
DirectPlayError when behind reverse proxy webOS - andreafontana - 2024-10-18 Hi, I'm having issues with my reverse proxy configuration. I have both Jellyfin and Nginx Reverse Proxy installed as docker containers on a Zimaboard, and I'm trying to use the official webOS app as client. On local network everything's fine. Outside local network, I can access the web UI from the LG TV, yet I'm experiencing Playback errors. Specifically, whenever I reproduce a file from the beginning, direct play starts and no problem occurs. As soon as I skip forwards or backwards or continue watching an already started film, transcoding is triggered (even though the file is compatible with the client) and I get an error saying "There was an error starting direct playback". All the other clients I tried work fine, so it's related to the webOS app. I tried using plain nginx, as well as cloudflare tunnels, same behaviour. I followed the official guides on how to set up npm (also commented the lines that are may cause problems with webOS). I tried opening a port and accessing jf from WANIP:port and this problem does not occur. I'm attaching ffmpeg log and the errors I get with cloudflare tunnels. cloudflare tunnels error.txt (Size: 949 bytes / Downloads: 17) log.txt (Size: 60.3 KB / Downloads: 20) Any ideas? Thank you, Andrea RE: DirectPlayError when behind reverse proxy webOS - TheDreadPirate - 2024-10-18 In NPM, can you remove all of the "add_header" advanced options? These. Code: # Security / XSS Mitigation Headers RE: DirectPlayError when behind reverse proxy webOS - andreafontana - 2024-10-18 (2024-10-18, 07:19 PM)TheDreadPirate Wrote: In NPM, can you remove all of the "add_header" advanced options? I tried already, but didn't solve the issue RE: DirectPlayError when behind reverse proxy webOS - TheDreadPirate - 2024-10-18 Are you using https? If so, are you using legit certs or self-signed certs? RE: DirectPlayError when behind reverse proxy webOS - andreafontana - 2024-10-18 Yes, I'm using custom certificates generated through cloudflare RE: DirectPlayError when behind reverse proxy webOS - andreafontana - 2024-10-18 Update: I also tried setting up Caddy, with https ans got the same result, so I don't think it's due to the reverse proxy. RE: DirectPlayError when behind reverse proxy webOS - TheDreadPirate - 2024-10-18 When you're using caddy or nginx proxy manager, is your Cloudflare setup for DNS only or is it proxied? RE: DirectPlayError when behind reverse proxy webOS - andreafontana - 2024-10-19 proxied RE: DirectPlayError when behind reverse proxy webOS - TheDreadPirate - 2024-10-19 I'm pretty sure that CF's default proxy setup has some XSS/CSP going on that may be preventing your WebOS client from connecting. In the same way we've documented with Nginx and Apache. Regardless, using CF's proxy for video streaming is against their TOS. I recommend switching to DNS only since you're already using https. RE: DirectPlayError when behind reverse proxy webOS - andreafontana - 2024-10-20 Yes that's it. I also had to generate certificates with let's encrypt. Thank you for your help |