Yum fails with "TCP Connection reset by peer" behind a bluecoat proxy

Solution Verified - Updated -

Issue

# yum update
...
* Establish HTTP proxy tunnel to cdn.redhat.com:443
...
* NSS error -5961 (PR_CONNECT_RESET_ERROR)
* TCP connection reset by peer
* Closing connection
exception: [Errno 14] curl #35 - "TCP connection reset by peer"
calling callback: (<bound methto YumBaseCli.failureReport of <cli.YumBaseCli object at 0x7f522fa1521°>>, (), {}) https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl #35 - "TCP connection reset by peer"
Trying other mirror.
MIIROR: failed

Environment

  • Red Hat Enterprise Linux 7

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