As title says, i'm trying to connect a local Kibana instance to a remote ES instance. ES instance is working behind a proxy.
I set up elasticsearch.url in kibana.yml to url that permits to access remote ES, but Kibana log is:
[error][status][plugin:elasticsearch@6.2.2] Status changed from yellow to red - Request Timeout after 3000ms
If i connect my pc to our corporate network bypassing proxy and if i set ES ip and port in kibana.yml elasticsearch.url, it works fine!
Maybe do I have to change something in proxy?
Thanks for your reply!
EDIT: I forget to say that ES instance is accessible by Browser API Call or Advanced Rest Client API Call from remote pc.
Hmm, can you try to increase values in elasticsearch.pingTimeout and elasticsearch.requestTimeout (kibana.yml) to something like 500000, just to make sure you're not hitting a real timeout because of proxy?
Hmm, that's weird. Okay a silly question, have you restarted Kibana and are you sure you don't have some old kibana.yml sitting somewhere at /etc/kibana/kibana.yml or something like that?
In the meantime, I'll go and check source code to see where this old 3000ms comes from, I see Kibana 6.2.2 is defaulting to 30000, not 3000.
I used that workaround and it changes Request Timeout but it doesn't fix my original issue.
log [10:14:36.996] [error][status][plugin:elasticsearch@6.2.2] Status changed from yellow to red - Unable to connect to Elasticsearch at http://elasticsearch.tilab.com/elasticsearch/.
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.