You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get The message "The page provided is not HTML (served as MIME type )" when I use LHCI in my GitLab repository.
I get this message just in a certain route (localhost:3020/:id) but when I run LHCI on localhost:3020 the report was generated.
Then I check the routes on my local machine (run LHCI locally) and there is no problem at all and the reports generated for all of my pages.
I Also checked my URL headers and all parameters in localhost:3020/:id and localhost:3020 are equals to:
Link <https://cdn.aXXXXXXh.ir/>; rel=preconnect
Server-Timing total;dur=9;desc="Nuxt Server Time"
Vary Accept-Encoding
Connection keep-alive
Accept-Ranges none
Content-Length 42724
Content-Type text/html; charset=utf-8
Date Tue, 23 Feb 2021 15:36:07 GMT
ETag "a6e4-jFotdEri3dRKeU/ak8jKSug2N8U"
Set-Cookie __Host-auth.strategy=local; Path=/; Secure; SameSite=Lax
What is the expected behavior?
I want the report to be generated.
In my local machine, all things work well.
In my GitLab repository, one URL work well but another not!
Environment Information
Affected Channels: CI
Lighthouse version: 7.0.0
Chrome version: 86
Node.js version: 14.15
The text was updated successfully, but these errors were encountered:
Are you able to share the exact output of curl -vvvv http://<whatever URL is failing> test.log 2>&1 from your CI? From the information here, it sounds like the content-type header is not on that URL and instead the MIME type was not inferred from the response body.
Some of the possible causes, I can confirm I'm hitting the 3rd (using H2 Early Hints on my Apache httpd server). This affects also online products such Google PageSpeed Insights, Think With Google's Test My Site, web.dev Measure, etc.
Provide the steps to reproduce
.gitlab-ci.yml
.lighthouserc.js
What is the current behavior?
I get The message "The page provided is not HTML (served as MIME type )" when I use LHCI in my GitLab repository.
I get this message just in a certain route (
localhost:3020/:id
) but when I run LHCI onlocalhost:3020
the report was generated.Then I check the routes on my local machine (run LHCI locally) and there is no problem at all and the reports generated for all of my pages.
I Also checked my URL headers and all parameters in
localhost:3020/:id
andlocalhost:3020
are equals to:What is the expected behavior?
I want the report to be generated.
In my local machine, all things work well.
In my GitLab repository, one URL work well but another not!
Environment Information
The text was updated successfully, but these errors were encountered: