- LuzineDebug
- Web, HTML & CSS
Web, HTML & CSS errors: causes and fixes
Browser and front-end problems: mixed content, CSS that does not apply, blocked fonts, stubborn cache, service worker and hydration errors. The symptom, the cause, the step-by-step fix.
Fix "Mixed Content: … requested an insecure resource" (HTTPS mixed content)
Your page is served over HTTPS but loads a script, stylesheet, API call or form over http://, and the browser blocks that request.…
Beginner 10 min Refused to apply style from 'https://example.com/css/style.css' because its MIME type ('te…Fix "Refused to apply style … MIME type ('text/html') is not a supported stylesheet MIME type"
The browser requested your CSS file but received an HTML page, almost always a 404 page or a SPA home page returned instead of a m…
Beginner 10 min Failed to load module script: Expected a JavaScript module script but the server responded…Fix "Failed to load module script: Expected a JavaScript module script … MIME type of text/html" (Vite, SPA)
The browser requested a JavaScript file (type="module") and the server sent back index.html. On a deployed Vite app, it is almost…
Intermediate 15 min Refused to execute inline script because it violates the following Content Security Policy…Fix "Refused to execute inline script because it violates the following Content Security Policy directive"
The page Content Security Policy only allows scripts loaded from files on your domain (script-src 'self'), so the browser blocks e…
Intermediate 20 min This page isn’t workingFix ERR_TOO_MANY_REDIRECTS "redirected you too many times" (redirect loop)
The server redirects the page to a URL that in turn redirects back to the first one, forever. The number one cause is Cloudflare i…
Intermediate 15 min Your connection is not privateFix "Your connection is not private" NET::ERR_CERT_DATE_INVALID and ERR_CERT_AUTHORITY_INVALID
The browser rejects the site HTTPS certificate. ERR_CERT_DATE_INVALID: expired certificate or wrong computer clock. ERR_CERT_AUTHO…
Intermediate 15 min ResizeObserver loop completed with undelivered notifications.Fix "ResizeObserver loop completed with undelivered notifications"
A ResizeObserver callback changed the size of an observed element during the same frame, and the browser postponed the remaining n…
Intermediate 10 min GET https://www.googletagmanager.com/gtag/js?id=G-XXXXXXX net::ERR_BLOCKED_BY_CLIENTFix net::ERR_BLOCKED_BY_CLIENT (ad blocker, analytics, "ads" files)
The request never left: a browser extension (uBlock Origin, AdBlock, Privacy Badger) or Brave Shields blocked it because its URL l…
Beginner 5 min