Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Fleet plugin logs ERROR during kibana restart #10955

Closed
jertel opened this issue Aug 4, 2023 · 3 comments
Closed

FIX: Fleet plugin logs ERROR during kibana restart #10955

jertel opened this issue Aug 4, 2023 · 3 comments
Assignees
Labels
Milestone

Comments

@jertel
Copy link
Contributor

jertel commented Aug 4, 2023

[2023-08-04T13:51:40.846+00:00][ERROR][plugins.fleet] Failed to fetch latest version of endpoint from registry: Cannot read properties of null (reading 'version')
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2023-08-04T13:51:40.846+00:00","message":"Failed to fetch latest version of endpoint from registry: Cannot read properties of null (reading 'version')","log":{"level":"ERROR","logger":"plugins.fleet"},"process":{"pid":7},"trace":{"id":"f5d20a59456a7dd36e402992bba2f8a2"},"transaction":{"id":"fed118032728c30e"}}

[2023-08-04T13:51:47.880+00:00][ERROR][plugins.securitySolution] Unable to create detection rules automatically (undefined): Error installing new prebuilt rules
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2023-08-04T13:51:47.880+00:00","message":"Unable to create detection rules automatically (undefined): Error installing new prebuilt rules","log":{"level":"ERROR","logger":"plugins.securitySolution"},"process":{"pid":7},"trace":{"id":"f5d20a59456a7dd36e402992bba2f8a2"},"transaction":{"id":"fed118032728c30e"}}
@defensivedepth defensivedepth self-assigned this Aug 7, 2023
@TOoSmOotH TOoSmOotH added this to the 2.4.20 milestone Sep 8, 2023
@weslambert
Copy link
Contributor

The first error can be safely ignored and is likely due to timing. The other error is still being reviewed.

@weslambert
Copy link
Contributor

weslambert commented Sep 19, 2023

The second error is due to an issue with the registry only storing the last two versions of the endpoint package. In this case, the versions are 8.9.0 and 8.9.1. Since we are currently using Elastic 8.8.0, there are no eligible packages to get from the registry. As a result, a null response is provided to Kibana since it expects that the native registry will have all available packages. Since there are no eligible packages in the registry, Kibana defaults to the bundled version of the package.

@TOoSmOotH TOoSmOotH added the must label Sep 21, 2023
@weslambert
Copy link
Contributor

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants