docker-compose-elasticsearch-kibana icon indicating copy to clipboard operation
docker-compose-elasticsearch-kibana copied to clipboard

nginx err

Open CDung opened this issue 6 years ago • 1 comments

After docker-compose up, nginx exit when other services are running !

nginx_1 | 2019/05/13 04:08:37 [emerg] 1#1: host not found in upstream "kibana:5601" in /etc/nginx/conf.d/nginx.conf:2 docker-compose-elasticsearch-kibana_nginx_1 exited with code 1

In addition, i don't know feature of nginx in here . Thanks you

CDung avatar May 13 '19 04:05 CDung

I have a similar error when start

metricbeat_1      | 2019-10-14T05:54:32.675Z	INFO	pipeline/output.go:95	Connecting to backoff(elasticsearch(http://elasticsearch:9200))
metricbeat_1      | 2019-10-14T05:54:35.657Z	ERROR	pipeline/output.go:100	Failed to connect to backoff(elasticsearch(http://elasticsearch:9200)): Get http://elasticsearch:9200: dial tcp 192.168.16.8:9200: connect: connection refused
metricbeat_1      | 2019-10-14T05:54:35.657Z	INFO	pipeline/output.go:93	Attempting to reconnect to backoff(elasticsearch(http://elasticsearch:9200)) with 1 reconnect attempt(s)
nginx_1           | 2019/10/14 05:54:30 [emerg] 1#1: host not found in upstream "elasticsearch1:9200" in /etc/nginx/conf.d/nginx.conf:6
nginx_1           | nginx: [emerg] host not found in upstream "elasticsearch1:9200" in /etc/nginx/conf.d/nginx.conf:6
auditbeat_1       | 2019-10-14T05:54:35.730Z	ERROR	pipeline/output.go:100	Failed to connect to backoff(elasticsearch(http://elasticsearch:9200)): Get http://elasticsearch:9200: dial tcp 192.168.16.8:9200: connect: connection refused
auditbeat_1       | 2019-10-14T05:54:35.730Z	INFO	pipeline/output.go:93	Attempting to reconnect to backoff(elasticsearch(http://elasticsearch:9200)) with 1 reconnect attempt(s)
dockercomposeelasticsearchkibana_nginx_1 exited with code 1

I am running on a single server, I cloned the repo without changing any code, am I missing any configuration?

Vimos avatar Oct 14 '19 06:10 Vimos