My Oracle Support Banner

Yum Client Fails with Error [Errno 14] curl#56 - "Recv failure: Connection reset by peer" (Doc ID 2223059.1)

Last updated on MAY 04, 2020

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Symptoms

Unable to download package through yum.  One of the configured repositories failed (Oracle Linux 7Server Latest (x86_64)), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail.

Example:

# yum check-update
Loaded plugins: ulninfo
datadog | 2.5 kB 00:00:00
epel/x86_64/metalink | 14 kB 00:00:00
ol7_latest | 1.4 kB 00:00:00
ol7_latest/x86_64/primary FAILED
http://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/primary.xml.gz: [Errno 14] curl#56 - "Recv failure: Connection reset by peer" 0.0 B/s | 0 B 00:00:00
Trying other mirror.
ol7_latest/x86_64/updateinfo FAILED
http://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/updateinfo.xml.gz: [Errno 14] curl#56 - "Recv failure: Connection reset by peer" 0.0 B/s | 0 B 00:00:00
Trying other mirror.
http://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/primary.xml.gz: [Errno 14] curl#56 - "Recv failure: Connection reset by peer"
Trying other mirror.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.