I am trying to start IS with API Gateway , but it is stuck waiting for elastic server to start.
Error: 2020-07-10 01:27:29 IST [YAI.0300.0105I] [default][SAG-D8CZ8Y2] Starting ElasticSearch. API Gateway will wait for 300 seconds for ElasticSearch availability
This is the last line in server log and it is stuck forever.
Datastore is up and running and i am able to get the response using 9240 Port. Am I missing something? Please help
Edit: Below is the updated logs.
2020-07-10 01:27:29 IST [YAI.0300.0105I] [default][SAG-D8CZ8Y2] Starting ElasticSearch. API Gateway will wait for 300 seconds for ElasticSearch availability
2020-07-10 02:07:53 IST [YAI.0300.0130E] [default][SAG-D8CZ8Y2] Elasticsearch failed to start at http://host.docker.internal:9240 in 300 seconds. Please check the Elasticsearch logs.
It took 40 minutes to figure out http://host.docker.internal:9240 is not available. And I am able to login to IS now but API Gateway package was partially loaded. I tried to reload it and it stuck with the same error saying it will wait for Elastic Search. From where is it taking this URL http://host.docker.internal:9240