rjurney / Agile_Data_Code_2

Code for Agile Data Science 2.0, O'Reilly 2017, Second Edition
http://bit.ly/agile_data_science
MIT License
456 stars 306 forks source link

Connection refused error with elasticsearch #73

Closed sewald101 closed 5 years ago

sewald101 commented 6 years ago

This looks like the same issue documented in the "closed due to staleness" issue #36. After restarting my EC2, I rerun the line in the bootstrap script to get things running: sudo -u ubuntu /home/ubuntu/elasticsearch/bin/elasticsearch -d

Then I run the test line: curl 'localhost:9200/agile_data_science/on_time_performance/_search?q=Origin:ATL&pretty'

I've also tried this test recommended on the elasticsearch site (http://www.elastic.co/guide/en/elasticsearch/guide/current/running-elasticsearch.html): curl 'http://localhost:9200/?pretty'

And it all generates this error: Failed to connect to localhost port 9200: Connection refused

I've tried:

NOTHING HAS WORKED. (LOVE the idea of Agile DS 2.0, but the procedures in its text and the code in bootstrap.sh just seem to lead to brick wall after brick wall after brick wall. Frustrated.)

arnaudbouffard commented 5 years ago

Currently running into the same problem:

will post solution if I find it

rjurney commented 5 years ago

@arnaudbouffard @sewald101 Sorry for the trouble, guys. I'm looking over the entire thing now.

rjurney commented 5 years ago

I installed Elasticsearch 5.6 and things work again.