Hi. I have a problem with creating an engine. When creating a new index-based engine, this problem pops up:
Enterprise Search encountered an error. Check Kibana Server logs for details.
In the kibana logs I find something like this:
[2023-08-28T17:45:08.300+00:00][ERROR][plugins.enterpriseSearch] An error occurred while resolving request to https://example.com/internal/enterprise_search/search_indices: Enterprise Search encountered an error.
[2023-08-28T17:45:08.302+00:00][ERROR][plugins.enterpriseSearch] ResponseError: index_closed_exception
Root causes:
index_closed_exception: closed
at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:479:27)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)
at Indices.stats (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/indices.js:1401:16)
at fetchIndexStats (/usr/share/kibana/node_modules/@kbn/enterprise-search-plugin/server/lib/indices/fetch_index_stats.js:17:7)
at fetchSearchIndices (/usr/share/kibana/node_modules/@kbn/enterprise-search-plugin/server/lib/indices/fetch_indices.js:31:24)
at /usr/share/kibana/node_modules/@kbn/enterprise-search-plugin/server/routes/enterprise_search/indices.js:64:21
at /usr/share/kibana/node_modules/@kbn/enterprise-search-plugin/server/utils/elasticsearch_error_handler.js:21:14
at Router.handle (/usr/share/kibana/node_modules/@kbn/core-http-router-server-internal/src/router.js:146:30)
at handler (/usr/share/kibana/node_modules/@kbn/core-http-router-server-internal/src/router.js:112:50)
at exports.Manager.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
at Object.internals.handler (/usr/share/kibana/node_modules/@hapi/hapi/lib/handler.js:46:20)
at exports.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/handler.js:31:20)
at Request._lifecycle (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:371:32)
at Request._execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:281:9)
When creating managed docs engine I don't have such problem.
Kubernetes cluster on bare metal
Version 8.9.0.