-
Notifications
You must be signed in to change notification settings - Fork 155
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] Debug fleet-server connectivity #115
Comments
Pinging @elastic/agent (Team:Agent) |
Can we close this one in favour of elastic/beats#27764? |
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
This is not necessarily the same thing. One is around having better errors, the other one is around having a command to test the connection. I think we need both. We have done something similar for LS in Beats and it worked out really well. |
If this is provided as a command we can also include it in diagnostics output/bundles |
I was looking at the user issue and precisely investigating a connection problem, As a normal user I was able to start When we ask a user for a diagnostic the elastic-agent diagnostic command is run in the current user environment and connect to the other elastic agent. We could add The first I see is: Is there an HTTP(S)_PROXY set in the user env? |
The Elastic Agent must connect to the fleet-server for enrollement. There are several issues that can happen around the connectivity to fleet-server. If the enrollment doesn't work, it would be nice to have a command line tool to investigate on what the actual issue is. Things like: certificate issue, port not open, host not reachable, wrong token etc.
This idea was triggered by issues like this one: elastic/fleet-server#235 (comment)
The text was updated successfully, but these errors were encountered: