-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
Elk white-outs in Chrome 129 #2935
Comments
FWIW, likely affects all Chromium-based browsers. Edge 129.0.2792.10 (Official build) dev (64-bit) is broken as well - showing only the logo and a black screen (dark theme) with the same error printed to the console. |
Note Chrome 129 will start being rolled out to stable around September 11th. |
I just realized that elk.zone works fine on Chrome canary. It's likely the issue was caused by Chrome rather than elk.zone's code. Perhaps they can backport the fix to Chrome beta so you don't have to take any action. Let's see. |
I have briefly looked at this, and this is the
Note that this is not a well-formed value as per the Structured Field Policy Directive and RFC8941 specifications. As a quick fix, I'd recommend rewriting the
Simultaneously, I have filed crbug.com/364804210 to investigate why parsing with Chrome 128 vs. 129 vs. 130 gives different results, as I am not aware of any changes to the parser. |
Thanks for the investigation! Yes, the current The response header is defined here: https://github.com/elk-zone/elk/blob/0fba07e/nuxt.config.ts#L302 and it looks like it was copied from content-security-policy format but it's not compatible with permissions-policy value. According to MDN document (Permissions-Policy - HTTP | MDN), the correct value accepting other domains should be
I'm going to create a PR to fix this issue. |
#2941 will fix the There may be another issue (may or may not be related to |
One option could be to bisect Chrome versions to pinpoint a |
I also checked again, and now I see permission policy parse errors with all three versions of Chrome (not sure what I was seeing in the morning). I believe the |
Maybe fixed in 130, tested with Edge Canary 130 and Chrome Canary 130 on my Windows laptop: elk.zone is working |
Version 130.0.6723.6 of Chrome has been rolled out on the beta channel today. Elk loads fine again. |
Based on https://learn.microsoft.com/en-us/deployedge/microsoft-edge-release-schedule I predict a lot of noise about this soon ("Week of Sep 19"), as 129 will be in the Edge stable release channel for 4 weeks. Luckily for me I should only have one more week to wait for 130 on the beta channel (Sep 26). |
Reopening the issue as #2941 should fix the The stable release of Google Chrome v130 will be October 15 so I think only workaround is to use the non-chromium browser or beta version of browsers until that time. That's not ideal for general users. By the way, I bisected Chrome versions by installing via Puppeteer and found which version resolves the white-out issue:
You can find the list of version/revision here: https://github.com/GoogleChromeLabs/chrome-for-testing#json-api-endpoints
|
From a users perspective: As of today, Elk is unfortunately dead because it can no longer be opened in Chromium-based browsers desktop and mobile with the latest version 129. I use Chrome and Edge only. Error message in the console: Error with Permissions-Policy header: “Parse of permissions policy failed because of errors reported by structured header parser.” Since most users like me probably have automatic updates switched on and avoid the Canary versions, the number of users will drop rapidly if no countermeasures are taken here. |
This currently means elk is broken on all Android phones running stable Chrome. |
I'm on 130 now and this persists wtih
|
@shanselman do you get the same error with https://main.elk.zone ? We merged #2941 but haven't released it to https://elk.zone yet. |
main.elk.zone works for me and Chrome 129 👍 |
same here, main.elk.zone works for me, elk.zone not. |
Just released v0.15.0 which should address this issue. It should come with a self-nuking + reinstalling service worker to address the issue of not being able to upgrade elk from the UI. Let me know if you encounter any issues 🙏 |
0.15.0 works for me now, thanks! |
It's a Christmas Miracle! Thanks @danielroe and everyone in this thread! |
On current Chrome beta (129), Elk is completely broken with an error
Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.
.This is likely caused by a permission-policy based enforcement (I'm not familiar with details).
The text was updated successfully, but these errors were encountered: