Dnf fails to fetch the repos from CDN and throwing error Operation too slow, less than 1000 bytes/sec transferred the last 30 seconds

Solution Verified - Updated -

Issue

  • While fetching the repositories from Red Hat CDN, dnf fails with the below error:-

    # dnf repolist -v
    Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-    manager, needs-restarting, playground, product-id, repoclosure, repodiff, repograph, repomanage, reposync, subscription-manager, system-upgrade, uploadprofile
    Updating Subscription Management repositories.
    YUM version: 4.7.0
    cachedir: /var/cache/dnf
    Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                           17% [=============-                                                                ]  51 kB/s |  12 MB     19:39 ETA
        Errors during downloading metadata for repository 'rhel-8-for-x86_64-baseos-rpms':
      - Curl error (28): Timeout was reached for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/3cdf5203ae87337a7c81d9045a5c10e0041f803f49f6505c09b0a5160f5dd043-primary.xml.gz [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
    
  • Download speed is very slow while fetching the updates from Red Hat CDN server and getting error Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds

Environment

  • Red Hat Enterprise Linux
  • Red Hat Content Delivery Network (CDN)
  • 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