• 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 SOLVED: Apps cant connect to Jellyfin from externally

     
    • 0 Vote(s) - 0 Average

    SOLVED: Apps cant connect to Jellyfin from externally

    Apps (android & firetv) cant connect to Jellyfin from externally via TLD through NPM
    emperor_bln
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #1
    2024-11-07, 07:33 AM (This post was last modified: 2024-11-07, 08:57 AM by emperor_bln. Edited 1 time in total.)
    Hello,
    I have the problem that it is not possible to access my instance with TLD domain from outside via Android & FireTV App, but it is possible in the web browser.

    The domain jelly.mydomain.de points via CNAME entry to my DynDNS address myID.myfritz.net, which is automatically kept up to date by the router (Fritzbox 6690).
    The ports 80/443 are forwarded in the router to my instance of Nginx Proxy Manager.
    Jellyfin and Nginx Proxy Manager are each operated in their own Proxmox LXC container, without a firewall (not even Proxmox's own)

    Access works:
    from LAN everything (10.10.x.x) both apps and web browser
    from LAN on Android smartphone to jelly.mydomain.de (but through my own local technitium DNS Server)
    from WAN on all devices via web browser jelly.mydomain.de
    from WAN to jelly.mydomain.de via LG TV WebOS app


    Access does not work:
    from WAN (mobile network) on Android smartphone via Jellyfin app to jelly.mydomain.de
    from WAN (other household with DSL connection) on Amazon FireTV Stick and Jellyfin App on jelly.mydomain.de
    FireTV App https://www.amazon.de/-/en/dp/B07TX7Z725
    Android App https://play.google.com/store/apps/detai...fin.mobile
    These two only work if I use my DynDNS myID.myfritz.net as the server address and open port 8096 in the router to my Jellyfin instance, which of course I don't want to do, everything should be managed via Nginx Proxy Manager.

    I have of course played around with various settings and then restarted the services or even the entire container, but without any effect on the problem.

    Nginx Proxy Manager:
    Force SSL enabled or disabled => no effect
    HSTS Enabled activated or deactivated => no effect

    Jellyfin Adminpanel:
    Enable IPv6 enabled or disabled => no effect
    Bind to local network address => leave empty or enter value, no effect
    Published server URIs => leave empty or enter value, no effect

    I also replaced the Chain.pem certificate with the Fullchain.pem certificate as a test, but this also had no effect.

    Screenshots: https://imgur.com/a/Y69s8xL
    Jellyfin Log: https://pastebin.com/QfdDKi3E
    Android Logcat Jellyfin: https://pastebin.com/F3c6KCnc

    TLDR 2024-11-06 14:06:53.722 30747 30747 org.jellyfin.mobile I ConnectionHelper: No valid servers found, invalid candidates were: https://jelly.MYDOMAIN.de/Failure(org.je...tException: HTTP request timed out),

    Since the LG WebOS app does not cause any problems externally, I suspect that the Android and FireTV app use a different method to resolve the domain and search for an instance.
    help would be appreciated


    ###################################################
    Deutsche Version des Posts, falls jemand mitliest aber Probleme mit englisch hat
    ###################################################
    Guten Tag,
    ich habe das Problem, dass von Extern kein Zugriff per Android & FireTV App auf meine Instanz mit TLD Domain möglich ist, im Webbrowser allerdings schon.

    Die Domain jelly.mydomain.de weist per CNAME Eintrag auf meine DynDNS Adresse myID.myfritz.net, diese wird von dem Router (Fritzbox 6690) automatisch aktuell gehalten.
    Die Ports 80/443 sind im Router weitergeleitet auf meine Instanz von Nginx Proxy Manager.
    Betrieben werden Jellyfin und Nginx Proxy Manager jeweils in einem eigenen Proxmox LXC Container, ohne Firewall (auch nicht die Proxmox eigene)

    Zugriff funktioniert:
    Alles lokal im LAN (10.10.x.x) sowohl Apps als auch Webbrowser
    an allen Geräten per Webbrowser (LAN 10.10.x.x & WAN jelly.mydomain.de)
    von WAN auf jelly.mydomain.de per LG TV WebOS App
    von LAN am Android Smartphone auf jelly.mydomain.de

    Zugriff funktioniert nicht:
    von WAN (mobiles Netz) am Android Smartphone per Jellyfin App auf jelly.mydomain.de
    von WAN (anderer Haushalt mit DSL Anschluss) am Amazon FireTV Stick und Jellyfin App auf jelly.mydomain.de
    FireTV App https://www.amazon.de/-/en/dp/B07TX7Z725
    Android App https://play.google.com/store/apps/detai...fin.mobile

    Diese beiden funktionieren nur, wenn ich als Serveradresse myID.myfritz.net verwende und den Port 8096 im Router auf meine Jellyfin Instanz freigebe, was ich aber natürlich nicht machen möchte, es soll alles über Nginx Proxy Manager verwaltet werden.

    Ich habe natürlich testweise an verschiedenen Einstellungen herumgespielt und danach die Dienste oder sogar den gesamten Container neu gestartet, jedoch ohne jegliche Auswirkung auf das Problem.
    Nginx Proxy Manager:
    Force SSL aktiviert oder deaktiviert => keine Auswirkung
    HSTS Enabled aktiviert oder deaktiviert => keine Auswirkung

    Jellyfin Adminpanel:
    Enable IPv6 aktiviert oder deaktiviert => keine Auswirkung
    Bind to local network address => leer lassen oder Wert eintragen, keine Auswirkung
    Published Server URIs => leer lassen oder Wert eintragen, keine Auswirkung

    Ich habe auch testweise das Chain.pem Zertifikat durch das Fullchain.pem ersetzt, aber auch das hatte keine Auswirkung.

    Screenshots: https://imgur.com/a/Y69s8xL
    Jellyfin Log: https://pastebin.com/QfdDKi3E
    Android Logcat Jellyfin: https://pastebin.com/F3c6KCnc
    TLDR 2024-11-06 14:06:53.722 30747 30747 org.jellyfin.mobile I ConnectionHelper: No valid servers found, invalid candidates were: https://jelly.MYDOMAIN.de/Failure(org.je...tException: HTTP request timed out),

    Da die LG WebOS App von extern keine Probleme macht, vermute ich, dass die Android und FireTV App eine andere Methode nutzen, um die Domain aufzulösen und nach einer Instanz zu suchen.
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-07, 02:16 PM (This post was last modified: 2024-11-07, 02:17 PM by TheDreadPirate.)
    Are the Android devices using a private DNS?

    Also, I'm assuming you are using Nginx Proxy Manager to get legit certs from Let's Encrypt. Do you know which certificate authority your server is using?

    And what version of Android are your devices running?
    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]
    emperor_bln
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #3
    2024-11-07, 05:22 PM
    Private DNS is disabled, it uses 62.109.121.53 which belongs to my cellular provider o2.
    SSL Labs test is Provided in the link to the Screenshots, its lets encrypt e6.
    i use a s22 ultra with android 14.
    the also via dsl affected firetv stick is not nearby, so I cant provide infos for it.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-11-07, 05:51 PM
    The known proxies setting is for IPs or hostnames. It should contain the IPs of your reverse proxy if it is running on a different host/IP than Jellyfin. Looks like you already have the right IP for the Nginx container. You can remove the domain name. It doesn't do anything.

    One thing I just noticed is that your domain is a CNAME for your DDNS address and I'm wondering if Android doesn't like that. I know you said that it works in the browser, but apps and browsers behave differently, I think.

    Is there any possibility to have the jelly.domain.tld point directly to your public IP, at least temporarily, for testing?
    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]
    emperor_bln
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #5
    2024-11-08, 07:53 AM (This post was last modified: 2024-11-08, 08:35 AM by emperor_bln. Edited 2 times in total.)
    Seems like you are right.
    I created a new subdomain with an A Record directly pointing to my external IP, added it in Nginx Proxy Manager as new proxy host with new lets encrypt SSL certificate, removed the port forwarding for Port 8096 in my Router and tested it in the Jellyfin android app while on cellular and it works.
    The Problem of course is, I would have to Update my domain every time my IP changes Confused-face
    isnt this something, that could be fixed in the app?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-11-08, 01:10 PM (This post was last modified: 2024-11-08, 01:11 PM by TheDreadPirate.)
    If you know how to use docker, there is an app called "Cloudflare DDNS" that will automatically update your IP in Cloudflare.

    https://github.com/favonia/cloudflare-ddns

    I use this container on my server to update my Cloudflare domain and it has worked flawlessly. Works with both A records for IPv4 and AAAA records for IPv6.
    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]
    emperor_bln
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #7
    2024-11-08, 01:44 PM
    Thanks, but i deeply dislike docker ^^
    I now went another route
    I registered (completely free) at https://desec.io/
    pointed my domain nameservers at ns1.desec.io & ns2.desec.org
    created a simple dns.sh script that does a "curl --user jelly.mydomain.de:mysecrettoken https://update.dedyn.io/" for every subdomain
    went into "crontab -e" and added it as "0 * * * * /usr/bin/dns.sh"
    now I see nice clean A-Records and everything works

    hope this can help other people in the future with the same problem
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-11-08, 02:28 PM (This post was last modified: 2024-11-08, 02:28 PM by TheDreadPirate.)
    Cloudflare has an API, the same one that the CF DDNS container uses, to accomplish the same thing with a script.

    https://developers.cloudflare.com/api/#d...ns-records
    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]
    1
    emperor_bln
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #9
    2024-11-08, 03:37 PM
    Ah okay, thank you. I marked the thread as solved
    « 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