Hello
The only difference I see in our configuration files is the server.host (I have 0.0.0.0 in order to allow access from all sites).
The error that you see is due to an incorrect start of the service.
Please check your connectivity with elastic cloud typing this in your console (Kibana instance):
the output must be like this:
{
"cluster_name" : "88aa2ce0e20af1b4f3a6d4b72dbc7325",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 38,
"active_shards" : 38,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 37,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 50.66666666666667
}
Review your elastic search in order to find if it's not working or have any issue.
If Elastic and the connectivity with curl are ok, please verify if you have any process of Kibana running.
For stopping the service:
systemctl stop kibana
or
service kibana stop
For other proceses verification:
ps -xa | grep kibana
If kibana is running in any process, kill it with kill -9 number_of_process.
Now, verify your kibana.yml configuration. I saw nothing incorrect in the configuration that you have pasted.
Then, try to start the kibana service with:
systemctl start kibana
or
service kibana start
and verify that Kibana is listening in the 5601 port with
netstat -tunap | grep 5601
If nothing appears, please review the log file located in /var/log/kibana and let us know what is the content.
Hope it help.
BR
Alberto R.