• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Weird Jellyfin/Streamyfin/Swiftfin + Reverse Proxy + Cloudflare Problem

     
    • 0 Vote(s) - 0 Average

    Weird Jellyfin/Streamyfin/Swiftfin + Reverse Proxy + Cloudflare Problem

    Weird Jellyfin/Streamyfin/Swiftfin + Reverse Proxy + Cloudflare Problem
    nothingveryobvious
    Offline

    Member

    Posts: 111
    Threads: 43
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #1
    2025-03-18, 05:40 PM
    Hi all, I'm having a weird problem with Jellyfin clients on my iPhone. For my server, I use it with SWAG reverse proxy and Cloudflare DDNS. Cloudflare is set to use DNS only, no proxy. The following apps are all on my iPhone, accessing my Jellyfin server at https://jellyfin.mydomain.com

    Jellyfin:
    - WiFi at Home: Can populate libraries and play content
    - WiFi Somewhere Else: Can populate libraries and play content
    - Cell Data: Can populate libraries and play content

    Streamyfin & Swiftfin:
    - WiFi at Home: Can populate libraries and play content
    - WiFi Somewhere Else: Can only populate libraries; cannot play content
    - Cell Data: Can only populate libraries; cannot play content

    Does anyone know what’s going on here? I can’t wrap my head around it. Is the Jellyfin app doing something differently? I’d greatly appreciate any advice. Thank you!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-03-18, 06:11 PM
    Can you replicate the problem then share your full Jellyfin log via privatebin?

    And can you share your SWAG config? Censor the domain name.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    nothingveryobvious
    Offline

    Member

    Posts: 111
    Threads: 43
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #3
    2025-03-21, 05:53 PM
    Hi @TheDreadPirate thanks for replying.

    Here's the Jellyfin log. At the very end, I had my phone use cell data to access the server on Streamyfin. The libraries populated, but I can't stream anything. https://p.darklab.sh/?7cb67134bd0cd2b0#5...CBLmvrxfdJ

    Here's my SWAG config. SWAG is in Docker, but Jellyfin is the MacOS app, which is why the "proxy_pass" part directly references the address of Jellyfin.


    ## Version 2023/05/31
    # make sure that your jellyfin container is named jellyfin
    # make sure that your dns has a cname set for jellyfin
    # if jellyfin is running in bridge mode and the container is named "jellyfin", the below config should work as is
    # if not, replace the line "set $upstream_app jellyfin;" with "set $upstream_app <containername>;"
    # or "set $upstream_app <HOSTIP>;" for host mode, HOSTIP being the IP address of jellyfin
    # in jellyfin settings, under "Advanced/Networking" add subdomain.mydomain.tld as a known proxy

    server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name jellyfin.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    location / {
    include /config/nginx/proxy.conf;
    include /config/nginx/resolver.conf;
    set $upstream_app jellyfin;
    set $upstream_port 8096;
    set $upstream_proto http;
    proxy_pass http://10.0.0.94:8096;

    proxy_set_header Range $http_range;
    proxy_set_header If-Range $http_if_range;
    }

    location ~ (/jellyfin)?/socket {
    include /config/nginx/proxy.conf;
    include /config/nginx/resolver.conf;
    set $upstream_app jellyfin;
    set $upstream_port 8096;
    set $upstream_proto http;
    proxy_pass http://10.0.0.94:8096;

    }
    }
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-03-21, 07:23 PM (This post was last modified: 2025-03-21, 07:24 PM by TheDreadPirate.)
    Can you run this command in a terminal window?

    Code:
    curl -vvv https://jellyfin.domain.td

    Obviously replace the url with your domain. Does it say whether you are using HTTP2 or HTTP1.1? If it is HTTP2, can you check if ssl.conf, proxy.conf, or resolver.conf include a parameter to downgrade the connection to HTTP1.1? /socket needs to be HTTP1.1.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode