Version_conflict_engine_exception

Hi Can You explain me what was happened on the kibana, it was crashed and this is the tail logs from the docker container. I'm using kibana 8.1.1

[2023-02-23T19:59:28.069+00:00][ERROR][plugins.dataEnhanced.data_enhanced] search_sessions_cleanup Error while deleting async_search FkpLRVA4bXVRUkwtUzVwV2VXdUd3UFEgdkthZ2FTa2FUS2lZQnBpbjJTejJCQToyODY1ODAzMjc=: resource_not_found_exception: [resource_not_found_exception] Reason: FkpLRVA4bXVRUkwtUzVwV2VXdUd3UFEgdkthZ2FTa2FUS2lZQnBpbjJTejJCQToyODY1ODAzMjc=
[2023-02-23T20:11:35.341+00:00][INFO ][plugins.securitySolution.endpoint:metadata-check-transforms-task:0.0.1] no endpoint installation found
[2023-02-23T20:18:09.973+00:00][INFO ][plugins.reporting] Request uses Space ID: elastic-ebm
[2023-02-23T20:18:11.350+00:00][INFO ][plugins.reporting] Scheduled csv_searchsource reporting task. Task ID: task:319922e0-b3b7-11ed-9ff6-0f9ac455e2ff. Report ID: lehjqv9300071b08d13yavb8
[2023-02-23T20:18:12.572+00:00][INFO ][plugins.reporting.runTask.csv_searchsource.csv_searchsource.execute-job.lehjqv9300071b08d13yavb8] Generating request for space: elastic-ebm
[2023-02-23T20:18:12.573+00:00][INFO ][plugins.reporting.runTask.csv_searchsource.csv_searchsource.execute-job.lehjqv9300071b08d13yavb8] Request uses Space ID: elastic-ebm
[2023-02-23T20:18:12.573+00:00][INFO ][plugins.reporting.runTask.csv_searchsource.csv_searchsource.execute-job.lehjqv9300071b08d13yavb8] Creating UI Settings Client for space: elastic-ebm
[2023-02-23T20:20:12.376+00:00][WARN ][plugins.taskManager] Cancelling task report:execute "319922e0-b3b7-11ed-9ff6-0f9ac455e2ff" as it expired at 2023-02-23T20:20:11.459Z after running for 02m 00s (with timeout set at 120s).
[2023-02-23T20:20:12.378+00:00][WARN ][plugins.reporting.runTask] Cancelling job lehjqv9300071b08d13yavb8...
[2023-02-23T20:20:12.556+00:00][ERROR][plugins.reporting.runTask] Scheduling retry for job lehjqv9300071b08d13yavb8. Retries remaining: 2.: TimeoutError: Timeout has occurred
[2023-02-23T20:20:12.556+00:00][INFO ][plugins.reporting.runTask] Rescheduling task:lehjqv9300071b08d13yavb8 to retry after error.
[2023-02-23T20:20:12.765+00:00][WARN ][plugins.reporting.runTask.csv_searchsource.csv_searchsource.execute-job.lehjqv9300071b08d13yavb8] ES scroll returned fewer total hits than expected! Search result total hits: 218208. Row count: 125500.
[2023-02-23T20:20:14.698+00:00][INFO ][plugins.reporting.reports:monitor] lehjqv9300071b08d13yavb8 status is [processing] and the expiration time was [2166ms] ago. Rescheduling...
[2023-02-23T20:20:14.714+00:00][INFO ][plugins.reporting.reports:monitor] Rescheduling task:lehjqv9300071b08d13yavb8 to retry.
[2023-02-23T20:20:15.677+00:00][INFO ][plugins.reporting.runTask.csv_searchsource.csv_searchsource.execute-job.lehjqv9300071b08d13yavb8] Generating request for space: elastic-ebm
[2023-02-23T20:20:15.677+00:00][INFO ][plugins.reporting.runTask.csv_searchsource.csv_searchsource.execute-job.lehjqv9300071b08d13yavb8] Request uses Space ID: elastic-ebm
[2023-02-23T20:20:15.677+00:00][INFO ][plugins.reporting.runTask.csv_searchsource.csv_searchsource.execute-job.lehjqv9300071b08d13yavb8] Creating UI Settings Client for space: elastic-ebm
[2023-02-23T20:21:17.204+00:00][WARN ][plugins.reporting.runTask.csv_searchsource.csv_searchsource.execute-job.lehjqv9300071b08d13yavb8] Max Size Reached after 152396 rows.
ResponseError: version_conflict_engine_exception: [version_conflict_engine_exception] Reason: [leh706jd00071b08d1cky27u]: version conflict, required seqNo [6], primary term [1]. current document has seqNo [15] and primary term [1]
    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:476:27)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at KibanaTransport.request (/usr/share/kibana/src/core/server/elasticsearch/client/create_transport.js:64:16)
    at ApmClient.UpdateApi [as update] (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/update.js:50:12)
    at ContentStream.writeHead (/usr/share/kibana/x-pack/plugins/reporting/server/lib/content_stream.js:231:9)
    at ContentStream.flush (/usr/share/kibana/x-pack/plugins/reporting/server/lib/content_stream.js:307:7) {
  meta: {
    body: { error: [Object], status: 409 },
    statusCode: 409,
    headers: {
      server: 'nginx/1.21.6',
      date: 'Thu, 23 Feb 2023 20:21:28 GMT',
      'content-type': 'application/json;charset=utf-8',
      'content-length': '587',
      connection: 'keep-alive',
      'keep-alive': 'timeout=20',
      'x-opaque-id': 'a85f5398-b4f0-4c2f-b77c-d81123cf9630;kibana::management:',
      'x-elastic-product': 'Elasticsearch'
    },
    meta: {
      context: null,
      request: [Object],
      name: 'elasticsearch-js',
      connection: [Object],
      attempts: 0,
      aborted: false
    },
    warnings: [Getter]
  }
}


It looks like the reporting plugin is timing out. When you start kibana does it run for a few minutes, and then crash?

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