Dear searchguard,
when upgrading a fully functional test setup from 6.3.0-22.3 to 6.4.0-23.0 I can no longer log into kibana afterwards. The browser just gets an connection reset after waiting for the 30sec tcp timeout. I use proxy authentication via local apache proxy.
It throws the strange errors about .kibana not being found but I can totally see that index:
green open .kibana gd00htRbRUOXEzcyaGLQTQ 1 1 1 0 8kb 4kb
journalctl -f kibana shows an error like this:
Sep 12 17:56:27 mes-any-logwfe-dev001 kibana[15920]: {“type”:“error”,“@timestamp”:“2018-09-12T15:56:27Z”,“tags”:[“warning”,“stats-collection”],“pid”:15920,“level”:“error”,“error”:{“message”:“[security_exception] Unexpected exception indices:data/read/search”,“name”:“Error”,“stack”:“[security_exception] Unexpected exception indices:data/read/search :: {"path":"/.kibana/_search","query":{"ignore_unavailable":true,"filter_path":"aggregations.types.buckets"},"body":"{\"size\":0,\"query\":{\"terms\":{\"type\":[\"dashboard\",\"visualization\",\"search\",\"index-pattern\",\"graph-workspace\",\"timelion-sheet\"]}},\"aggs\":{\"types\":{\"terms\":{\"field\":\"type\",\"size\":6}}}}","statusCode":500,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"Unexpected exception indices:data/read/search\"}],\"type\":\"security_exception\",\"reason\":\"Unexpected exception indices:data/read/search\"},\"status\":500}"}\n at respond (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:307:15)\n at checkRespForFailure (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:266:7)\n at HttpConnector. (/usr/share/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:159:7)\n at IncomingMessage.bound (/usr/share/kibana/node_modules/elasticsearch/node_modules/lodash/dist/lodash.js:729:21)\n at emitNone (events.js:111:20)\n at IncomingMessage.emit (events.js:208:7)\n at endReadableNT (_stream_readable.js:1064:12)\n at _combinedTickCallback (internal/process/next_tick.js:138:11)\n at process._tickDomainCallback (internal/process/next_tick.js:218:9)”},“message”:“[security_exception] Unexpected exception indices:data/read/search”}
I have tried to purge searchguard and the error disappeared thus posting it here.
If anything is unclear or not verbose enough please feel free to ask.
Thank you
When asking questions, please provide the following information:
- Search Guard and Elasticsearch version
6.4.0-23.0
- Installed and used enterprise modules, if any
none/default
- JVM version and operating system version
java version “1.8.0_121”
Java™ SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot™ 64-Bit Server VM (build 25.121-b13, mixed mode)
Debian 8
- Search Guard configuration files
attached
- Elasticsearch log messages on debug level
attached
- Other installed Elasticsearch or Kibana plugins, if any
sudo ./kibana-plugin list
searchguard@6.4.0-14
sudo ./elasticsearch-plugin list
search-guard-6
sg_config.yml (1.11 KB)
sg_roles_mapping.yml (704 Bytes)
sg_roles.yml (4.47 KB)
elasticsearch.log (20.5 KB)