• 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: I can't access from LG TV with Caddy

     
    • 0 Vote(s) - 0 Average

    SOLVED: I can't access from LG TV with Caddy

    Drake97
    Offline

    Member

    Posts: 76
    Threads: 23
    Joined: 2023 Oct
    Reputation: 0
    Country:Chile
    #1
    2024-12-13, 07:15 PM
    Hello everyone,

    As the title says, I can't access my content server from any LG TV, at the moment of entering the URL it stays on black screen as if it was thinking infinitely.

    This happened since I followed a tutorial on how to activate the connection through a reverse proxy, in my case Caddy, and using duckdns as a dynamic dns server.
    I can login on all the usual platforms, only on LG I can't and I don't know if it's because of Caddy, Duckdns or some configuration I have which is blocking access.

    I checked the Jellyfin logs and there is nothing about it, it is as if it does not connect and I don't know what else I can do.

    Any help is welcome and if you need logs or screenshots, just ask me.

    Regards
    Jellyfin 10.10.7
    Ubuntu desktop 24.04.2 LTS
    Intel i5-7500
    16GB DDR4 2400Mhz
    OS-DRIVE: WDC SN720 256GB
    Storage (JF Library)
    1: x4 4TB Seagate IronWolf
    2: 6TB Seagate Ironwolf Pro
    3: 8TB HGST Dell Enterprise
    4: 2TB Seagate Barracuda
    5: 2TB WD RED
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-12-13, 07:27 PM
    From a linux command line, what is the output of this command?

    Code:
    curl -X HEAD -I https://jellyfin.domain.tld

    Replace the URL with your actual address. It should look something like this.

    Code:
    HTTP/2 302
    server: nginx/1.26.2
    date: Fri, 13 Dec 2024 19:26:11 GMT
    location: web/
    strict-transport-security: max-age=63072000
    x-xss-protection: 0
    x-content-type-options: nosniff
    last-modified: Friday, 13-Dec-2024 19:26:11 GMT
    cache-control: no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0
    permissions-policy: accelerometer=(), ambient-light-sensor=(), battery=(), bluetooth=(), camera=(), clipboard-read=(), display-capture=(), document-domain=(), encrypted-media=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), keyboard-map=(), local-fonts=(), magnetometer=(), microphone=(), payment=(), publickey-credentials-get=(), serial=(), sync-xhr=(), usb=(), xr-spatial-tracking=()
    origin-agent-cluster: ?1
    content-security-policy: default-src https: data: blob: ; img-src 'self' https://* ; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' https://www.gstatic.com https://www.youtube.com blob:; worker-src 'self' blob:; connect-src 'self'; object-src 'none'; frame-ancestors 'self'
    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]
    Drake97
    Offline

    Member

    Posts: 76
    Threads: 23
    Joined: 2023 Oct
    Reputation: 0
    Country:Chile
    #3
    2024-12-13, 07:42 PM (This post was last modified: 2024-12-13, 07:47 PM by Drake97. Edited 2 times in total.)
    (2024-12-13, 07:27 PM)TheDreadPirate Wrote: From a linux command line, what is the output of this command?

    Code:
    curl -X HEAD -I https://jellyfin.domain.tld

    Replace the URL with your actual address.  It should look something like this.

    Code:
    HTTP/2 302
    server: nginx/1.26.2
    date: Fri, 13 Dec 2024 19:26:11 GMT
    location: web/
    strict-transport-security: max-age=63072000
    x-xss-protection: 0
    x-content-type-options: nosniff
    last-modified: Friday, 13-Dec-2024 19:26:11 GMT
    cache-control: no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0
    permissions-policy: accelerometer=(), ambient-light-sensor=(), battery=(), bluetooth=(), camera=(), clipboard-read=(), display-capture=(), document-domain=(), encrypted-media=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), keyboard-map=(), local-fonts=(), magnetometer=(), microphone=(), payment=(), publickey-credentials-get=(), serial=(), sync-xhr=(), usb=(), xr-spatial-tracking=()
    origin-agent-cluster: ?1
    content-security-policy: default-src https: data: blob: ; img-src 'self' https://* ; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' https://www.gstatic.com https://www.youtube.com blob:; worker-src 'self' blob:; connect-src 'self'; object-src 'none'; frame-ancestors 'self'

    I run the command logging into my own server (ubuntu) and it remains thought a life, I tried with https://MYDOMAIN and with MYDOMAIN/ and it doesn't load anything, is it normal ?

    PD: it loads something right now after 5 minutes almost

    https://i.imgur.com/N7F1jhm.png
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-12-13, 07:59 PM
    If you're running curl from the same server running caddy, you can try

    Code:
    curl -X HEAD -I https://localhost
    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]
    Drake97
    Offline

    Member

    Posts: 76
    Threads: 23
    Joined: 2023 Oct
    Reputation: 0
    Country:Chile
    #5
    2024-12-13, 08:01 PM
    (2024-12-13, 07:59 PM)TheDreadPirate Wrote: If you're running curl from the same server running caddy, you can try

    Code:
    curl -X HEAD -I https://localhost

    the command show me this

    [Image: P93L4Zo.png]
    Jellyfin 10.10.7
    Ubuntu desktop 24.04.2 LTS
    Intel i5-7500
    16GB DDR4 2400Mhz
    OS-DRIVE: WDC SN720 256GB
    Storage (JF Library)
    1: x4 4TB Seagate IronWolf
    2: 6TB Seagate Ironwolf Pro
    3: 8TB HGST Dell Enterprise
    4: 2TB Seagate Barracuda
    5: 2TB WD RED
    Drake97
    Offline

    Member

    Posts: 76
    Threads: 23
    Joined: 2023 Oct
    Reputation: 0
    Country:Chile
    #6
    2024-12-13, 08:12 PM
    (2024-12-13, 07:59 PM)TheDreadPirate Wrote: If you're running curl from the same server running caddy, you can try

    Code:
    curl -X HEAD -I https://localhost

    I connected from my phone with mobile data (obviously out of my network) and when I launched the command I got this:

    [Image: vqJt9id.jpeg]
    Jellyfin 10.10.7
    Ubuntu desktop 24.04.2 LTS
    Intel i5-7500
    16GB DDR4 2400Mhz
    OS-DRIVE: WDC SN720 256GB
    Storage (JF Library)
    1: x4 4TB Seagate IronWolf
    2: 6TB Seagate Ironwolf Pro
    3: 8TB HGST Dell Enterprise
    4: 2TB Seagate Barracuda
    5: 2TB WD RED
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-12-13, 08:36 PM
    Code:
    x-frame-options: SAMEORIGIN

    This is the problem. Add this to your caddyfile.

    Code:
    header -X-Frame-Options {
        defer
    }

    The whole thing would look like this.

    Code:
    example.com {
        header -X-Frame-Options {
        defer
        }
        reverse_proxy 127.0.0.1:8096
    }
    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]
    Drake97
    Offline

    Member

    Posts: 76
    Threads: 23
    Joined: 2023 Oct
    Reputation: 0
    Country:Chile
    #8
    2024-12-14, 12:29 AM
    (2024-12-13, 08:36 PM)TheDreadPirate Wrote:
    Code:
    x-frame-options: SAMEORIGIN

    This is the problem.  Add this to your caddyfile.

    Code:
    header -X-Frame-Options {
    defer
    }

    The whole thing would look like this.

    Code:
    example.com {
        header -X-Frame-Options {
    defer
        }
        reverse_proxy 127.0.0.1:8096
    }


    my original caddyfile had this, it was a couple of configs to save logs, plus enable the SAMEORIGIN to be able to display the featured-content-bar of my man Ted where he details that in order to be seen in all devices, it should be modified in this way:

    [Image: NRtlW0b.png]

    OLD CADDYFILE:

    [Image: tTDH35x.png]

    now I deleted it and left it as you mention, like this:

    [Image: OhF4Z87.png]

    I will tell my niece to try again on her LG TV and I will let you know how it goes, thank you very much.
    Jellyfin 10.10.7
    Ubuntu desktop 24.04.2 LTS
    Intel i5-7500
    16GB DDR4 2400Mhz
    OS-DRIVE: WDC SN720 256GB
    Storage (JF Library)
    1: x4 4TB Seagate IronWolf
    2: 6TB Seagate Ironwolf Pro
    3: 8TB HGST Dell Enterprise
    4: 2TB Seagate Barracuda
    5: 2TB WD RED
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-12-14, 06:44 PM
    The "SAMEORIGIN" head is problematic specifically for WebOS. But only if you use the WebOS app. If you used the web browser in WebOS, SAMEORIGIN would not be a problem.
    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]
    Drake97
    Offline

    Member

    Posts: 76
    Threads: 23
    Joined: 2023 Oct
    Reputation: 0
    Country:Chile
    #10
    2024-12-16, 08:54 PM
    (2024-12-14, 06:44 PM)TheDreadPirate Wrote: The "SAMEORIGIN" head is problematic specifically for WebOS.  But only if you use the WebOS app.  If you used the web browser in WebOS, SAMEORIGIN would not be a problem.

    I have arrived, sorry for the late reply.
    With the modification you gave me of my caddyfile, no more problems on LG TVs, even without having activated SAMEORIGIN, all devices still see the featured-content-bar what I find strange, but well, everything contributes and are pure good news.
    Thank you very much as always
    « 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