New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Stuck - Timeout Argument Ignored #24
Comments
hey @robc72
and did you verify the installation of chrome if that works from bash ?? |
The test works fine when I use a different save path. When using the /tmp/ is hangs just like with that once bad url. https://www.shutterstock.com/en/editor/template/6036521 The PDF generated has some bad fonts/garbled text which is another entirely different issue for me so if you have some insight there as well I would really appreciate it. The areas with the bad font are the date at the top and the url and page at the bottom. I'm hosting on Centos 7 and NGINX. Please let me know if there's any other information you need. |
It appears that --ipc-connection-timeout does the trick for the timeout but that doesn't explain the problem of the page not loading for that specific url. Well the page is loading correctly now after adding that so this may not be an issue anymore. |
awesome , |
The url specified gets stuck and won't timeout. Did I do something wrong?
Thanks,
Rob
// THIS IS THE PROBLEM URL
$url = "https://www.shutterstock.com/en/editor/template/6036521";
$chrome = new Chrome($url, "/usr/bin/google-chrome");
$chrome->setArguments([
'--timeout' => 6000
]);
$chrome->setWindowSize($width=1280,$height=800);
$chrome->getScreenShot("/home/screenshots/sample.jpg");
// CODE NEVER GETS HERE
echo "I made it here";
The text was updated successfully, but these errors were encountered: