• 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 Automatic server discovery busted over https

     
    • 0 Vote(s) - 0 Average

    Automatic server discovery busted over https

    n8jadams
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #1
    2023-11-10, 11:19 PM (This post was last modified: 2023-11-11, 05:18 AM by n8jadams. Edited 2 times in total.)
    I've got an Unraid machine with Portainer, trying to get my Jellyfin server to work.

    I've got the following docker-compose.yml

    Code:
    version: '3'

    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin_official
        user: 99:100
        group_add:
          - "18" # output from `getent group video | cut -d: -f3` command, which ls -lart /dev/dri on Unraid gave for the devices
        environment:
          - PUID=99
          - PGID=100
          - UMASK=000
          - TZ=America/Denver
          # Optional - alternative address used for autodiscovery
          - JELLYFIN_PublishedServerUrl=https://jellyfin.MYDOMAIN
        network_mode: 'host'
        volumes:
          - /mnt/user/cloud-storage/apps/Jellyfin/media:/media # Media
          - /mnt/user/cloud-storage/apps/Jellyfin/appdata/config:/config # Jellyfin files
          - /mnt/user/cloud-storage/apps/Jellyfin/appdata/cache:/cache # Jellyfin cache
        devices:
        - /dev/dri:/dev/dri
        ports:
          - 8096:8096
        restart: unless-stopped
        # Optional - may be necessary for docker healthcheck to pass if running in host network mode
        extra_hosts:
          - "host.docker.internal:host-gateway"

    I am using a Cloudflare zero trust tunnel to expose my internal 8096 port and handling SSL.

    Strangely enough, when in my browser I visit my lan ip for jellyfin, http://MYLOCALIP:8096/ I correctly get redirected to the setup Wizard. But when I visit https://jellyfin.MYDOMAIN I see this in the console:

    GET https://jellyfin.MYDOMAIN/System/Info/Public net::ERR_TOO_MANY_REDIRECTS

    It looks like Jellyfin spams the /System/Info/Public url path, gets a bunch of 301 redirects, and then finally it just gives up and gives me that "too many redirects" message.

    On the UI I see the "Select Server -  No servers have been found using the automatic server discovery." message.

    EDIT: After going through the setup wizard, now I see the "Connection Failure -- We're unable to connect to the selected server right now. Please ensure it is running and try again." message. I will note that in iOS Safari it seems to work fine. Maybe it's a desktop Chrome problem.

    EDIT 2: Nope, none of my content is playing on any client.

    What am I doing wrong?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Automatic server discovery busted over https - by n8jadams - 2023-11-10, 11:19 PM
    RE: Automatic server discovery busted over https - by mcarlton00 - 2023-11-11, 12:54 PM

    • 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