Git Product home page Git Product logo

Comments (6)

michel-laterman avatar michel-laterman commented on July 22, 2024 2

If this is provided as a command we can also include it in diagnostics output/bundles

from elastic-agent.

elasticmachine avatar elasticmachine commented on July 22, 2024

Pinging @elastic/agent (Team:Agent)

from elastic-agent.

jlind23 avatar jlind23 commented on July 22, 2024

Can we close this one in favour of elastic/beats#27764?

from elastic-agent.

elasticmachine avatar elasticmachine commented on July 22, 2024

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

from elastic-agent.

ruflin avatar ruflin commented on July 22, 2024

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.

from elastic-agent.

ph avatar ph commented on July 22, 2024

I was looking at the user issue and precisely investigating a connection problem, As a normal user I was able to start Elastic-Agent run and the agent was able to successfully connect to fleet-server. When the Elastic Agent was run under systemd the agent was unable to connect to the remote server. When discussing with the user, we was unaware that he had a http(s)_proxy configured on this system. By default systemd start the process with a clean environment and doesn't inherit the globally set proxy variables.

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 bootstraps checks and return the result to the user.

The first I see is:

Is there an HTTP(S)_PROXY set in the user env?
Is there an HTTP(S)_PROXY set in the elastic-agent environment?

from elastic-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.