Skip to content
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

Using hound on Heroku #246

Open
garj opened this issue Sep 22, 2019 · 2 comments
Open

Using hound on Heroku #246

garj opened this issue Sep 22, 2019 · 2 comments

Comments

@garj
Copy link

garj commented Sep 22, 2019

I deployed a Phoenix app that is using Hound with chrome driver to Heroku. I've also added the following chrome and chrome driver buildpacks to my Heroku app

my config.exs is as following:

# Configure Hound
config :hound, driver: "chrome_driver"

These steps however does not seem to be sufficient to run Hound on Heroku as I got these errors

2019-09-22T09:44:17.698124+00:00 app[web.1]: 09:44:17.697 [error] GenServer Hound.SessionServer terminating
2019-09-22T09:44:17.698162+00:00 app[web.1]: ** (RuntimeError) could not create a new session: econnrefused, check webdriver is running
2019-09-22T09:44:17.698165+00:00 app[web.1]: (hound) lib/hound/session_server.ex:101: Hound.SessionServer.create_session/2
2019-09-22T09:44:17.698167+00:00 app[web.1]: (hound) lib/hound/session_server.ex:78: Hound.SessionServer.handle_call/3

Can I know if it is possible to run Hound on Heroku at all? Or am I missing some setup required to run it correctly. Please advice. Thanks.

@Anonyfox
Copy link

any update on this?

@mbenatti
Copy link

mbenatti commented Feb 4, 2020

Yes, add
https://github.com/heroku/heroku-buildpack-chromedriver
and
https://github.com/heroku/heroku-buildpack-google-chrome

and start chrome driver "/app/.chromedriver/bin/chromedriver"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants