After search-guard installed, I can’t use _plugin url, for example, http://server:9200/_plugin/HQ, or any other plugin.
I get this error:
{“error”:“ClassCastException[com.floragunn.searchguard.http.netty.SessionAwareNettyHttpChannel cannot be cast to org.elasticsearch.http.HttpChannel]”,“status”:500}
Someone knows how do I fix it?
Edit: ElasticSearch 1.7.4, RedHat Linux 6.5, JVM 1.7.60
Thanks
I’ve created this workaround in AbstractACRestFilter.java, for the plugin work again. Is obviously a ugly thing, but now _plugin uri works again. I miss some thing in the configuration?
String _plugin = "_plugin";
if (request.uri().contains(_plugin)) {
log.debug("This is a _plugin request, will allow");
filterChain.continueProcessing(request, origRestChannel);
return;
}
···
Em segunda-feira, 18 de janeiro de 2016 13:44:35 UTC-2, Kleber Rocha escreveu:
After search-guard installed, I can’t use _plugin url, for example, http://server:9200/_plugin/HQ, or any other plugin.
I get this error:
{“error”:“ClassCastException[com.floragunn.searchguard.http.netty.SessionAwareNettyHttpChannel cannot be cast to org.elasticsearch.http.HttpChannel]”,“status”:500}
Someone knows how do I fix it?
Edit: ElasticSearch 1.7.4, RedHat Linux 6.5, JVM 1.7.60
Thanks