Everything works perfectly at the beginning. After around 10 minutes, Kibana does not work anymore (Elasticsearch still works fine). When I check the log, I see this message everywhere.
Thank you for your quick reply.
When I check the log, it said that the connection to Elasticsearch was timeout. I will try setting the LOGGING_VERBOSE and see if I get any more information.
The 10-minute delay happens no matter what I do with Kibana. Strangely, if I start Kibana (Docker) from another machine, everything works fine. But on the same machine like my current setup, the problem occurs.
The log doesn't show anything new. It looks somehow like this:
Could not create APM Agent configuration: Request Timeout after 30000ms
{"type":"log","@timestamp":"2020-05-05T12:11:26Z","tags":["warning","plugins","licensing"],"pid":6,"message":"License information could not be obtained from Elasticsearch due to Error: Request Timeout after 30000ms error"}
{"type":"log","@timestamp":"2020-05-05T12:11:26Z","tags":["error","savedobjects-service"],"pid":6,"message":"Unable to retrieve version information from Elasticsearch nodes."}
{"type":"log","@timestamp":"2020-05-05T12:11:56Z","tags":["warning","plugins","licensing"],"pid":6,"message":"License information could not be obtained from Elasticsearch due to Error: Request Timeout after 30000ms error"}
{"type":"log","@timestamp":"2020-05-05T12:12:26Z","tags":["warning","plugins","licensing"],"pid":6,"message":"License information could not be obtained from Elasticsearch due to Error: Request Timeout after 30000ms error"}
{"type":"log","@timestamp":"2020-05-05T12:12:56Z","tags":["warning","plugins","licensing"],"pid":6,"message":"License information could not be obtained from Elasticsearch due to Error: Request Timeout after 30000ms error"}
{"type":"log","@timestamp":"2020-05-05T12:13:26Z","tags":["warning","plugins","licensing"],"pid":6,"message":"License information could not be obtained from Elasticsearch due to Error: Request Timeout after 30000ms error"}
I can confirm that my basic license is active when I check http://my-es-server:9200/_xpack
That's interesting, I don't recall seeing this in the past. When you're testing your connection to ES, are you doing so within Kibana's docker container, or from outside that container?
Can you make a request to ES's /_cluster/health API endpoint once Kibana stops responding, and report that result back here?
I checked the connection to ES outside of Kibana's docker container. I don't know how to test it inside the container since the curl command is not available there.
Using the docker-compose example you provided, I'm not able to reproduce this. I've had it running for about 30 minutes now, and there are no errors or sign of a crash. Any other information you can share to help diagnose?
After some further investigation, it turned out that the problem was caused by Puppet. Somehow Puppet interfered with the Docker network. When Puppet was shut down, everything works fine again.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.