• 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 Jellyfin foz Android TV - Unable to connect

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Jellyfin foz Android TV - Unable to connect

    Can't connect via Jellyfin for Android TV while other methods work fine
    shadow82
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2025 Jan
    Reputation: 0
    Country:Poland
    #1
    2025-02-17, 03:50 PM
    Hi!

    My friend, who has user account for my Jellyfin server can't connect when using Chromecast client.
    The client is unable to connect despite correct url. 

    [Image: chromecast-client-unable-to-connect-v0-8...b4c1e843af]

    Connection from Android phone client works well for him. Also screen cast from phone to TV works well, but not jellyfin-androidtv.
    From my perspective: regular Android, WebOS client, Web App on Win11 works fine - from LAN and from public Internet

    Client unable to connect on Chromecast: jellyfin-androidtv 0.18.4
    Jellyfin server 10.10.5 (running on Docker on Linux)

    [url=https://preview.redd.it/chromecast-client-unable-to-connect-v0-8s5jbkd7zpje1.jpg?width=1132&format=pjpg&auto=webp&s=624e5762948d8892511738c918291ab4c1e843af][/url]
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,089
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #2
    2025-02-17, 04:21 PM
    Upgrade to 10.10.6
    shadow82
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2025 Jan
    Reputation: 0
    Country:Poland
    #3
    2025-02-17, 11:10 PM (This post was last modified: 2025-02-18, 09:04 AM by shadow82. Edited 2 times in total.)
    Did it
    sudo docker compose down
    sudo docker compose pull
    sudo docker compose up -d

    After that my versions are:
    Server version: 10.10.6
    Network version: 10.10.6
    Compilation version: 10.10.6

    But hte behaviour is the same.
    • Windows Web app client works fine
    • Android client works fine
    • WebOS client works fine
    • Chromecast client is unable to connect to the server.

    It seems it tries to connect also via ports 8096 and 8920 which are not allowed on my FW.
    It works like this:
    1. Client request to https://tv.acme.com:443 is terminated on FW
    2. FW proxy with new request to http://jellyfin.home:8082
    3. Request lands on Docker container and is port forwarded to port 8096

    Below my docker-compose.yml file

    Code:
    Services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=Europe/Warsaw
        volumes:
          - /home/shadow82/docker/jellyfin/config:/config
          - /mnt/Storage/Movies and Shows:/media
        ports:
          - 8082:8096
        restart: unless-stopped
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-02-18, 02:14 PM
    You should configure Jellyfin to directly use port 8082.

    Also, where does your reverse proxy reside?
    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]
    shadow82
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2025 Jan
    Reputation: 0
    Country:Poland
    #5
    2025-02-19, 10:56 PM
    ok. changed the port redirection in docker-compose.yml file to: - 8082:8082 and in jellyfin config.
    No change after this one.

    I have a drawing here: https://imgur.com/qbDZkZo
    It shows which client flows work fine and which doesn't
    FW listens only on port 443. The rest of types of clients (Android app, Win11 web browser, LG WebOS client) work fine using the same way

    Here is wireshark dump when connecting to tv.acme.com (and it doesn't work) https://imgur.com/bT2GZcE
    Here is wireshark dump when connecting to demo.jellyfin.org (it it does work) https://imgur.com/zhQns8g
    Here is wireshark dump when connecting from my Win11 laptop webbrowser to tv.acme.com (same Wi-Fi) https://imgur.com/hHQFOcV
    Here is wireshark dmp with the same laptop connecting to demo.jellyfin.org https://imgur.com/45BgbqE

    I think the only bad thing here are 50% of retransmissions when connecting from Chromecast 4K, but if:
    - I'm getting them only when using Chromecast 4K
    - There are not retransmissions when connecting from my laptop
    - Other clients works fine both via home LAN and Internet except Jellyfin for Android TV

    Then something must be wrong with that client or Chromecast 4K is poor network endpoint...
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2025-02-20, 04:23 PM
    I have two Chromecast 4Ks. Neither have this issue. So it is either a faulty WiFi antenna, just a faulty device in general, or the signal is weak where the device is located.
    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]
    shadow82
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2025 Jan
    Reputation: 0
    Country:Poland
    #7
    2025-02-20, 05:57 PM
    (2025-02-20, 04:23 PM)TheDreadPirate Wrote: I have two Chromecast 4Ks.  Neither have this issue.  So it is either a faulty WiFi antenna, just a faulty device in general, or the signal is weak where the device is located.

    Well - antenna is like 50cm from Chromecast.
    The same Chromecast plays videos from the same source via SMB and VLC player with no issues.
    Truth is the client is being checked by FW and if it connects anyhow wrong, FW will drop the connection.

    3 other type of clients work well using the same connection
    shadow82
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2025 Jan
    Reputation: 0
    Country:Poland
    #8
    2025-02-21, 11:51 AM (This post was last modified: 2025-02-21, 11:52 AM by shadow82.)
    How do you keep your service secure against dirty Internet?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2025-02-21, 02:57 PM
    I used alternate ports for external connections (significantly reduces connection attempts) and fail2ban for the rest.

    I disable root login via ssh, I disable password logins via ssh (PKI only), and I lock down connections to TLS1.2 and 1.3 and only with secure ciphers.
    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]
    shadow82
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2025 Jan
    Reputation: 0
    Country:Poland
    #10
    2025-02-21, 06:47 PM (This post was last modified: 2025-02-21, 06:49 PM by shadow82. Edited 1 time in total.)
    (2025-02-21, 02:57 PM)TheDreadPirate Wrote: I used alternate ports for external connections (significantly reduces connection attempts) and fail2ban for the rest.

    I disable root login via ssh, I disable password logins via ssh (PKI only), and I lock down connections to TLS1.2 and 1.3 and only with secure ciphers.

    Hmm... So there is no protection against robots scanning the net and finding software vulnerabilities...
    I as for now exposed the service with port 443 for HTTPS and 8096 for HTTP and Jellyfin for Android TV works fine, which means it cannot set TLS session correctly.
    I will go with it fo FW and Wireshark people and see what's going wrong there and why FW drops these requests, while other clients work fine.
    Pages (2): 1 2 Next »

    « 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