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

[Elastic Agent] Docker error: connection to Kibana is insecure #20312

Closed
mtojek opened this issue Jul 29, 2020 · 3 comments · Fixed by #20713
Closed

[Elastic Agent] Docker error: connection to Kibana is insecure #20312

mtojek opened this issue Jul 29, 2020 · 3 comments · Fixed by #20713
Assignees

Comments

@mtojek
Copy link
Contributor

mtojek commented Jul 29, 2020

While working on updating Docker image versions in elastic/integrations#202, @ruflin discovered an issue with running the Agent connecting to the insecure Kibana:

elastic/integrations#202 (comment)

Error message:

elastic-agent_1     | 4c520b1e-09f6-479a-8530-bb9ea44f754f
elastic-agent_1     |   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
elastic-agent_1     |                                  Dload  Upload   Total   Spent    Left  Speed
100   339  100   339    0     0  14246      0 --:--:-- --:--:-- --:--:-- 14739
elastic-agent_1     | TEZ3R21uTUJQeTFoanNKSFlPc2Q6WkRhRnBuU3FRbDI4MGVoMkhwTWR6dw==
elastic-agent_1     | The Elastic Agent is currently in BETA and should not be used in production
elastic-agent_1     | Error: connection to Kibana is insecure, strongly recommended to use a secure connection (override with --insecure)
environments_elastic-agent_1 exited with code 1

I think we may need an additional flag to be exposed or fix in the enrollment script.

/cc @michalpristas

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ingest-management (Team:Ingest Management)

@ruflin
Copy link
Member

ruflin commented Jul 31, 2020

@michalpristas Is it possible to pass this in as a flag into the container?

@mtojek
Copy link
Contributor Author

mtojek commented Jul 31, 2020

I suppose it would be similar to FLEET_ENROLL=1 and friends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants