Hello,
We are on v7.16.1 of Kibana/Elastic and facing issues with Kibana login all of a sudden. It was working fine around couple of hours back When checked in the logs seeing below exceptions.
{"type":"log","@timestamp":"2022-07-01T12:01:16+00:00","tags":["error","plugins","security","session","index"],"pid":115029,"message":"Failed to create session value: version_conflict_engine_exception: [version_conflict_engine_exception] Reason: [F8GE4AZDdmPIGpePXKJ/T4fzvV2jwC5FQdz1N4mPseo=]: version conflict, document already exists (current version [1])"}
{"type":"log","@timestamp":"2022-07-01T12:01:16+00:00","tags":["error","http"],"pid":115029,"message":"ResponseError: version_conflict_engine_exception: [version_conflict_engine_exception] Reason: [F8GE4AZDdmPIGpePXKJ/T4fzvV2jwC5FQdz1N4mPseo=]: version conflict, document already exists (current version [1])\n at onBody (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:367:23)\n at IncomingMessage.onEnd (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:291:11)\n at IncomingMessage.emit (node:events:402:35)\n at endReadableNT (node:internal/streams/readable:1343:12)\n at processTicksAndRejections (node:internal/process/task_queues:83:21) {\n meta: {\n body: { error: [Object], status: 409 },\n statusCode: 409,\n headers: {\n 'x-elastic-product': 'Elasticsearch',\n 'content-type': 'application/json; charset=UTF-8',\n 'content-length': '547'\n },\n meta: {\n context: null,\n request: [Object],\n name: 'elasticsearch-js',\n connection: [Object],\n attempts: 1,\n aborted: false\n }\n }\n}"}
{"type":"error","@timestamp":"2022-07-01T11:59:46+00:00","tags":,"pid":115029,"level":"error","error":{"message":"Internal Server Error","name":"Error","stack":"Error: Internal Server Error\n at HapiResponseAdapter.toInternalError (/usr/share/kibana/src/core/server/http/router/response_adapter.js:61:19)\n at Router.handle (/usr/share/kibana/src/core/server/http/router/router.js:172:34)\n at runMicrotasks ()\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at handler (/usr/share/kibana/src/core/server/http/router/router.js:124:50)\n at exports.Manager.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/toolkit.js:60:28)\n at Object.internals.handler (/usr/share/kibana/node_modules/@hapi/hapi/lib/handler.js:46:20)\n at exports.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/handler.js:31:20)\n at Request._lifecycle (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:371:32)\n at Request._execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:281:9)"},"url":"http://<Kibana_Host>:<Kibana_Port>/internal/security/login","message":"Internal Server Error"}
{"type":"log","@timestamp":"2022-07-01T12:01:18+00:00","tags":["error","plugins","taskManager"],"pid":115029,"message":"Failed to poll for work: Error: work has timed out"}
Attached the login error screenshot as well. Did any one faced the similar issue and if yes, pleas post the solution to resolve this.
Cheers.