# Error connecting to package registry - No Internet connection

**URL:** <https://discuss.elastic.co/t/error-connecting-to-package-registry-no-internet-connection/298843>\
**Category:** Kibana\
**Tags:** fleet, windows\
**Created:** [March 4, 2022, 1:06pm UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry-no-internet-connection/298843 "2022-03-04T13:06:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bavaria](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@Bavaria](https://discuss.elastic.co/u/Bavaria)\
**Post date:** [March 4, 2022, 1:06pm UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry-no-internet-connection/298843/1 "2022-03-04T13:06:40Z")

</div>

Hey,  
I searched very long, is there a chance to prevent those warning for not able to connecting to package registry or if its clicked in Kibana I am getting errors in my cmd. The Server does not have internet access, so that is why I am getting these.

```auto
[2022-03-04T13:19:44.949+01:00][INFO][status] Kibana is now degraded
[2022-03-04T13:19:47.691+01:00][INFO][status] Kibana is now available (was degraded)
[2022-03-04T13:21:03.536+01:00][WARN][plugins.fleet] Failed installing package [system] due to error: [RegistryConnectionError: Error connecting to package registry: request to https://epr.elastic.co/search?package=system&experimental=true&kibana.version=8.0.1 failed, reason: getaddrinfo EAI_AGAIN epr.elastic.co]
[2022-03-04T13:21:03.540+01:00][WARN][plugins.fleet] Failed installing package [elastic_agent] due to error: [RegistryConnectionError: Error connecting to package registry: request to https://epr.elastic.co/search?package=elastic_agent&experimental=true&kibana.version=8.0.1 failed, reason: getaddrinfo EAI_AGAIN epr.elastic.co]
[2022-03-04T13:21:03.541+01:00][WARN][plugins.fleet] Failed installing package [fleet_server] due to error: [RegistryConnectionError: Error connecting to package registry: request to https://epr.elastic.co/search?package=fleet_server&experimental=true&kibana.version=8.0.1 failed, reason: getaddrinfo EAI_AGAIN epr.elastic.co]
[2022-03-04T13:21:03.573+01:00][INFO][plugins.fleet] Encountered non fatal errors during Fleet setup
[2022-03-04T13:21:03.577+01:00][INFO][plugins.fleet] {"name":"RegistryConnectionError","message":"Error connecting to package registry: request to https://epr.elastic.co/search?package=system&experimental=true&kibana.version=8.0.1 failed, reason: getaddrinfo EAI_AGAIN epr.elastic.co"}
[2022-03-04T13:21:03.578+01:00][INFO][plugins.fleet] {"name":"RegistryConnectionError","message":"Error connecting to package registry: request to https://epr.elastic.co/search?package=elastic_agent&experimental=true&kibana.version=8.0.1 failed, reason: getaddrinfo EAI_AGAIN epr.elastic.co"}
[2022-03-04T13:21:03.579+01:00][INFO][plugins.fleet] {"name":"RegistryConnectionError","message":"Error connecting to package registry: request to https://epr.elastic.co/search?package=fleet_server&experimental=true&kibana.version=8.0.1 failed, reason: getaddrinfo EAI_AGAIN epr.elastic.co"}
[2022-03-04T13:21:03.580+01:00][INFO][plugins.fleet] Fleet setup completed
[2022-03-04T13:21:03.583+01:00][INFO][plugins.securitySolution] Dependent plugin setup complete - Starting ManifestTask
[2022-03-04T14:00:40.494+01:00][INFO][plugins.securitySolution.endpoint:metadata-check-transforms-task:0.0.1] no endpoint metadata transforms found

```

Thank you.

---

<div class="post-metadata">

**Author:** ![joshdover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshdover/32/42020_2.png) [@joshdover](https://discuss.elastic.co/u/joshdover)\
**Post date:** [March 4, 2022, 1:23pm UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry-no-internet-connection/298843/2 "2022-03-04T13:23:59Z")

</div>

If you'd like to use Fleet, you can configure an on-prem registry in your offline environment see: [Air-gapped environments | Fleet and Elastic Agent Guide [8.0] | Elastic](https://www.elastic.co/guide/en/fleet/current/air-gapped.html)

Alternatively, you can disable logging for Fleet to avoid this by adding this to your kibana.yml file:

```nohighlight
logging:
  loggers:
    - name: plugins.fleet
      level: off
```

---

<div class="post-metadata">

**Author:** ![Bavaria](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@Bavaria](https://discuss.elastic.co/u/Bavaria)\
**Post date:** [March 4, 2022, 4:05pm UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry-no-internet-connection/298843/3 "2022-03-04T16:05:03Z")

</div>

Thanks.

---

<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:** [April 1, 2022, 4:06pm UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry-no-internet-connection/298843/4 "2022-04-01T16:06:04Z")

</div>

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