PhantomJS failing to open HTTPS site

后端 未结 12 1990
梦如初夏
梦如初夏 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:19

    experienced same issue...
    --ignore-ssl-errors=yes was not enough to fix it for me, had to do two more things:
    1) change user-agent
    2) tried all ssl-protocols, the only one that worked was tlsv1 for the page in question
    Hope this helps...

提交回复
热议问题