Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

331
Views
NW.js Iframe fails to load some https website due to net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH error with flags

Using NW.js, trying to get iframe to load https://asdf.com and instead I get net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH. I asked on the nw.js mailing list but there seems to be no guide to this bug.

here's my package.json with chromium flags set to ignore any certificate issue. I am out of ideas as to what else to pursue here.

{
    "name": "browser",
    "chromium-args": "--enable-file-cookies --allow-running-insecure-content --ignore-certificate-errors",      
    "version": "1.0.0",
    "description": "An example of using a local webserver in NW.js",
    "repository": "https://github.com/TheJaredWilcurt/nw-local-server",
    "node-main": "server.js",
    "main": "http://localhost:3000",
    "node-remote": "http://localhost:3000",
    "scripts": {
        "start": "nw ."
    },
    "author": "The Jared Wilcurt",
    "license": "MIT",
    "devDependencies": {
        "nw": "^0.12.0"
    },
    "dependencies": {
        "express": "^4.17.1"
    }
}

here's my index.html, I tried without the nwfaketop as well, it still fails.

<!DOCTYPE html>
<html>
  <head>
    <title>Page</title>
    </style>
  </head>
  <body>

    <iframe src='https://asdf.com' nwfaketop nwdisable></iframe>


  </body>
</html>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I believe this comes from a mismatch of running the browser on an HTTP url (localhost) and loading HTTPS content inside it. If that is the case, there are two options:

  • Don't use a local server for your app, just point directly to index.html as your main instead of http://localhost:3000
  • Manually set up HTTPS certificates locally:
    • https://medium.com/@nitinpatel_20236/how-to-create-an-https-server-on-localhost-using-express-366435d61f28
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!