Hi everybody,
I am trying to user the elasticsearch connector (8.x-7.0-alpha3) on my Drupal 9 site.
The elastic server is correctly running on my MAC with Docker, but if I create a new cluster I obtain the error:
No alive nodes found in your cluster
$ curl http://localhost:9200
{
"name" : "a1e5249f7832",
"cluster_name" : "docker-cluster",
"cluster_uuid" : "ldYLGMXMRVG0yZyu_5vlXQ",
"version" : {
"number" : "7.12.1",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "3186837139b9c6b6d23c3200870651f10d3343b7",
"build_date" : "2021-04-20T20:56:39.040728659Z",
"build_snapshot" : false,
"lucene_version" : "8.8.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
Can somebody help me? What I am doing wrong?
Thanks,
Francesco
| Comment | File | Size | Author |
|---|---|---|---|
| elastic-2.png | 37.81 KB | fra_ore_90 | |
| elastic-1.png | 55.65 KB | fra_ore_90 | |
| docker-cluster.png | 57.18 KB | fra_ore_90 |
Comments
Comment #2
sokru commentedThe Server URL should be most likely "http://elasticsearch:9200", depending on your docker setup.
Comment #3
sokru commentedI believe the author of the issue has figured out what was wrong on the Docker setup.
Comment #4
marcgr commentedI am having the same problem. Local docker elasticsearch (http://localhost:9200) returns results when hit from a browser/curl, but I get the no alive nodes warning in drupal 9.5 with the elasticsearch_connector module config. I tried http://elasticsearch:9200 but that didn't work.
Marc
Comment #5
dtech34 commentedCan we have the solution on the configuration?
I too am using Docker and an Elasticsearch image for my Drupal 9.5.5 and I have the same error...Thanks
Comment #6
sanjay.maharjan commentedHaving - http://elasticsearch as server url resolved the issue for me.
Comment #7
antonioluqueparlon commentedThe comment #6 working for me!