elasticsearch connector unable to connect to cluster due to proxy dependency

Created on 14 November 2022, about 2 years ago
Updated 8 October 2024, about 2 months ago

Problem/Motivation

The environment has proxy that routes all traffic towards forward proxy and further to the internet.
However, this time I do not want to route the traffic outside the network as Drupal and ES servers are hosted in the same network.

Drupal elasticsearch connector is unable to reach the elasticsearch hosted on another VM due to proxy settings.
Drupal and Elasticsearch both are hosted on different servers but in the same subnet.

From the VM console I can run the "noproxy" with curl and I can see cluster info however if i do not mention noproxy, then curl is not working.

How can I tell elasticsearch connector to connect to the elasticsearch using no_proxy values?

Steps to reproduce

bash-5.1# curl --noproxy '*' http://es-search.dev.org.local:9200/
{
"name" : "777",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "eXt4-4ssssssss1k2AE73w",
"version" : {
"number" : "7.17.0",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "bee8632sdfsdfsdfdsfsfsfsdsddefd4d9ec56bd",
"build_date" : "2022-01-28T08:36:04.875279988Z",
"build_snapshot" : false,
"lucene_version" : "8.11.1",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}

💬 Support request
Status

Active

Component

Elasticsearch Connector

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024