Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

332
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda