PhantomJS failing to open HTTPS site

后端 未结 12 1775
梦如初夏
梦如初夏 2020-11-22 07:53

I\'m using the following code based on loadspeed.js example to open up a https:// site which requires http server authentication as well.

var page = require(         


        
12条回答
  •  情歌与酒
    2020-11-22 08:18

    I was getting SSL Handshake Failed yesterday. I tried many combinations of phantomJS options (--ignore-ssl-errors=yes etc.), but none of them worked.

    Upgrading to phantomJS 2.1.1 fixed it.

    I used the phantomJS installation instructions at https://gist.github.com/julionc/7476620, changing the phantomJS version to 2.1.1.

提交回复
热议问题