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
A character encoding declaration is required. It can be done with a tag in the first 1024 bytes of the HTML or in the Content-Type HTTP response header. Learn more about declaring the character encoding.
My charset is correctly defined in my HTML head (it is the first meta tag), but this annoying error keeps happening...
Using a node middleware to set content type to always = content-type: text/html; charset=UTF-8
Using curl with WSL to verify the charset curl -I https://pousada-tao.onrender.com/ Output = HTTP/2 200 date: Tue, 17 Dec 2024 22:49:32 GMT content-type: text/html; charset=UTF-8
Trying in several browsers :
Chrome v131.0.6778.140
Firefox v134.0b10
Brave
Setting up the html with github pages (Same error occurs)
I can repro, this is caused by a second cancelled document request initiated during the page load. When we try and get the main document we should filter out any failed/cancelled requests.
FAQ
URL
https://pousada-tao.onrender.com/
What happened?
Properly defines charset - Error!
Error description
My charset is correctly defined in my HTML head (it is the first meta tag), but this annoying error keeps happening...
Full HTML tag
There are these related issues that I already looked:
Warn about late, or missing, #15498
Self closing isn't detected #11956
What did you expect?
Not getting this error ):
What have you tried?
Using a node middleware to set content type to always = content-type: text/html; charset=UTF-8
Using curl with WSL to verify the charset
curl -I https://pousada-tao.onrender.com/
Output =
HTTP/2 200 date: Tue, 17 Dec 2024 22:49:32 GMT content-type: text/html; charset=UTF-8
Trying in several browsers :
How were you running Lighthouse?
PageSpeed Insights, Chrome DevTools, Other
Lighthouse Version
v100.0.0.3 (extension)
Chrome Version
v131.0.6778.140
Node Version
v18.19.1
OS
Windows (WSL)
Relevant log output
The text was updated successfully, but these errors were encountered: