Cross cluster search connection fails when the remote cluster has APM enabled and API key based connection is used #112552
Labels
>bug
:Security/Security
Security issues without another label
Team:Security
Meta label for security team
Elasticsearch Version
8.14.2
Installed Plugins
No response
Java Version
22.0.1
OS Version
Linux ip-172-22-221-60 5.15.0-1035-aws #39-Ubuntu SMP Wed Apr 19 13:51:21 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
Problem Description
When attempting to use Cross-Cluster Search (CCS) with API keys between two Elasticsearch clusters, the connection fails. The following exception is logged on the local cluster (the querying cluster):
Connecting to another similar cluster from the same querying cluster works without issues. Based on observations, the main difference seems to be that the problematic remote cluster has APM enabled (e.g.
telemetry.api_key
entry in its keystore), which might be influencing the connection failure.Steps to Reproduce
• A query cluster that will initiate the connection for cross-cluster search.
• A remote cluster to which the query cluster will connect.
Logs (if relevant)
The text was updated successfully, but these errors were encountered: