Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LG WebOS error code -27 cannot seem to fix #258

Open
JurgenKuyper opened this issue Oct 21, 2024 · 1 comment
Open

LG WebOS error code -27 cannot seem to fix #258

JurgenKuyper opened this issue Oct 21, 2024 · 1 comment

Comments

@JurgenKuyper
Copy link

hello all, I seem to have the same issue as #60 ; LG app shows error -27, browser on that same tv works,
when using CURL on the domain I have the following output:

HTTP/1.1 302 Found
Server: nginx/1.18.0 (Ubuntu)
Date: Wed, 09 Oct 2024 20:08:02 GMT
Content-Length: 0
Connection: keep-alive
Location: web/
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
Access-Control-Allow-Origin: *
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=()
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'

the first time I tried, I still had the X-Frame-Options SAMEORIGIN set, but removed it when it failed, the demo site works on the webapp.

pastebin of jellyfin nginx config
pastebin of nginx.conf

I have updated jellyfin to the latest version in apt, tv is also up-to-date.

I get the following in the access.log of NGINX:

[external IP] - - [09/Oct/2024:22:18:52 +0200] "GET /System/Info/Public HTTP/2.0" 200 212 "-" "Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.128 Safari/537.36 WebAppManager"
[external IP] - - [09/Oct/2024:22:18:52 +0200] "GET /web/manifest.json HTTP/2.0" 200 312 "-" "Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.128 Safari/537.36 WebAppManager"
[external IP] - - [09/Oct/2024:22:18:52 +0200] "GET /web/index.html HTTP/2.0" 200 2149 "-" "Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.128 Safari/537.36 WebAppManager"

if anyone knows how to fix this that would be greatly appreciated, thanks!

@ntrp
Copy link

ntrp commented Oct 26, 2024

remove frame-ancestors: 'self' from CSP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants