# Error connecting to package registry

**URL:** <https://discuss.elastic.co/t/error-connecting-to-package-registry/349299>\
**Category:** Kibana\
**Created:** [December 13, 2023, 9:01pm UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry/349299 "2023-12-13T21:01:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_Niu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_niu/32/122260_2.png) [@A\_Niu](https://discuss.elastic.co/u/A_Niu)\
**Post date:** [December 13, 2023, 9:01pm UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry/349299/1 "2023-12-13T21:01:28Z")

</div>

My Kibana is running behind corporate proxy, with curl, [epr.elastic.co](http://epr.elastic.co) is reachable, but with Kibana service, I got below error, and added signer certificates into /etc/default/kibana  
NODE\_EXTRA\_CA\_CERTS="/etc/kibana/certs/live-kibana-bundle.pem" , and set http\_proxy/https\_proxy in /usr/lib/systemd/system/kibana.service, but no luck, the error is as below.

> [ERROelease=true&kibana.version=8.11.3 failed, reason: getaddrinfo ENOTFOUND epr.elastic.coR][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.11.3](https://epr.elastic.co/search?package=synthetics&prerelease=true&kibana.version=8.11.3) failed, reason: getaddrinfo ENOTFOUND [epr.elastic.co](http://epr.elastic.co)

Thanks in advance.

Arthur

---

<div class="post-metadata">

**Author:** ![A\_Niu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_niu/32/122260_2.png) [@A\_Niu](https://discuss.elastic.co/u/A_Niu)\
**Post date:** [December 13, 2023, 9:35pm UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry/349299/2 "2023-12-13T21:35:09Z")

</div>

Fixed it by appending below line in /etc/kibana/kibana.yml, hope this helps others.  
xpack.fleet.registryProxyUrl: [http://proxy.csd.com:8888](http://proxy.csd.com:8888)

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [December 14, 2023, 1:17am UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry/349299/3 "2023-12-14T01:17:04Z")

</div>

@A_Niu Welcome to the community and Thanks for Providing the Solution to your Topic.  
Nicely Done!

---

<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:** [January 11, 2024, 1:17am UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry/349299/4 "2024-01-11T01:17:57Z")

</div>

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