-
Notifications
You must be signed in to change notification settings - Fork 303
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
Cant run puppetier in heroku #138
Comments
same issue |
Eventually resolved it by: (based on https://www.browserless.io/blog/puppeteer-heroku)
Let me know if you think this is vialble, and maybe update the readme? |
We also ran into this issue and the above solution worked for us, but we use # config/initializers/grover.rb
Grover.configure do |config|
if Rails.env.in?(['staging', 'production'])
config.options = {
executable_path: '/app/.chrome-for-testing/chrome-linux64/chrome',
launch_args: ['--no-sandbox', '--disable-setuid-sandbox'],
}
else
config.options = {
executable_path: '/opt/homebrew/bin/chromium',
}
end
end We also tried moving/keeping |
Hi,
I'm reaching out to you, since you probably know more about it than support :)
I have an app that has been running for more than a year and worked great.
Lately, my deplyments failed with:
I reached out to heroku support and they told me to add the following environment flag:
They said that chrome is taking too long to download.
Did it in a test environment (lucky me) and it fails the heroku-postbuild action detailed in this repo readme:
Of course if I remove the postbuild - than the setup is complete but the puppetier functionality doesn't work.
I hope you can help me, looking forward to hearing from you
The text was updated successfully, but these errors were encountered: