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

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -