Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

334
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda