Sonarr / Sonarr

Smart PVR for newsgroup and bittorrent users.
https://sonarr.tv
GNU General Public License v3.0
10.84k stars 1.42k forks source link

Sonarr v4 does not open anymore on LG WebOS tv browser. #5363

Closed mrmuiz closed 1 year ago

mrmuiz commented 1 year ago

Is there an existing issue for this?

Current Behavior

Sonarr v4 does not open on LG WebOS webbrowser anymore. Only the favicon shows. Screen stays white. It shows up fine on all other devices, PC, Phone etc. So nothing is wrong with that. Latest version that opens up normaly : 4.0.0.333 All versions after that till today wont open.

Expected Behavior

Go to sonarr on the LG WebOS webbrowser and browse sonarr.

Steps To Reproduce

Install version after version till i found when it went wrong.

Environment

- OS: Synology 7.1
- Sonarr: v4
- Docker Install: yes
- Using Reverse Proxy: yes
- Browser: LG WebOS browser

What branch are you running?

Develop

Trace Logs?

sonarr.trace.txt

Anything else?

325172210_1676876699425623_4216614194680330550_n It only shows the favicon.

markus101 commented 1 year ago

Without logs from the browser it's going to be hard to identify what might be going wrong, doesn't help that webOS TVs use Chromium versions that are years out of date when they are first released.

Which model of web OS TV? Which webOS version is it running? What version of the web browser, if available?

bakerboy448 commented 1 year ago
2023-01-11 23:52:26.8|Info|Sonarr.Http.Authentication.BasicAuthenticationHandler|Basic was not authenticated. Failure message: Authorization header missing.

similar weird issues with the UI being seen in Prowlarr as well for that auth error entry. https://github.com/Prowlarr/Prowlarr/issues/1282

does it work if you change auth to forms instead of basic?

mrmuiz commented 1 year ago

Without logs from the browser it's going to be hard to identify what might be going wrong, doesn't help that webOS TVs use Chromium versions that are years out of date when they are first released.

Which model of web OS TV? Which webOS version is it running? What version of the web browser, if available?

LG OLED55B16LA (July 2021) WebOS 6.3.2 Latest firmware 03.34.50 (Few days old)

I dont know how to get logs of the tv. Only thing i know its not the tv that does this but sonarr. Till version 4.0.0.333 it opens fine. All versions after that do not. I tried them all. And when i go back to 4.0.0.333 it works fine again. So something must be changed since that version.

Edit : Found this on the LG site: webOS TV 6.x, Chromium 79 Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36 WebAppManager I dont know if this is still the same after lots of firmware updates.

bakerboy448 commented 1 year ago

Settings => General => Security => Authentication

Or via the config file for auth method

mrmuiz commented 1 year ago

Settings => General => Security => Authentication

Or via the config file for auth method

I tried all possibilities with basic/Forms and both with and without disable for local adresses. Only difference is that it shows login pages. But after entering name and pass the screen goes white again.

markus101 commented 1 year ago

To my knowledge, webOS has never upgraded the browser engine within webOS (or the webOS version after release), 6.3 is webOS 6, which as you noted has Chromium 79.

4.0.0.334 added a change that relies on Chromium 81, which is why this broke on webOS 6, I'll see if we can solve it.

mynameisbogdan commented 1 year ago

Blank page on iOS 13 as well, and at first the issue seems to be Intl.DisplayNames.

https://github.com/Sonarr/Sonarr/blob/4b4301a076488c595969921697d7002ca427c955/frontend/src/Utilities/String/getLanguageName.js#L11

Already fixed while researching. 👍

mrmuiz commented 1 year ago

I can confirm that version 4.0.0.346 is working fine again on WebOS tv. Thx for the fix !