While updating client systems from CDS, it fails with "PYCURL ERROR 22 - "The requested URL returned error: 401 Authorization Required""

Solution Verified - Updated -

Issue

  • While updating client systems from CDS, it fails with error:
https://cds01.example.com/pulp/repos///content/dist/rhel/rhui/server/6/6Server/x86_64/os/repodata/repomd.xml
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401 Authorization Required"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-rhel-6-server-rhui-rpms. Please verify its path and try again
# yum repolist 
Loaded plugins: product-id, rhui-lb, security
https://cds01.example.com/pulp/repos///content/dist/rhel/rhui/server/6/6Server/x86_64/os/repodata/repomd.xml
: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401"
Trying other mirror.
https://cds01.example.com/pulp/repos///content/dist/rhel/rhui/server/6/6Server/x86_64/os/repodata/repomd.xml
: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401"
Trying other mirror.
repo id                                                    repo name                                                                        status
rhui-rhel-6-server-rhui-rpms                               Red Hat Enterprise Linux 6 Server from RHUI (RPMs)                               0
repolist: 0

Environment

  • Red Hat Update Infrastructure 2.1

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