DNF update doesn't work - 'Status code: 403' for any repo configured
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://cdn.redhat.com/content/dist/rhel9/9/x86_64/appstream/os/repodata/repomd.xml" on this server.<P>
Reference #18.dde6655f.1719857856.112c31f2
<P>https://errors.edgesuite.net/18.dde6655f.1719857856.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!