-
Notifications
You must be signed in to change notification settings - Fork 923
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
Failed to start and/or connect to Chrome. Please make sure Chrome is running #521
Comments
I had a similar issue. After more digging into the documentation I found that chrome isn't included in with prerender (https://github.com/prerender/prerender#chromelocation). The chromeLocation that you are using in your configuration only contains a javascript interface for chrome. You will need to install Chrome separately and then Update your chromeLocation to point to the installation. |
Hello, @daniel-keller! Thank you for your help. How should I install Headless Chrome? It's an Ubuntu package or npm package? Much thanks in advance. |
On ubuntu I did it through apt-get https://askubuntu.com/a/510186. After installing I changed the chromeLocation to "/usr/bin/google-chrome-stable". I did run into an issue where prerender would launch chrome and then immediately die. The only solution I've found for this #450 but I think that this solution opens up some security holes so I'm still looking for a better solution. |
Sorry for the delay here. @daniel-keller thanks for the help! https://www.ubuntuupdates.org/ppa/google_chrome?dist=stable is a good way to install Chrome on Ubuntu. We've used that package without any issues connecting or immediately dying so please let us know if you run into anything like that! @JamesJGoodwin feel free to reopen or create a new issue if you run into any problems after you get Chrome downloaded and we'll try to make that more clear in the documentation. |
Hello. I'm trying to run Prerender on my VPS but unsuccessfully. I did everything like README says but stiil can't launch it. I tried to run
node server.js
, but console throws an error:Then I've changed my config to:
But still I'm having an issue with this:
Any ideas on how could I fix that? Many thanks.
The text was updated successfully, but these errors were encountered: