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

file URI scheme not supported by agent.download.sourceURI #25855

Closed
n0othing opened this issue May 25, 2021 · 2 comments
Closed

file URI scheme not supported by agent.download.sourceURI #25855

n0othing opened this issue May 25, 2021 · 2 comments
Labels
Agent bug discuss Issue needs further discussion. Stalled Team:Elastic-Agent Label for the Agent team

Comments

@n0othing
Copy link
Member

  • Version: Elastic Agent 7.12.1
  • Operating System: Windows 10

While not officially supported, the Elastic Agent can be provided a agent.download.sourceURI to download updates. The code [1] seems to suggest you can use http, https, and file URI schemes. However, when the Agent is configured with a file URI (e.g file://<ip_address>) the Agent logs an error about an unsupported protocol:

fetching package failed: Get "file://<ip_address>/elastic-artifacts/beats/elastic-agent/elastic-agent-7.12.1-windows-x86_64.zip": unsupported protocol scheme "file"

[1] https://github.com/elastic/beats/blob/master/x-pack/elastic-agent/pkg/artifact/download/http/downloader.go#L78-L83

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 25, 2021
@jsoriano jsoriano added discuss Issue needs further discussion. Team:Elastic-Agent Label for the Agent team labels Jun 23, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@botelastic
Copy link

botelastic bot commented Jun 23, 2022

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added the Stalled label Jun 23, 2022
@botelastic botelastic bot closed this as completed Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agent bug discuss Issue needs further discussion. Stalled Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

3 participants