Why does Yum/DNF fails to fetch the epel repos behind the Proxy using NTLM authentication?

Solution Verified - Updated -

Issue

  • Yum/DNF fails to fetch the epel repositories on the Proxy server with error status code 407.
Errors during downloading metadata for repository 'epel-everything':
  - Status code: 407 for http://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/repodata/repomd.xml (IP: 10.107.250.81)
Error: Failed to download metadata for repo 'epel-everything': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Environment

  • Red Hat Enterprise Linux 8.
  • NTLM Proxy.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content