Resource error: Error code: 6 ErrorString: SSL handshake failed url: https://localhost:3000/ id: 1
Resource Recived: https://localhost:3000/
[warning] [phantom] Loading resource failed with status=fail: https://localhost:3000/
[debug] [phantom] Successfully injected Casper client-side utilities
Error: SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent.
file: phantomjs://webpage.evaluate()
line: 2
function:
Can we run localhost using https on phantomJS. ?
Is by any chance your webpage trying to load images on canvas? Did you check the page source for possible errors? One reason for this kind of error is attempting to load images/content from a location which is outside of the domain of your file.
--acceptSslCerts=true --web-security=no --ignore-ssl-errors=yes --ssl-protocol=any
Most helpful comment
solved