-
Notifications
You must be signed in to change notification settings - Fork 269
Vanity failing to access database on Heroku #251
Comments
Thanks for using vanity! Can you post an (annonymized) version of your On Sunday, March 29, 2015, Raphaël Pflieger notifications@github.com
|
Also, as a reference, here's a repo of vanity running in rails on Heroku: https://github.com/phillbaker/vanity-rails3-demo, available at http://vanity-rails3-demo.herokuapp.com, and visit the dashboard. |
Sure, here's the part used in production (and thank you so much for reacting so quickly):
This configuration came from this blog post : http://www.jonathankirst.com/2012/06/rails-ab-testing-with-vanity.html What is kinda weird is that if I use metrics based on ActiveRecord models everything works fine. This error is only throwed when trying to call metrics recorded with the track! method... I must add I'm using Postgis, do you think it has any impact on this ? |
@raphaelpflieger two thoughts:
|
Using |
Hey there,
Thanks for your work on this incredibly useful gem. I've played with it a lot on my localhost, but it failed to work while on production on Heroku. I get the following error while trying to access the main report page:
ActionView::Template::Error (could not translate host name "ec2-XX-XXX-XXX-XXX.eu-west-1.compute.amazonaws.com:5642" to address: Name or service not known )
(XXs in ec2 path were added by me)
Here is the rest of the logs:
The text was updated successfully, but these errors were encountered: