-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Elastic Agent: Error: fail to enroll: fail to execute request to Kibana: EOF #25022
Comments
Pinging @elastic/agent (Team:Agent) |
Another occurrence: @blakerouse @michalpristas any idea what can be the root cause here? |
havent seen this so far, any special circumstances? |
looking at the code this is most likely coming from http.Client itself, other errors are decorated with messages. |
7.13.0-SNAPSHOT
All logs are present here: When a similar issue happened in the past I suspected that something restarts in background (fleet-server?). |
i was hoping for a log file inside |
Unfortunately we don't have it. If there is a way to route the output of that file to stdout/stderr we can grab it with |
@michalpristas 7.13+ docker of Elastic Agent routes the |
havent seen this in last 12 builds, will keep an eye but maybe it was fixed as a side effect of other enroll changes. |
We suspected that it may be related to the healthcheck issue, but unfortunately we can't switch to the correct one yet. For reference: elastic/elastic-package#329 (comment) |
I am going to close this, its april 13. |
We noticed some flakiness with enrollment:
Source: https://beats-ci.elastic.co/job/Ingest-manager/job/integrations/job/master/227/artifact/build/elastic-stack-dump/latest/barracuda/logs/elastic-agent.log
We aren't using the recommended healthcheck due to the other issue: #24956
So far it's https://github.com/elastic/elastic-package/blob/master/internal/install/static_snapshot_yml.go#L105.
Do you have any idea why was there the EOF issue?
The text was updated successfully, but these errors were encountered: