Usando NW.js, intento que iframe cargue https://asdf.com y en su lugar obtengo net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH . Pregunté en la lista de correo nw.js pero parece que no hay una guía para este error.
aquí está mi paquete.json con indicadores de cromo configurados para ignorar cualquier problema de certificado. No tengo ideas sobre qué más seguir aquí.
{ "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" } } aquí está mi index.html , también lo intenté sin el nwfaketop, todavía falla.
<!DOCTYPE html> <html> <head> <title>Page</title> </style> </head> <body> <iframe src='https://asdf.com' nwfaketop nwdisable></iframe> </body> </html>Creo que esto se debe a una falta de coincidencia al ejecutar el navegador en una URL HTTP (localhost) y cargar contenido HTTPS en su interior. Si ese es el caso, hay dos opciones:
index.html como su main en lugar de http://localhost:3000