Assume there’s an ES cluster with SearchGuard initialized, where searchguard index exists.
During the time between when a node joins the cluster and when the node completes loading SearchGuard configurations, an ES node does not accept any indexing requests because the node is considered to be not initialized yet.
An client app receives the following error.
org.elasticsearch.transport.RemoteTransportException: [(host)][(address)][indices:data/write/bulk] Caused by: org.elasticsearch.ElasticsearchSecurityException: Cannot authenticate null
The client app uses sniffing.
That error happens because BackendRegistry is not initialized.
The error is transient, so retrying requests might work, but we might want to avoid the error if possible.
- Can we make sure the node is initialized before the node joins the cluster (when
- Any idea how to avoid this transient error?