I have been running a casperjs/phantomjs script on my ubuntu 12.04 server for many months without issue. Suddenly it has stopped. There have been no configuration changes (that I know of).
Even testing the simple script posted here, casperjs just hangs on casper.start. No errors are reported and it does not time out. I have also tried running it with the --ingore-ssl-errors=true flag with the same result.
I do not know where to look for errors and logs to begin to troubleshoot this.
Sample script I'm trying:
var casper = require('casper').create();
casper.start('http://casperjs.org/', function() {
this.echo(this.getTitle());
});
casper.thenOpen('http://phantomjs.org', function() {
this.echo(this.getTitle());
});
casper.run();