# Receiving a 403 error attempting to download anything from Elrepo using Rocky 9

**URL:** <https://forums.rockylinux.org/t/receiving-a-403-error-attempting-to-download-anything-from-elrepo-using-rocky-9/7774>\
**Category:** Rocky Linux Help & Support\
**Created:** [November 5, 2022, 11:36pm UTC](https://forums.rockylinux.org/t/receiving-a-403-error-attempting-to-download-anything-from-elrepo-using-rocky-9/7774 "2022-11-05T23:36:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cave\_zero](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@Cave\_zero](https://forums.rockylinux.org/u/Cave_zero)\
**Post date:** [November 5, 2022, 11:36pm UTC](https://forums.rockylinux.org/t/receiving-a-403-error-attempting-to-download-anything-from-elrepo-using-rocky-9/7774/1 "2022-11-05T23:36:11Z")

</div>

I am attempting to retrieve packages from Elrepo but for unknown reasons I am receiving a 403 Forbidden message from their server. I am running Rocky 9 as a VPS instance provided by Vultr. My only guess is that they may have restricted access through this particular cloud service?? Which makes no sense at all. I am not receiving this error on my laptop which i use to access my VPC.

```nohighlight
Connecting to elrepo.org (elrepo.org)|69.195.83.87|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2022-11-05 23:25:35 ERROR 403: Forbidden.
type or paste code here

```

I just want to get the wireguard kernel module. I just tried to compile it from source instead but all of the development tools are provided by elrepo as well. How frustrating. Looks like I might have to grab all the tools from somewhere else unless there’s a fix for this. Perhaps I should contact elrepo or vultr or both and theyll have some insight.  
Has anyone else encountered this issue?  
WTH is going on?

edit: i just noticed that the request was made using https when elrepo only supports http. (why?) so theres the reason i guess. any more insight is welcome. how do i force dnf to use http instead?

---

<div class="post-metadata">

**Author:** ![toracat](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/toracat/32/68_2.png) [@toracat](https://forums.rockylinux.org/u/toracat)\
**Post date:** [November 5, 2022, 11:45pm UTC](https://forums.rockylinux.org/t/receiving-a-403-error-attempting-to-download-anything-from-elrepo-using-rocky-9/7774/2 "2022-11-05T23:45:51Z")

</div>

You can use one of the mirrors to get elrepo’s packages.

If you wish to retrieve them from [elrepo.org](http://elrepo.org), try sending your IP address to [contact@elrepo.org](mailto:contact@elrepo.org) to find out if yours is being blocked.

---

<div class="post-metadata">

**Author:** ![toracat](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/toracat/32/68_2.png) [@toracat](https://forums.rockylinux.org/u/toracat)\
**Post date:** [November 6, 2022, 2:24am UTC](https://forums.rockylinux.org/t/receiving-a-403-error-attempting-to-download-anything-from-elrepo-using-rocky-9/7774/3 "2022-11-06T02:24:34Z")

</div>

By the way, if you are running Rocky 9, you don’t need the kmod package. Wireguard is natively supported in the EL9 kernel.

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:35am UTC](https://forums.rockylinux.org/t/receiving-a-403-error-attempting-to-download-anything-from-elrepo-using-rocky-9/7774/4 "2023-08-25T03:35:17Z")

</div>


