#58 most commonruntime/UILovableBolt.newCursorReplitv0Windsurf

Mixed Content: page loaded over HTTPS requested an insecure resource

Mixed Content: The page at 'https://...' was loaded over HTTPS, but requested an insecure resource 'http://...'. This request has been blocked.

Got a slightly different error? Paste the exact message and get a fix prompt tailored to it.

Paste your error →

What it means

Your live site is secure (https) but is trying to load something from an insecure (http) address, and browsers block that. Often it's a leftover link to your local computer or an old API address.

How to fix it: paste this prompt into your AI builder

Fix prompt for Lovable, Bolt, Cursor, Replit, v0, Windsurf
My deployed site has a Mixed Content error. Find every hard-coded http:// URL (API base URLs, image links, fetch calls, localhost addresses) and change them to https:// or to an environment variable that holds the production URL. Don't change anything else.

If the AI can't fix it: manual steps

  1. Search your code for 'http://' and 'localhost'.
  2. Make sure your API/backend actually supports https.

Where this happens

Seen in these AI app builders and editors:

LovableBolt.newCursorReplitv0Windsurf

Sources

Related runtime/UI errors

Still stuck? Paste your full error and UnstuckMyVibe will match it and hand you the exact fix prompt.

Fix my error →