Myrsmeden / tagcloud

A facelift of the Software Engineering project from Findwise, originally conducted in 2016. The tagcloud is a website where the hashtag usage is displayed in a tag cloud, divided by which political parties the account is following
0 stars 0 forks source link

tweet indexer and search service fails to connect to elastic search #3

Open fippli opened 6 years ago

fippli commented 6 years ago

after running docker-compose up we get:

tweetindexer_1   | 
2018/08/26 15:17:19 health check timeout: 
Head http://elasticsearch:9200: dial tcp: lookup elasticsearch on 127.0.0.11:53: 
server misbehaving: no Elasticsearch node available

and

searchservice_1  | 
2018/08/26 15:17:20 health check timeout: 
Head http://elasticsearch:9200: dial tcp: lookup elasticsearch on 127.0.0.11:53: 
server misbehaving: no Elasticsearch node available
Myrsmeden commented 6 years ago

Do you still get it after the Elasticsearch node is available? It takes some time, usually, a counter goes from 1 to 30. Both services are told to try to connect and wait a second for a new trial and do so until success @fippli

fippli commented 6 years ago

Ok, I will see. How much time does it take approx? Also do you start the docker container with nohup or how do you do it?