• 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 General Questions Reverse-proxy working on web/windows app but not working on android app

     
    • 0 Vote(s) - 0 Average

    Reverse-proxy working on web/windows app but not working on android app

    Javier Fernandez Romeo
    Offline

    Junior Member

    Posts: 6
    Threads: 3
    Joined: 2023 Oct
    Reputation: 0
    #1
    2023-10-07, 09:42 AM
    Hello all.

    I have a NPM docker as reverse proxy for my web services exposed to internet, configured with SSL via a Lets Encrypt certificate with a wildcard for my domain (*.domain.com).

    Everything works great if I try to access securely Jellyfin via a web browser or the windows app (https://jellyfin.domain.com:443), but I cannot access on android based app which is precisely the one I am interested in (androidTV user).

    I have read that could be something related to Jellyfin rejecting the self created SSL certificate via Lets Encrypt, but I have tried to configure the access on my proxy via http (no SSL) and it is inaccessible aswell (http://jellyfin.domain.com:80), so I am pretty lost about why on the android app it is not working.

    In the offical support web it states that Jellyfin is prepared to be run behind a reverse proxy (https://jellyfin.org/docs/general/networking/).

    Anyone has any hint?

    Thanks in advance.
    xaque
    Offline

    Member

    Posts: 76
    Threads: 1
    Joined: 2023 Jun
    Reputation: 3
    Country:United States
    #2
    2023-10-07, 02:35 PM
    I'm not sure if this is going to be any help or anything, but have you tried just the domain name without the ports? I have no issue using the android client using a reverse proxy (caddy), but I don't enter in any ports, just the domain url.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2023-10-07, 05:32 PM
    I'm still trying to figure out subdomains myself, can't help there.

    But I just wanted to add that LetsEncrypt produces legit certs with a legit certificate authority. So unless your Android TV is waaaaaay out of date, it should view your cert as legit.
    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]
    Javier Fernandez Romeo
    Offline

    Junior Member

    Posts: 6
    Threads: 3
    Joined: 2023 Oct
    Reputation: 0
    #4
    2023-10-08, 07:42 AM
    (2023-10-07, 02:35 PM)xaque Wrote: I'm not sure if this is going to be any help or anything, but have you tried just the domain name without the ports? I have no issue using the android client using a reverse proxy (caddy), but I don't enter in any ports, just the domain url.

    Yeah. For simplicity I did not specify that I am not using a subdomain (jellyfin.domain.org) but a sub-subdomain (jellyfin.domain.duckdns.org), and I am not using the default ports (80/http and 443/https) but custom ones (8080/http and 4443/https) so I have to enter the ports where the proxy is listening.

    So my Jellyfin server is discoverable on:
    • http://jellyfin.domain.ducksdns.org:8080
    • https://jellyfin.domain.duckdns.org:4443

    On a web browser and in the windows app it works like a charm, but not in the android app. I am currently direct playing on my chrome tab on my androidTV until I figure out why it does not work on the android app.

    I have web sockets enabled on nginx-proxy-manager in case it helps.

    Thank you.

    (2023-10-07, 05:32 PM)TheDreadPirate Wrote: I'm still trying to figure out subdomains myself, can't help there.

    But I just wanted to add that LetsEncrypt produces legit certs with a legit certificate authority.  So unless your Android TV is waaaaaay out of date, it should view your cert as legit.

    It's an Nvidia Shield Pro 2019 on latest firmware so I guess it is updated.

    Thank you.
    hsj
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Belgium
    #5
    2024-08-18, 10:37 AM (This post was last modified: 2024-08-18, 01:05 PM by hsj. Edited 1 time in total.)
    Is your Android device still connected to the same wifi or lan where the NAS is connected to?

    If so, try and connect to a server outside of the NAS network.

    I just did a test and couldn't connect to my https://'domain name':8090 (DNS reverse proxy) while still on wifi. Only to my https://'nas ip adress':8096 (local jellyfin access on Nas)
    Turned off the wifi and went to mobile data and it was the other way around.

    The reverse proxy only works outside the network I guess.
    goerdi
    Offline

    Member

    Posts: 109
    Threads: 33
    Joined: 2024 Aug
    Reputation: 1
    Country:Germany
    #6
    2024-08-20, 05:44 AM
    Hi !

    Why are you using the custom ports ? The sense of a reverse proxy is to use the "Standard" ones.
    I'm using jellyfin through apache reverse proxy with a regular subdomain of my domain (as a vhost) so i would need jellyfin only running on localhost interface because apache is running on the same machine....

    Ciao Gerd
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-08-20, 03:24 PM (This post was last modified: 2024-08-20, 03:25 PM by TheDreadPirate. Edited 1 time in total.)
    (2024-08-20, 05:44 AM)goerdi Wrote: Hi !

    Why are you using the custom ports ? The sense of a reverse proxy is to use the "Standard" ones.
    I'm using jellyfin through apache reverse proxy with a regular subdomain of my domain (as a vhost) so i would need jellyfin only running on localhost interface because apache is running on the same machine....

    Ciao Gerd

    I use custom ports to obfuscate my server from scanning services like Shodan and from low effort script kiddies.  My router supports rsyslog so I send the router logs to my server.  On my server I setup fail2ban to read the router logs, which includes when the router blocks unsolicited accesses on ports that aren't open.  If one of these scanning services or script kiddies happens to hit my actual Jellyfin port it will have already been blocked on the server's firewall by fail2ban.
    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