No Elasticsearch node available

When tyring to create the client i am getting the below error

"
Failed to create client, %!(EXTRA string=health check timeout: no Elasticsearch node available)
"

Code "

elasticSearchContext = context.Background()
elasticSearchClient, err = elastic.NewClient()
if err != nil {
l4g.Error("Failed to create client, ", err.Error())
return err
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.