Opening https with phantomjs on OpenShift -


i using openshift, , using following code open http url phantomjs (in order take screenshot), http works fine https fails status code null. know specific question , problem openshift looks openshift want users ask questions on now.

page.open(address, function (status) {     if (status !== 'success') {         console.log('unable load address!');         phantom.exit();     } else {         window.settimeout(function () {             page.render(output);             phantom.exit();         }, 200);     } }); 

i gave on making work on openshift , moved heroku , same code on heroku worked charm.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -