Dear all,
I'm running Elasticsearc 7.3.0 on Windows machines (4 nodes) and I installed the Azure Cloud Plugin on all nodes to manage snapshots in blob containers. I followed the instractions on the Elastic documentation and everything works properly.
The problem comes when I enable the proxy (that requires authentication) on all windows machines. In order to get the plugin working, I added (as by documentation), the following details in the elasticsearch.yml file of each node:
//azure.client.default.proxy.host: host_address
//azure.client.default.proxy.port: port_number
//azure.client.default.proxy.type: http
When I start the nodes and try to get the list of the snapshots in the blob container, I get the following error:
{
"error": {
"root_cause": [
{
"type": "storage_exception",
"reason": "storage_exception: Proxy Authentication Required"
}
],
"type": "no_such_element_exception",
"reason": "no_such_element_exception: An error occurred while enumerating the result, check the original exception for details.",
"caused_by": {
"type": "storage_exception",
"reason": "storage_exception: Proxy Authentication Required",
"caused_by": {
"type": "null_pointer_exception",
"reason": null
}
}
},
"status": 500
}
I also tried to store the following information in the elasticsearch key store:
//azure.client.default.proxy.username
//azure.client.default.proxy.password
but the nodes don't even start and I get the following error:
//java.lang.IllegalArgumentException: unknown secure setting [azure.client.default.proxy.password]
So the question is, how do I tell to elasticsearch to use username and password to be authenticated by the proxy?