I have my kibana running behind firewall and can't connect to outside world. I don't need to connect either. it is working fine but
getting following error. how do I stop kibana to even trying.?
I already has this in kibana.yml
telemetry.optIn: false
xpack.fleet.enabled: false
[2024-03-28T16:24:44.631-05:00][ERROR][plugins.observabilityAIAssistant] Failed to resolve ELSER model definition: Error: Platinum, Enterprise or trial license needed
[2024-03-28T16:24:46.387-05:00][ERROR][plugins.fleet] Package needs to be manually reinstalled synthetics after installing Fleet global assets: Cannot reinstall an uploaded package
[2024-03-28T16:25:04.577-05:00][ERROR][plugins.securitySolution.telemetry_events] [task security:telemetry-configuration:1.0.0]: error scheduling task, received Request timed out
[2024-03-28T16:25:04.621-05:00][ERROR][plugins.apm] Failed to add API keys to APM package policies
[2024-03-28T16:25:04.624-05:00][ERROR][plugins.apm] TimeoutError: Request timed out
at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:527:31)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at runNextTicks (node:internal/process/task_queues:64:3)
at processTimers (node:internal/timers:511:9)
[2024-03-28T16:25:04.632-05:00][ERROR][plugins.apm] Failed to schedule APM source map migration
[2024-03-28T16:25:04.633-05:00][ERROR][plugins.apm] TimeoutError: Request timed out
at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:527:31)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at runNextTicks (node:internal/process/task_queues:64:3)
at listOnTimeout (node:internal/timers:540:9)
at processTimers (node:internal/timers:514:7)
[2024-03-28T16:25:20.448-05:00][ERROR][plugins.fleet] Failed to fetch latest version of synthetics from registry: Error connecting to package registry: request to https://epr.elastic.co/search?package=synthetics&prerelease=false&kibana.version=8.13.0 failed, reason: read ECONNRESET
[2024-03-28T16:25:28.687-05:00][ERROR][plugins.fleet] Failed to fetch latest version of synthetics from registry: Error connecting to package registry: request to https://epr.elastic.co/search?package=synthetics&prerelease=true&kibana.version=8.13.0 failed, reason: read ECONNRESET
[2024-03-28T23:00:37.543-05:00][ERROR][plugins.taskManager] Task apm-telemetry-task "apm-telemetry-task" failed: ReferenceError: Cannot access 'collectAndStore' before initialization
Not sure about the other errors, but those seems to be related to the integrations as they are trying to connect to epr.elastic.co, which is the endpoint for the integrations packages.
Since a lot of things in Kibana now relies in integrations, I would expect some of them to not work right or throw some errors in the logs if it cannot access the epr endoint.
In this case you would need to have an air-gapped EPR as explained in this documentation.
Great,
only one error message left and startup time of kibana reduce by lot
[2024-04-05T09:43:47.956-05:00][ERROR][plugins.observabilityAIAssistant] Failed to resolve ELSER model definition: Error: Platinum, Enterprise or trial license needed
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.