# Elastic agent tries to download beats from Elastic artifacts directly without passing by fleet server

**URL:** <https://discuss.elastic.co/t/elastic-agent-tries-to-download-beats-from-elastic-artifacts-directly-without-passing-by-fleet-server/290676>\
**Category:** Kibana\
**Tags:** fleet\
**Created:** [December 1, 2021, 2:07pm UTC](https://discuss.elastic.co/t/elastic-agent-tries-to-download-beats-from-elastic-artifacts-directly-without-passing-by-fleet-server/290676 "2021-12-01T14:07:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![djamel.lahouazi](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@djamel.lahouazi](https://discuss.elastic.co/u/djamel.lahouazi)\
**Post date:** [December 1, 2021, 2:07pm UTC](https://discuss.elastic.co/t/elastic-agent-tries-to-download-beats-from-elastic-artifacts-directly-without-passing-by-fleet-server/290676/1 "2021-12-01T14:07:57Z")

</div>

I installed fleet server & kibana in a machine that has access to internet and installed elasticagent in Windows server that does not have access to internet. But when I try to add integration (osquerybeat) i find in the logs that elasticagent tries to connect to elastic artifacts directly without passing by fleet or kibana.

Version i installed  
Elasticsearch, kibana, fleet & elasticagent all in 7.15.1

Is that a bug! Cause i can see also an open issue in the github

---

<div class="post-metadata">

**Author:** ![mostlyjason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mostlyjason/32/60849_2.png) [@mostlyjason](https://discuss.elastic.co/u/mostlyjason)\
**Post date:** [December 1, 2021, 2:27pm UTC](https://discuss.elastic.co/t/elastic-agent-tries-to-download-beats-from-elastic-artifacts-directly-without-passing-by-fleet-server/290676/2 "2021-12-01T14:27:05Z")

</div>

Air gapped networks are not supported yet in Fleet [Beats and Elastic Agent capabilities | Fleet and Elastic Agent Guide [7.15] | Elastic](https://www.elastic.co/guide/en/fleet/current/beats-agent-comparison.html). We have an open issue to change the URL for the artifact repo here [[Fleet] Ability to configure agent.download.sourceURI in Kibana · Issue #100413 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/100413). This will allow you to host an on-prem repo. Would that be a sufficient solution once its available?

Your suggestion of going through Kibana won't work in environments where the agents don't have access to Kibana. The agents do have access to Fleet Server, but sometimes Fleet Server also runs in an air gapped network. Is that the case for you as well?

---

<div class="post-metadata">

**Author:** ![djamel.lahouazi](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@djamel.lahouazi](https://discuss.elastic.co/u/djamel.lahouazi)\
**Post date:** [December 1, 2021, 3:29pm UTC](https://discuss.elastic.co/t/elastic-agent-tries-to-download-beats-from-elastic-artifacts-directly-without-passing-by-fleet-server/290676/3 "2021-12-01T15:29:28Z")

</div>

Is this workaround works for Fleet-managed elasticagents?

If yes, which kibana parameter do i must change to allow elasticagents to download from local repository?

---

<div class="post-metadata">

**Author:** ![mostlyjason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mostlyjason/32/60849_2.png) [@mostlyjason](https://discuss.elastic.co/u/mostlyjason)\
**Post date:** [December 1, 2021, 4:26pm UTC](https://discuss.elastic.co/t/elastic-agent-tries-to-download-beats-from-elastic-artifacts-directly-without-passing-by-fleet-server/290676/4 "2021-12-01T16:26:43Z")

</div>

This feature is not supported yet in 7.15. The issue I linked is a future enhancement we are considering for a later release.

---

<div class="post-metadata">

**Author:** ![0xFFFFFF](https://avatars.discourse-cdn.com/v4/letter/0/49beb7/32.png) [@0xFFFFFF](https://discuss.elastic.co/u/0xFFFFFF)\
**Post date:** [December 1, 2021, 4:29pm UTC](https://discuss.elastic.co/t/elastic-agent-tries-to-download-beats-from-elastic-artifacts-directly-without-passing-by-fleet-server/290676/5 "2021-12-01T16:29:04Z")

</div>

Many thanks for your support and your reactivity  
Regards.

---

<div class="post-metadata">

**Author:** ![djamel.lahouazi](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@djamel.lahouazi](https://discuss.elastic.co/u/djamel.lahouazi)\
**Post date:** [December 2, 2021, 12:24am UTC](https://discuss.elastic.co/t/elastic-agent-tries-to-download-beats-from-elastic-artifacts-directly-without-passing-by-fleet-server/290676/6 "2021-12-02T00:24:09Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 30, 2021, 12:24am UTC](https://discuss.elastic.co/t/elastic-agent-tries-to-download-beats-from-elastic-artifacts-directly-without-passing-by-fleet-server/290676/7 "2021-12-30T00:24:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
