# Issues with the RPM repository provided in the HowTo

**URL:** <https://discuss.elastic.co/t/issues-with-the-rpm-repository-provided-in-the-howto/362320>\
**Category:** Elastic Search\
**Created:** [July 1, 2024, 8:39pm UTC](https://discuss.elastic.co/t/issues-with-the-rpm-repository-provided-in-the-howto/362320 "2024-07-01T20:39:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julio\_Barreto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julio_barreto/32/135693_2.png) [@Julio\_Barreto](https://discuss.elastic.co/u/Julio_Barreto)\
**Post date:** [July 1, 2024, 8:39pm UTC](https://discuss.elastic.co/t/issues-with-the-rpm-repository-provided-in-the-howto/362320/1 "2024-07-01T20:39:17Z")

</div>

Hello,

I am experiencing issues when trying to set up the RPM repository for Elasticsearch as described in the official guide: [Install Elasticsearch with RPM | Elasticsearch Guide [8.14] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.14/rpm.html#rpm-repo).

Here is the command I am using as per the guide:

sudo rpm --import [https://artifacts.elastic.co/GPG-KEY-elasticsearch](https://artifacts.elastic.co/GPG-KEY-elasticsearch)  
cat \<\<EOF | sudo tee /etc/yum.repos.d/elasticsearch.repo  
[elasticsearch-8.x]  
name=Elasticsearch repository for 8.x packages  
baseurl=[https://artifacts.elastic.co/packages/8.x/yum](https://artifacts.elastic.co/packages/8.x/yum)  
gpgcheck=1  
gpgkey=[https://artifacts.elastic.co/GPG-KEY-elasticsearch](https://artifacts.elastic.co/GPG-KEY-elasticsearch)  
enabled=1  
autorefresh=1  
type=rpm-md  
EOF

# dnf update

Updating Subscription Management repositories.  
Elastic repository for 8.x packages 0.0 B/s | 0 B 00:12  
Errors during downloading metadata for repository 'elastic-8.x':

- Curl error (7): Couldn't connect to server for [https://artifacts.elastic.co/packages/8.x/yum/repodata/repomd.xml](https://artifacts.elastic.co/packages/8.x/yum/repodata/repomd.xml) [Failed to connect to [artifacts.elastic.co](http://artifacts.elastic.co) port 443: No route to host]  
Error: Failed to download metadata for repo 'elastic-8.x': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

---

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [July 2, 2024, 3:48am UTC](https://discuss.elastic.co/t/issues-with-the-rpm-repository-provided-in-the-howto/362320/2 "2024-07-02T03:48:45Z")

</div>

Standard tests with ping, curl, etc. Check date/time sync for ssl.

---

<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:** [July 30, 2024, 3:49am UTC](https://discuss.elastic.co/t/issues-with-the-rpm-repository-provided-in-the-howto/362320/3 "2024-07-30T03:49:40Z")

</div>

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