Getting following exception ElasticsearchSecurityException[No user found for indices:data/write/inde

When asking questions, please provide the following information:

  • Search Guard and Elasticsearch version

ES- 6.5.2 ,search guard version - search-guard-6

  • Installed and used enterprise modules, if any

No. disabled x-pack on the installation

  • JVM version and operating system version

java version “1.8.0_191” , Ubuntu - 16

  • i have followed this document to setup transport client communication with elasticsearch installed search guard I am using demo cluster configuration only . i.e all certs

https://search-guard.com/searchguard-elasicsearch-transport-clients/

But getting the following exception .

ElasticsearchSecurityException[No user found for indices:data/write/index]

at com.floragunn.searchguard.filter.SearchGuardFilter.apply0(SearchGuardFilter.java:225)

at com.floragunn.searchguard.filter.SearchGuardFilter.apply(SearchGuardFilter.java:107)

at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:165)

at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:139)

at org.elasticsearch.action.support.replication.TransportReplicationAction$OperationTransportHandler.messageReceived(TransportReplicationAction.java:251)

at org.elasticsearch.action.support.replication.TransportReplicationAction$OperationTransportHandler.messageReceived(TransportReplicationAction.java:243)

at com.floragunn.searchguard.ssl.transport.SearchGuardSSLRequestHandler.messageReceivedDecorate(SearchGuardSSLRequestHandler.java:170)

at com.floragunn.searchguard.transport.SearchGuardRequestHandler.messageReceivedDecorate(SearchGuardRequestHandler.java:260)
  • it will work for read document saying but how to make read permissions please advice me.

Thanks

Phani