Kibana "Unable to connect to Elasticsearch at http://elasticsearch:9200"

109 views
Skip to first unread message

herve.be...@gmail.com

unread,
Sep 3, 2018, 4:38:34 PM9/3/18
to dcm4che
Hi,

After add Client to keykloac, client Kibana work fine but can connect "to Elasticsearch at http://elasticsearch:9200" (see attacment)
I suppose the Elasticsearch url isn't true. 

How can i change this URL to connect to elasticsearch ?

Best regard 
Hervé
docker-compose.yml
Screenshot_8.png

Gunter Zeilinger

unread,
Sep 4, 2018, 2:55:25 AM9/4/18
to dcm...@googlegroups.com
Verify, if the elasticsearch container is still running. If not check its log to find the reason for its crash. Check https://www.elastic.co/guide/en/elasticsearch/reference/current/system-config.html .

--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

herve.be...@gmail.com

unread,
Sep 4, 2018, 5:32:57 AM9/4/18
to dcm4che
Thank for your help,

You right : elasticsearch container is not running :  a "sudo docker-compose -p dcm4chee top" don't show elasticsearch .

Where can i see the elasticsearch ?

$sudo docker-compose -p dcm4chee logs
show me only kibana los

There is no log file in the /var/local/dcm4chee-arc/elasticsearch directory

Best regards
Hervé

Gunter Zeilinger

unread,
Sep 4, 2018, 6:41:15 AM9/4/18
to dcm...@googlegroups.com
If restarting the elasticsearch container:

sudo docker-compose -p dcm4chee start elasticsearch

does not help and

sudo docker-compose -p dcm4chee logs elasticsearch

does not show anything, you may launch a container providing Elasticsearch using Docker Command line in the foreground (=without option -d).



--

Hervé

unread,
Sep 4, 2018, 12:19:45 PM9/4/18
to dcm...@googlegroups.com
Yes i had a problem with elasticsearch.
I change the docker-compose to upgrade it from 5.13 to the 5.14 version with this new docker-compose.yml

I install it with this command
docker-compose -p dcm4chee-arc down
docker-compose -p dcm4chee-arc up -d

Now i have an elasticsearch error in my log 
elasticsearch_1   | [2018-09-04T17:41:52,902][INFO ][o.e.b.BootstrapChecks    ] [6tBkBCc] bound or publishing to a non-loopback address, enforcing bootstrap checks
elasticsearch_1   | ERROR: [1] bootstrap checks failed

I read this  about new elasticsearch version 5 but i don't understand what to do.

Can you help me.

PS : I have a ubuntu 18.04.1 LTS server and i have replace <docker-host> with my externe ip in docker-compose.yml.

Reply all
Reply to author
Forward
0 new messages