jellyfin / jellyfin-webos

WebOS Client for Jellyfin
https://jellyfin.org
Mozilla Public License 2.0
623 stars 60 forks source link

Blank screen #115

Open ftc2 opened 1 year ago

ftc2 commented 1 year ago

i installed the jellyfin webos client from the homebrew channel repo thing in rootmy.tv in january, and it's been working great until now.

as of a few days ago, it stopped. i briefly see the jellyfin loading thing with the abort button like it's connecting to my server, but then the screen just goes blank. black or some dark shade of grey. i've reinstalled the app and rebooted the tv, and that doesn't help.

i don't think it's a problem with my jellyfin server because it's working fine with a variety of other clients (web client, JMP, android, findroid).

homebrew channel says it's jellyfin 1.1.0 (webos client version)

ideas?

jernejml commented 1 year ago

I have identical problem.

I've installed LG TV webos 5 client. After startup i can see initial connect page. I enter URL of my jellyfin server and click on button connect. Similary i encounter "Then the screen just goes blank. black or some dark shade of grey". I assume i should see the page for entering my credentials.

On the server side, i can see successful connection from the LG TV. I did not investigate further for now.

anthonylavado commented 1 year ago

Do either of you use a reverse proxy like Nginx or Traefik?

jernejml commented 1 year ago

yes, Nginx. I have no problems when using other clients (browser on tv included).

Looks like issue #100, yeah. tnx.

ftc2 commented 1 year ago

thanks for the hint, @anthonylavado

i had problems testing that in the past because i could not find a way to clear server settings in the app. it was stuck on my nginx URI (and would therefore go to blank screen immediately), and i couldn't troubleshoot directly without nginx. even reinstalling from the homebrew app didn't seem to clear the jf webos settings. out of curiosity, how would you do that? i assume it's possible somehow over ssh, but idk how webos works.

anyway, since i haven't used the app in so long, i guess the session expired, and it kicked me back to the server selection screen. i first verified that it worked without nginx. then i tried with nginx and ultimately got it to work by removing the following lines from my config:

    add_header X-Frame-Options "SAMEORIGIN";
    add_header X-XSS-Protection "1; mode=block";
    add_header X-Content-Type-Options "nosniff";

interestingly, it worked for a long time with my old nginx conf. something must have changed in the jf web client that made the CSP fail in the webos browser.