On Sat, Jun 18, 2016 at 5:53 PM, Travis Fantina <[email protected]> wrote:
> I've deployed my app to Heroku however whenever I try to search for a
> professor or even view an individual professor (without searching) I

> 2016-06-19T00:10:46.920628+00:00 app[web.1]:   Parameters: {"utf8"=>"✓",
> "search"=>"test"}
> 2016-06-19T00:10:46.927533+00:00 app[web.1]: Faraday::ConnectionFailed
> (Connection refused - connect(2) for "localhost" port 9200):

>  I've seen a similar issue discussed on Stack Overflow and someone said
> that elastic search may not be running.  But if I run curl
> localhost:9200 there is a hash so I believe it's running and I don't
> think that's the problem.

Wait, what?? "localhost" from your development system is not the
same as "localhost" from a Heroku-deployed application.

You need to sign up for a Heroku ElasticSearch add-on or run your
own ES instance somewhere; in either case, the access URL will
certainly not be for "localhost" :-)

-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBz5RSX5KG3fk9pn1X-c12Uxe%3Dn-KMA3ueQu%3DdPRrz_Ag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to