Skip to content

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

@mtojek

Description

@mtojek

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions