[RHUI 4] Yum or DNF commands fails with error 'Cannot prepare internal mirrorlist: Status code: 400'
Issue
-
On the clients connected to RHUI,
yum
anddnf
commands fails with the below error:dnf.exceptions.RepoError: Failed to download metadata for repo 'rhui-rhel-8-for-x86_64-appstream-rhui-rpms': Cannot prepare internal mirrorlist: Status code: 400 for https://rhui.example.com/pulp/mirror/content/dist/rhel8/rhui/8/x86_64/appstream/os (IP: xxx.xx.xx.xx)
Environment
- Red Hat Update Infrastructure 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.