Lighthouse reports "NOT_HTML" when 103 Early Hints is used (Shopify urls)
See original GitHub issueFAQ
- Yes, my issue is not about variability or throttling.
- Yes, my issue is not about a specific accessibility audit (file with axe-core instead).
URL
https://www.csselectronics.com/products/can-logger-sd-canedge1
What happened?
I have previously been able to use Google PageSpeed/Lighthouse for analyzing various URLs on my website.
However, with the v9 update, I am now getting the below error in 80% of cases when I try using the tool on any URLs on my site:
Lighthouse returned an error: NOT_HTML. The specified page is not HTML (displayed as MIME type text / plain).
Nothing has been changed on my site and everything was working fine before the v9 update. I was also not able to spot specific changes in the changelog that would explain this behavior. Any inputs would be highly appreciated
What did you expect?
I would expect to be able to see the speed summary information for specific URLs on my website.
What have you tried?
I have tried this with various URLs on my website before/after the v9 update. I have never had a problem prior to the update, but after the update almost all my URLs fail 80%+ of the time.
In contrast, I seem to be able to use Lighthouse via the Chrome Development Tools when on a specific page on my site, though in that case I get an error about 20% of the time where Lighthouse states that it was not able to take any screenshots on the page, hence the Performance score is unavailable.
How were you running Lighthouse?
PageSpeed Insights
Lighthouse Version
v9.0.0
Chrome Version
Version 96.0.4664.45 (Official Build) (64-bit)
Node Version
No response
OS
Windows
Relevant log output
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:17
Top GitHub Comments
103 Early Hint being new, our infra doesn’t support it yet unfortunately. We’re working on a fix.
Fix is out.