maxConcurrentShardRequests

I am running into this problem and have spent days trying to find a solution and no luck.
I am on ELK stack 6.5.3 running in docker and docker swarm cluster

It was working fine with 6.3.0 for months and after I upgraded it kibana does not come up. I am seeing the following error in the logs:

    {"type":"error","@timestamp":"2018-12-19T22:32:17Z","tags":["warning","stats-collection"],"pid":1,"level":"error","error":{"message"
:"[illegal_argument_exception] maxConcurrentShardRequests must be >= 1","name":"Error","stack":"[illegal_argument_exception] maxConcurrentShardRequests must be >= 1 :: {\"path\":\"/.reporting-*/_search\",\"query\":{\"fi
lter_path\":\"hits.total,aggregations.jobTypes.buckets,aggregations.objectTypes.buckets,aggregations.layoutTypes.buckets,aggregations.statusTypes.buckets\"},\"body\":\"{\\\"size\\\":0,\\\"aggs\\\":{\\\"jobTypes\\\":{\\\
"terms\\\":{\\\"field\\\":\\\"jobtype\\\",\\\"size\\\":2}},\\\"objectTypes\\\":{\\\"terms\\\":{\\\"field\\\":\\\"meta.objectType.keyword\\\",\\\"size\\\":3}},\\\"layoutTypes\\\":{\\\"terms\\\":{\\\"field\\\":\\\"meta.la
yout.keyword\\\",\\\"size\\\":3}},\\\"statusTypes\\\":{\\\"terms\\\":{\\\"field\\\":\\\"status\\\",\\\"size\\\":4}}}}\",\"statusCode\":400,\"response\":\"{\\\"error\\\":{\\\"root_cause\\\":[{\\\"type\\\":\\\"illegal_arg
ument_exception\\\",\\\"reason\\\":\\\"maxConcurrentShardRequests must be >= 1\\\"}],\\\"type\\\":\\\"illegal_argument_exception\\\",\\\"reason\\\":\\\"maxConcurrentShardRequests must be >= 1\\\"},\\\"status\\\":400}\"}
\n    at respond (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:308:15)\n    at checkRespForFailure (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:267:7)\n    at HttpConnector.<an
onymous> (/usr/share/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:165:7)\n    at IncomingMessage.wrapper (/usr/share/kibana/node_modules/elasticsearch/node_modules/lodash/lodash.js:4949:19)\n    at emitN
one (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:139:11)\n    at process._tickCallbac
k (internal/process/next_tick.js:181:9)"},"message":"[illegal_argument_exception] maxConcurrentShardRequests must be >= 1"}

I tried deleting the .kibana index and restarting the stack to no success.

Looks like it may be similar to what this user experienced: https://github.com/elastic/kibana/issues/16903

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.