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.
Here is the command I am using as per the guide:
sudo rpm --import 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
gpgcheck=1
gpgkey=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 [Failed to connect to 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