# Kibana behind firewall

**URL:** <https://discuss.elastic.co/t/kibana-behind-firewall/356558>\
**Category:** Kibana\
**Created:** [April 1, 2024, 2:16pm UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558 "2024-04-01T14:16:55Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [April 1, 2024, 2:16pm UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/1 "2024-04-01T14:16:55Z")

</div>

I have my kibana running behind firewall and can't connect to outside world. I don't need to connect either. it is working fine but

getting following error. how do I stop kibana to even trying.?

I already has this in kibana.yml

```auto
telemetry.optIn: false
xpack.fleet.enabled: false

```

```auto

[2024-03-28T16:24:44.631-05:00][ERROR][plugins.observabilityAIAssistant] Failed to resolve ELSER model definition: Error: Platinum, Enterprise or trial license needed
[2024-03-28T16:24:46.387-05:00][ERROR][plugins.fleet] Package needs to be manually reinstalled synthetics after installing Fleet global assets: Cannot reinstall an uploaded package
[2024-03-28T16:25:04.577-05:00][ERROR][plugins.securitySolution.telemetry_events] [task security:telemetry-configuration:1.0.0]: error scheduling task, received Request timed out
[2024-03-28T16:25:04.621-05:00][ERROR][plugins.apm] Failed to add API keys to APM package policies
[2024-03-28T16:25:04.624-05:00][ERROR][plugins.apm] TimeoutError: Request timed out
    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:527:31)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processTimers (node:internal/timers:511:9)
[2024-03-28T16:25:04.632-05:00][ERROR][plugins.apm] Failed to schedule APM source map migration
[2024-03-28T16:25:04.633-05:00][ERROR][plugins.apm] TimeoutError: Request timed out
    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:527:31)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at listOnTimeout (node:internal/timers:540:9)
    at processTimers (node:internal/timers:514:7)
[2024-03-28T16:25:20.448-05:00][ERROR][plugins.fleet] Failed to fetch latest version of synthetics from registry: Error connecting to package registry: request to https://epr.elastic.co/search?package=synthetics&prerelease=false&kibana.version=8.13.0 failed, reason: read ECONNRESET
[2024-03-28T16:25:28.687-05:00][ERROR][plugins.fleet] Failed to fetch latest version of synthetics from registry: Error connecting to package registry: request to https://epr.elastic.co/search?package=synthetics&prerelease=true&kibana.version=8.13.0 failed, reason: read ECONNRESET
[2024-03-28T23:00:37.543-05:00][ERROR][plugins.taskManager] Task apm-telemetry-task "apm-telemetry-task" failed: ReferenceError: Cannot access 'collectAndStore' before initialization

```

---

<div class="post-metadata">

**Author:** ![Tre\_Seymour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tre_seymour/32/46507_2.png) [@Tre\_Seymour](https://discuss.elastic.co/u/Tre_Seymour)\
**Post date:** [April 4, 2024, 8:32am UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/2 "2024-04-04T08:32:45Z")

</div>

Salutations @elasticforme ,

To get started what version of our software are you running?

Also, which license do you have?

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [April 4, 2024, 1:54pm UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/3 "2024-04-04T13:54:53Z")

</div>

basic version 8.13.0

---

<div class="post-metadata">

**Author:** ![Tre\_Seymour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tre_seymour/32/46507_2.png) [@Tre\_Seymour](https://discuss.elastic.co/u/Tre_Seymour)\
**Post date:** [April 4, 2024, 4:02pm UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/4 "2024-04-04T16:02:55Z")

</div>

Ok I'm waiting to hear back from the team on what changes need to be made.  
Thanks for asking!

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 4, 2024, 4:21pm UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/5 "2024-04-04T16:21:00Z")

</div>

> [@elasticforme](#):
>
> ```auto
> [2024-03-28T16:25:20.448-05:00][ERROR][plugins.fleet] Failed to fetch latest version of synthetics from registry: Error connecting to package registry: request to https://epr.elastic.co/search?package=synthetics&prerelease=false&kibana.version=8.13.0 failed, reason: read ECONNRESET
> [2024-03-28T16:25:28.687-05:00][ERROR][plugins.fleet] Failed to fetch latest version of synthetics from registry: Error connecting to package registry: request to https://epr.elastic.co/search?package=synthetics&prerelease=true&kibana.version=8.13.0 failed, reason: read ECONNRESET
> 
> ```

Not sure about the other errors, but those seems to be related to the integrations as they are trying to connect to [epr.elastic.co](http://epr.elastic.co), which is the endpoint for the integrations packages.

Since a lot of things in Kibana now relies in integrations, I would expect some of them to not work right or throw some errors in the logs if it cannot access the epr endoint.

In this case you would need to have an air-gapped EPR as explained in this [documentation](https://www.elastic.co/guide/en/fleet/current/air-gapped.html).

---

<div class="post-metadata">

**Author:** ![Tre\_Seymour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tre_seymour/32/46507_2.png) [@Tre\_Seymour](https://discuss.elastic.co/u/Tre_Seymour)\
**Post date:** [April 5, 2024, 9:27am UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/6 "2024-04-05T09:27:49Z")

</div>

@elasticforme

Can you try these settings please:

```auto
newsfeed.enabled: false
telemetry.optIn: false
map.includeElasticMapsService: false

```

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [April 5, 2024, 2:46pm UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/7 "2024-04-05T14:46:20Z")

</div>

> [@Tre\_Seymour](#):
>
> ```auto
> newsfeed.enabled: false
> telemetry.optIn: false
> map.includeElasticMapsService: false
> 
> ```

Great,  
only one error message left and startup time of kibana reduce by lot

`[2024-04-05T09:43:47.956-05:00][ERROR][plugins.observabilityAIAssistant] Failed to resolve ELSER model definition: Error: Platinum, Enterprise or trial license needed`

---

<div class="post-metadata">

**Author:** ![Tre\_Seymour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tre_seymour/32/46507_2.png) [@Tre\_Seymour](https://discuss.elastic.co/u/Tre_Seymour)\
**Post date:** [April 9, 2024, 11:11am UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/8 "2024-04-09T11:11:21Z")

</div>

Awesome!

Checking my colleagues now

---

<div class="post-metadata">

**Author:** ![Tre\_Seymour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tre_seymour/32/46507_2.png) [@Tre\_Seymour](https://discuss.elastic.co/u/Tre_Seymour)\
**Post date:** [April 10, 2024, 10:56am UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/9 "2024-04-10T10:56:49Z")

</div>

Hello again.

If you're amenable to upgrading to 8.14, can you try this please: `xpack.observabilityAIAssistant.enabled: false`

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [April 10, 2024, 5:33pm UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/10 "2024-04-10T17:33:07Z")

</div>

man 8.14 is already out. this thing moves soooo fast I can't keep up. LOL

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 10, 2024, 6:00pm UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/11 "2024-04-10T18:00:46Z")

</div>

> [@elasticforme](#):
>
> man 8.14 is already out. this thing moves soooo fast I can't keep up. LOL

8.14 is not out yet, the most recent is 8.13.2 which was released on Monday to fix an issue with the bundled java.

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [April 11, 2024, 6:57pm UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/12 "2024-04-11T18:57:09Z")

</div>

now all this changes made following unavailable

enterprise search  
observability  
secutiry

not that it matter to me at this time.

---

<div class="post-metadata">

**Author:** ![Tre\_Seymour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tre_seymour/32/46507_2.png) [@Tre\_Seymour](https://discuss.elastic.co/u/Tre_Seymour)\
**Post date:** [April 15, 2024, 9:59am UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/13 "2024-04-15T09:59:55Z")

</div>

So, how are we doing here @elasticforme ?

Sounds like your deployment is not doing great?

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [April 15, 2024, 2:34pm UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/14 "2024-04-15T14:34:41Z")

</div>

no all good. I use what you suggested and kibana start time reduce by lot and also no more warning messages.

I did upgrade to 8.13.2 as well.

---

<div class="post-metadata">

**Author:** ![Tre\_Seymour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tre_seymour/32/46507_2.png) [@Tre\_Seymour](https://discuss.elastic.co/u/Tre_Seymour)\
**Post date:** [April 16, 2024, 8:32am UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/15 "2024-04-16T08:32:50Z")

</div>

Ok, awesome!

Glad to hear it @elasticforme!

Please don't hesitate to contact us for anything else that may come up!

---

<div class="post-metadata">

**Author:** ![Tre\_Seymour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tre_seymour/32/46507_2.png) [@Tre\_Seymour](https://discuss.elastic.co/u/Tre_Seymour)\
**Post date:** [April 16, 2024, 8:37am UTC](https://discuss.elastic.co/t/kibana-behind-firewall/356558/16 "2024-04-16T08:37:47Z")

</div>


