• 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 SOLVED: Android TV fails to connect to server (SSL handshake failure)

     
    • 0 Vote(s) - 0 Average

    SOLVED: Android TV fails to connect to server (SSL handshake failure)

    Android TV fails to connect to server
    OmegaSupreme3
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Jul
    Reputation: 0
    Country:Netherlands
    #4
    2025-07-26, 10:22 PM (This post was last modified: 2025-07-26, 10:29 PM by OmegaSupreme3. Edited 4 times in total.)
    Coming back to this issue. So for future reference, I will post my solution. The problem didn't have anything to do with the Jellyfin app or server.

    As usual, problems are hardly every caused by a single factor ...
    • It turned out that, unknown to me, my room mate had recently renewed the SSL certificate and updated it on the reverse proxy
    • Sectigo updated and migrated their root certificates last april 2025 in all known major root stores (https://www.sectigo.com/knowledge-base/d...0000003RoT)
    • However, it appears the certificate store of Android 14 doesn't seem to be entirely up-to-date yet (no problems on Android 16!). So to circumvent this issue, the root certificate had to be added on the reverse proxy.

    How did I found out?
    Checking debug logs for both the reverse proxy and Jellyfin server did not give any indication. So I eventually took the sources of Jellyfin Android TV, had to change some code (min-server-version, app-version) to actually make it work with my Jellyfin server and fired up the debugger in Android Studio. After testing some scenarios I found the cause of the connection problems in the stacktrace (shortened for readability):  Trust anchor for certification path not found.

    Code:
    org.jellyf...HttpClient org.jellyfin.androidtv.debug        E  Unknown SSL error occurred
    org.jellyf...HttpClient org.jellyfin.androidtv.debug        E  javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
    org.jellyf...HttpClient org.jellyfin.androidtv.debug        E  at com.android.org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:356)
    org.jellyf...HttpClient org.jellyfin.androidtv.debug        E  at com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocket.java:218)
    org.jellyf...HttpClient org.jellyfin.androidtv.debug        E  Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

    Would be nice if the Jellyfin app could show a stacktrace of the last known issue (e.g. located behind a "Show Error" button).
    1
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Android TV fails to connect to server (SSL handshake failure) - by OmegaSupreme3 - 2025-07-23, 06:27 AM
    RE: Fails to connect to server (SSL handshake failure) - by bitmap - 2025-07-23, 05:50 PM
    RE: Fails to connect to server (SSL handshake failure) - by OmegaSupreme3 - 2025-07-23, 06:08 PM
    RE: Android TV fails to connect to server (SSL handshake failure) - by OmegaSupreme3 - 2025-07-26, 10:22 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