Welcome! Thanks for raising your issue. Can you provide the command you are running or asset you are trying to access that you're receiving a 403 error for?
I'm slightly surprised that you are receiving a block in your location. We have seen developers in North America, particularly using OVH, where there was a block by Google CDN due to IPv6 being enabled. Can you please confirm that IPv6 is disabled on your host?
Let me know if this doesn't resolve the issue/ doesn't make sense and I'll raise an unblock request.
This sounds like an authentication issue against your Elasticsearch cluster rather than an issue downloading Elastic artifacts which is what this topic is focused on.
If the 403 is from you initiating a cURL request to your Elasticsearch server I would check your credentials (API key or username/ password combination) are correct.
I'm trying from two different machines using the CURL command. Two different results. When I run the same command from the Elasticsearch host (81.94.230.226) I get a 403.
Thanks for clarifying what you are seeing @Edgars_Lukss. So the host you need to download onto is indeed experiencing a 403 error when trying to access the APM artifact, but it's working as expected on your own machine.
I don't see a particular reason why so I'll raise the request and revert back when I've received a response. Please note it can take some time to process the request.
shinn@noble-fix:~/tmp$ sudo apt install elasticsearch
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
elasticsearch
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 636 MB of archives.
After this operation, 1210 MB of additional disk space will be used.
Err:1 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 elasticsearch amd64 8.17.0
403 Forbidden [IP: 34.120.127.130 443]
E: Failed to fetch https://artifacts.elastic.co/packages/8.x/apt/pool/main/e/elasticsearch/elasticsearch-8.17.0-amd64.deb 403 Forbidden [IP: 34.120.127.130 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Thanks for your patience. I've followed up with the team and they have confirmed that this ASN cannot be unblocked due to a connection to a sanctioned country. I would recommend trying another IP.
Welcome! Thanks for raising your issue. Unfortunately we are unable to unblock your IP as the ASN is connected to a sanctioned country that we cannot unblock. I would recommend trying another IP if you can.
[2025-02-03T07:21:35.467+00:00][ERROR][plugins.fleet] '403 Forbidden' error response from package registry at https://epr.elastic.co/categories?kibana.version=8.17.0
[2025-02-03T07:21:35.475+00:00][ERROR][plugins.fleet] '403 Forbidden' error response from package registry at https://epr.elastic.co/search?kibana.version=8.17.0
Welcome! Thanks for raising your issue. Unfortunately the ASN that your IP is part of is showing a connection to a sanctioned country. I'm not able to unblock this IP, so I would recommend trying an alternatively IP.
Thanks for raising! I don't see an obvious reason for your IP being unblocked, so I'll follow up with the team to confirm. I'll revert back when I have an update.
Can you please raise the command you are running or asset on which you're receiving the 403? That is useful for the request.
Just a heads up these requests can take some time to action.
Thanks for reaching out. Please see below responses:
To confirm, I didn't say that your IP won't be unblocked. That was another IP raised by another developer. In your case I said:
I don't see an obvious reason for your IP being unblocked, so I'll follow up with the team to confirm.
To clarify, the unblocking is handled by an internal team that I need to raise a ticket for. Hence the need for me to follow up. But I do perform some initial checks on your IP in case there is an obvious reason why your IP would be intentionally blocked.
I want to know which Elastic asset you are trying to download that is generating the 403 response. This is useful for the request.
For example, are you trying to download Elasticsearch on Linux via wgetas per the documentation?
curl -L -O https://artifacts.elastic.co/downloads/apm-server/apm-server-7.17.27-linux-x86_64.tar.gz
tar xzvf apm-server-7.17.27-linux-x86_64.tar.gz
I see you've provided that in the prior response which is exactly what I need. Thanks for that! Apologies if I missed that before.
As an aside, are you using OVH for hosting (judging from your wget output)? If so, can you also confirm that you have IPv6 disabled on your host? As stated in the title topic some users have encountered issues on OVH where IPv6 is enabled.
I hope you're both well. I've received word today that the ASNs for your IPs have been added to the allowlist. It can take some time to propagate but you should be able to download Elastic assets on those IPs.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.