-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Lighthouse broken when CSP connect-src 'none' #4386
Comments
The same error also in
|
Any ETA when this will be fixed. You mustn't say the error is in customer side when actually is Lighthouse incompatibility bug. |
No ETA, this requires fetching outside the context of the page which is not something Lighthouse can do in most environments at the moment. |
This reverts commit d30566d. This is needed by Lighthouse to fetch robots.txt and it's worth making a harmless exception for it to work properly. GoogleChrome/lighthouse#4386
#9459 would help? |
It took a while to discover this issue and FWIW, a more descriptive error message would be helpful when the CSP blocks the request as opposed to an HTTP error response. At a minimum, it would be helpful to add to the documentation for this check under "Common errors include:" |
This has been fixed by #12423 🎉 (requires Chrome 92) |
I am on chrome canary 93 and still having this issue |
@jitendravyas do you have a public URL you can share? |
yes. i tested for https://vwo.com
…On Mon, 21 Jun, 2021, 10:17 pm Adam Raine, ***@***.***> wrote:
@jitendravyas <https://github.com/jitendravyas> do you have a public URL
you can share?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4386 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAS37M5GSZOMHUZCIHQNVTTT5ULJANCNFSM4EOH5QYA>
.
|
just add ["connect-src 'self'" CSP rule. I have tested for https://bogdanbiris.com |
Chrome v64 DEV Tools Audits hangs forever without returning result.
Lighthouse v2.8.0 extension would throw error:
Content-Security-Policy: default-src 'none'; connect-src 'self'
would solve the issue, but I think Lighthouse mustn't break and depend on connect-src 'self'.Once was open related issue #2319
The text was updated successfully, but these errors were encountered: