Yum fails with an error "Peer reports it experienced an internal error."

Solution Verified - Updated -

Issue

  • yum repolist command fails with the below error:-

    # yum repolist
    Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
    https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#35 - "Peer reports it experienced an internal error."
    Trying other mirror.
    https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#35 - "Peer reports it experienced an internal error."
    Trying other mirror.
    repo id                                                                                     repo name                                                                                                 status
    rhel-7-server-rpms/7Server/x86_64                             Red Hat Enterprise Linux 7 Server (RPMs)                                      0
    repolist: 0
    

Environment

  • Red Hat Enterprise Linux
  • Red Hat Subscription Manager(RHSM)

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