• 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 Baseurl not working on Android clients ?

     
    • 0 Vote(s) - 0 Average

    Baseurl not working on Android clients ?

    etiennec78
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:France
    #1
    2024-02-22, 04:19 PM (This post was last modified: 2024-02-22, 05:43 PM by etiennec78. Edited 1 time in total.)
    Hello !
    I recently decided to place Jellyfin behind an nginx reverse proxy, with everything running in docker.
    Since I wanted to use a subdirectory, I added a baseurl in my config.
    It works great on any browser or desktop app.
    However, each android client can't connect to the server.
    I checked on the networking page, and nothing tells that baseurl breaks Android clients.

    So I displayed nginx logs but nothing happens when I try to connect.
    Does anybody know what could cause this issue ?
    Thanks for the help !
    Go to solution
    etiennec78
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:France
    #2
    2024-02-22, 04:26 PM
    Weird... I just tried disabling SSL and Android clients can now connect easily.
    Could this be an issue with my certificates not being accepted at all by Android ?
    I am currently using Let's encrypt to generate them.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-02-22, 05:05 PM
    What kind of Android devices and which version of Android are they running? Did you configure Nginx to only offer certain versions of TLS?
    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]
    etiennec78
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:France
    #4
    2024-02-22, 05:22 PM (This post was last modified: 2024-02-22, 05:43 PM by etiennec78. Edited 1 time in total. Edit Reason: problem persisting )
    Hello, I started a new Qualyss SSL server test, and I got the following error : "This server's certificate chain is incomplete"
    So I read my nginx configuration again and noticed that I was using chain.pem for ssl_trusted_certificate, instead of fullchain.pem.

    I applied the fix and now Android devices can connect too !
    1
    etiennec78
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:France
    #5
    2024-02-22, 05:50 PM
    Nevermind, I tested this configuration on another device and the connection failed.
    I thought it was working on my phone but I had previously entered the HTTP adress to check if it worked without SSL.
    When I logged out and logged back in with SSL activated and HTTPS entered in the adress, it worked perfectly.

    However, if I connect a new device through HTTPS, it doesn't work. I need to use HTTP the first time, then change it to HTTPS after it connected successfully.

    @TheDreadPirate to answer your question, I'm trying it on my phone running Android 12 and my TV running Android 7.1.1.
    In my nginx config, I accept TLSv1 TLSv1.1 TLSv1.2 TLSv1.3
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-02-22, 07:36 PM
    Can you share your nginx config on sourcebin? Censor the domain name in the server_name and cert path.
    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]
    etiennec78
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:France
    #7
    2024-02-23, 10:34 AM
    It turned out I had put cert.pem as my ssl_certificate, but I had to use fullchain.pem instead (which I had put in ssl_trusted_certificate)
    I checked on multiple Android devices and they all work now !
    « 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