DNF update doesn't work - 'Status code: 403' for any repo configured

Posted on

Hello!

I have a problem updating my RHEL 9.4 server, since couple of days it has been giving me following error:

[root@nas ~]# dnf update
Updating Subscription Management repositories.
Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)                      105  B/s | 468  B     00:04
Errors during downloading metadata for repository 'rhel-9-for-x86_64-appstream-rpms':
  - Status code: 403 for https://cdn.redhat.com/content/dist/rhel9/9/x86_64/appstream/os/repodata/repomd.xml (IP: 95.101.64.251)
Error: Failed to download metadata for repo 'rhel-9-for-x86_64-appstream-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

First it was giving me this error for 'codeready-builder-for-rhel-9-x86_64-rpms' repo, I've disabled it temporary with

# subscription-manager repos --disable=codeready-builder-for-rhel-9-x86_64-rpms

Now this error is for 'rhel-9-for-x86_64-appstream-rpms' so I think it is not specific to a repository, but a general issue connecting to Red Hat's CDN.

If I try to open https://cdn.redhat.com/content/dist/rhel9/9/x86_64/appstream/os/repodata/repomd.xml from a PC behind same router (NAT) as the server, I get this page:


<HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD><BODY> <H1>Access Denied</H1> You don't have permission to access "http&#58;&#47;&#47;cdn&#46;redhat&#46;com&#47;content&#47;dist&#47;rhel9&#47;9&#47;x86&#95;64&#47;appstream&#47;os&#47;repodata&#47;repomd&#46;xml" on this server.<P> Reference&#32;&#35;18&#46;dde6655f&#46;1719857856&#46;112c31f2 <P>https&#58;&#47;&#47;errors&#46;edgesuite&#46;net&#47;18&#46;dde6655f&#46;1719857856&#46;112c31f2</P> </BODY> </HTML>

Is it possible that my IP is blocked by the CDN?

Current version is:

# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.4 (Plow)

Thank you!

Responses