Kibana server is not ready yet

Hi !
I am new to Elasticsearch . I tried installing it on Cloud instance all worked well. Until I tird installing Plugin for windows event logs it asked me to add these 2 lines to elasticsearch.yml file -
xpack.security.enabled: true
xpack.security.authc.api_key.enabled: true

After adding these lines I started seeing an error -
503 - {"statusCode":503,"error":"Service Unavailable","message":"License is not available."}

I discovered and then changed kibana.yml file to elasticsearch.hosts: ["https://:9200"]
earlier it was http not https

But after this chnage I am seeing the error -
Kibana server is not ready yet

where as kibana , elasticsearch services are runing and active with no erros.
Seeing this kibana log .

"@timestamp":"2024-08-26T01:54:52+00:00","tags":["error","elasticsearch-service"],"pid":25284,"message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 157.230.233.177:9200"}

{"type":"log","@timestamp":"2024-08-26T01:55:18+00:00","tags":["error","elasticsearch-service"],"pid":25284,"message":"Unable to retrieve version information from Elasticsearch nodes. write EPROTO 40184F66777F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:\n"}

Blockquote

Welcome!

What do you mean by "cloud instance"? Is that cloud.elastic.co?

What are the exact commands you ran to install Elasticsearch? What is the version?

Hi @dadoonet sorry for the confusion I meant cloud installation on rigital cloud droplet.

I have no experience with that platform. What's the version you are trying to install?