PhantomJS connects to URL but CasperJS times out

163 Views Asked by At

Trying to write some tests with casperjs but the server I'm trying to connect connects fine using phantomjs, but gets hung up using casperjs any time it tries to make a connection to this app: casper.start(MYURL) or casper.open(MYURL)

Casper works with other URLs, I'm just wondering is there anything that could be preventing casper from connecting to an app? (Note: when the app is not running on the server, casper could get to it and get the 502 Bad Gateway error at least. When the app's running, the script just seems to get stuck on the above code)

Also the app is running https so I'm using the flag --ignore-ssl-errors=true when running both scripts.

Just really confused since PhantomJS works perfectly fine.

0

There are 0 best solutions below