yum/dnf commands fails with the error Received HTTP code 407 from proxy after CONNECT
Issue
-
Why does yum/dnf fails with the error
[Received HTTP code 407 from proxy after CONNECT]?Errors during downloading metadata for repository 'rhel-8-for-x86_64-appstream-rpms': - Curl error (56): Failure when receiving data from the peer for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os/repodata/repomd.xml [Received HTTP code 407 from proxy after CONNECT] Error: Failed to download metadata for repo 'rhel-8-for-x86_64-appstream-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Environment
- Red Hat Enterprise Linux 8
- Red Hat Subscription Manager (RHSM)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.