-
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] Agent should be resilient to gzip errors #17915
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
@111andre111 trying to reproduce this negative so far. |
is this is still a problem? |
So I have rechecked now again
And it still happens with a fresh pulled master branch. I did now some digging and started up a tcpdump. This showed me 2 requests from the Agent:
I hope that helps a bit more. |
we went through @111andre111 's use case and found out that his data path contains corrupted tar archives. |
@michalpristas Maybe we should find a way to recover from that state, redownload archive or verify the archives? |
yes in case we have a checksum hash available we can, but in other case we can limit retry to 1 and then fail hard not to get stuck in a loop wdyt |
@michalpristas Sound, good, I've changed the title of the issue to make it more actionable, I am going to move it to beta1. |
Another thing important to mention what I found out is the point out is if I use the snapshots:
And as a last point: In second case it takes the data directory under build path, in first case, it wants the path one directory higher. So it wants the path relative where you actually are, and not where the executable artifact lies in. |
Should be upcoming to be resolved in #18685 |
At the moment I am getting a message like this one:
I am not sure of why that happens but obviously it seems like Kibana is waiting for a gzip header here or the agent doesn't send it like it's supposed to be?
The text was updated successfully, but these errors were encountered: