Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron 1.4.0 fails to load a page that worked on 1.3.6 #7235

Closed
scytalezero opened this issue Sep 17, 2016 · 1 comment
Closed

Electron 1.4.0 fails to load a page that worked on 1.3.6 #7235

scytalezero opened this issue Sep 17, 2016 · 1 comment

Comments

@scytalezero
Copy link

scytalezero commented Sep 17, 2016

  • Electron version: 1.4.0
  • Operating system: Windows x64

I use NightmareJS to scrape several websites. The following login page displays fine and returns the page title when using Electron 1.3.6. If you update to 1.4.0, Electron will just show a blank white window. The promise does return an error:

const nightmare = require("nightmare")({ show: true, width: 1000 })
nightmare
  .goto("https://secure03a.chase.com/web/auth/dashboard")
  .title()
  .then(result => {
    console.log(result)
  })
  .catch(err => console.error(err))

Here is the error from the console:

{ message: 'navigation error',
  code: -501,
  details: 'ERR_INSECURE_RESPONSE',
  url: 'https://secure03a.chase.com/web/auth/dashboard' }

Is there any way to override this behavior? The page works fine in Chrome browser.

@deepak1556
Copy link
Member

Merging to #7221

You can temporarily workaround with commandline switch ignore-certificate-errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants