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

[8.11] [Fleet] Fix 500 in Fleet API when request to product versions endpoint throws ECONNREFUSED (#172850) #172864

Merged
merged 1 commit into from Dec 7, 2023

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.11:

Questions ?

Please refer to the Backport tool documentation

…t throws ECONNREFUSED (elastic#172850)

## Summary

Network-level errors will cause `fetch` to `throw` rather than resolving
with a status code. This PR updates our logic to handle this case for
airgapped environments where `ECONNREFUSED` style errors squash HTTP
requests at the DNS level.

(cherry picked from commit be6fbc4)
@kibanamachine kibanamachine enabled auto-merge (squash) December 7, 2023 18:19
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Dec 7, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kibana-ci
Copy link
Collaborator

kibana-ci commented Dec 7, 2023

💔 Build Failed

Failed CI Steps

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @kpollich

@kibanamachine kibanamachine merged commit 5940f41 into elastic:8.11 Dec 7, 2023
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants