• 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 Networking & Access Can't access Jellyfin over my https reverse proxy domain on anything other than PC

     
    • 0 Vote(s) - 0 Average

    Can't access Jellyfin over my https reverse proxy domain on anything other than PC

    GOffrier
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:France
    #1
    2023-08-16, 07:10 PM
    Hello, i'd like some help with that issue that's been bothering me, i was never able to use jellyfin over my SWAG reverse proxy while everything else works, i'm in docker and am using the defaults for both SWAG and Jellyfin, got nothing in logs and it works fine while accessing from my public IP. Below is my docker composes and the Jellyfin subdomain config:

    Code:
    version: '3.5'
    services:
      jellyfin:
        image: jellyfin/jellyfin
        container_name: jellyfin
        user: 1000:1000
        network_mode: 'host'
        group_add:
          - "106"
        volumes:
          - /mnt/tank/Share/Apps/Jellyfin/config:/config
          - /home/Jellyfin/cache:/cache
          - /mnt/tank/Share/Plex/Films:/films:ro
          - /mnt/tank/Share/Plex/Séries:/series:ro
          - /mnt/tank/Share/Plex/4K/Films:/films4k:ro
          - /mnt/tank/Share/Plex/4K/Séries:/series4k:ro
          - /mnt/Animu/Organized:/organized:ro
          - /mnt/Animu/Animus:/animu
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128
        restart: 'unless-stopped'
        # Optional - alternative address used for autodiscovery
        environment:
          - JELLYFIN_PublishedServerUrl=https://jellyfin.chungusnas.duckdns.org
        # Optional - may be necessary for docker healthcheck to pass if running in host network mode

    Code:
    version: "2.1"
    services:
      swag:
        image: lscr.io/linuxserver/swag:latest
        container_name: swag
        cap_add:
          - NET_ADMIN
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=Europe/Paris
          - URL=chungusnas.duckdns.org
          - VALIDATION=http
          - SUBDOMAINS=www, #optional
          - CERTPROVIDER= #optional
          - DNSPLUGIN=duckdns #optional
          - PROPAGATION= #optional
          - EMAIL= #optional
          - ONLY_SUBDOMAINS=false #optional
          - EXTRA_DOMAINS= #optional
          - STAGING=false #optional
        volumes:
          - /mnt/tank/Share/Apps/swag/config:/config
        ports:
          - 443:443
          - 80:80 #optional
        restart: unless-stopped

    Code:
    [color=#d4d4d4][font=Consolas, 'Courier New', monospace][color=#6a9955]## Version 2021/05/18[/color]
    [color=#6a9955]# make sure that your dns has a cname set for jellyfin[/color]
    [color=#6a9955]# if jellyfin is running in bridge mode and the container is named "jellyfin", the below config should work as is[/color]
    [color=#6a9955]# if not, replace the line "set $upstream_app jellyfin;" with "set $upstream_app <containername>;"[/color]
    [color=#6a9955]# or "set $upstream_app <HOSTIP>;" for host mode, HOSTIP being the IP address of jellyfin[/color]
    [color=#6a9955]# in jellyfin settings, under "Advanced/Networking" change the public https port to 443, leave the local ports as is,[/color]
    [color=#6a9955]# and set the "Secure connection mode" to "Handled by reverse proxy"[/color]
    server {
        listen 443 ssl[color=#6a9955];[/color]
        listen [::]:443 ssl[color=#6a9955];[/color]
        server_name jellyfin.*[color=#6a9955];[/color]
        include /config/nginx/ssl.conf[color=#6a9955];[/color]
        client_max_body_size 0[color=#6a9955];[/color]
        location / {
            include /config/nginx/proxy.conf[color=#6a9955];[/color]
            include /config/nginx/resolver.conf[color=#6a9955];[/color]
            set $upstream_app 192.168.1.40[color=#6a9955];[/color]
            set $upstream_port 8096[color=#6a9955];[/color]
            set $upstream_proto http[color=#6a9955];[/color]
            proxy_pass $upstream_proto://$upstream_app:$upstream_port[color=#6a9955];[/color]
            proxy_set_header Range $http_range[color=#6a9955];[/color]
            proxy_set_header If-Range $http_if_range[color=#6a9955];[/color]
        }
        location ~ (/jellyfin)?/socket/ {
            include /config/nginx/proxy.conf[color=#6a9955];[/color]
            include /config/nginx/resolver.conf[color=#6a9955];[/color]
            set $upstream_app 192.168.1.40[color=#6a9955];[/color]
            set $upstream_port 8096[color=#6a9955];[/color]
            set $upstream_proto http[color=#6a9955];[/color]
            proxy_pass $upstream_proto://$upstream_app:$upstream_port[color=#6a9955];[/color]
        }
    }
    [/font][/color]
    GOffrier
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:France
    #2
    2023-08-16, 07:44 PM
    here are server logs if needed https://gist.github.com/goffrier/50fb354...7fcfe62734
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2023-08-16, 08:23 PM
    Try turning off IPV6 in the Jellyfin settings.
    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]
    GOffrier
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:France
    #4
    2023-08-16, 08:35 PM (This post was last modified: 2023-08-16, 08:35 PM by GOffrier. Edited 1 time in total.)
    alright i tried it, still does not work, nothing in the logs, android tv discovers the server with the correct domain name automatically but when clicking upon it it times out saying it could not find the server
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 381
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #5
    2023-08-16, 08:38 PM
    Hey @GOffrier

    Are you trying to use a reverse proxy & docker and access the server via DLNA?
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    GOffrier
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:France
    #6
    2023-08-16, 08:58 PM
    no i'm trying to do that via the apps on android and android tv
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 381
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #7
    2023-08-16, 09:01 PM
    Is your server and your AndriodTV connected both via lan or Wifi?
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    GOffrier
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:France
    #8
    2023-08-16, 09:12 PM
    both lan, my phone is on wifi, it works when accessing via the lan ip or the wan ip
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 381
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #9
    2023-08-16, 09:18 PM
    OK to clarify: Does access never work over the reverse proxy or only from certain devices?
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    GOffrier
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:France
    #10
    2023-08-16, 09:23 PM (This post was last modified: 2023-08-16, 09:24 PM by GOffrier.)
    it works on PC and on the web, not on anything else though, works on findroid but very laggy, takes time to load metadata and launch videos
    « 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