Unable to sync channels on the Spacewalk due to [Errno 14] curl#5 - "Could not resolve proxy: http; Name or service not known"

(Doc ID 2317684.1)

Last updated on NOVEMBER 27, 2017

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Information in this document applies to any platform.

Symptoms

Unable to sync channels on the Spacewalk due to [Errno 14] curl#5 - "Could not resolve proxy: http; Name or service not known".

Fails with below error message.

[root@<hostname> ~]# /usr/bin/spacewalk-repo-sync --channel oraclelinux7-latest-x86_64 --type uln

12:26:20 ======================================
12:26:20 | Channel: oraclelinux7-latest-x86_64
12:26:20 ======================================
12:26:20 Sync of channel started.
12:26:20 Repo URL: uln:///ol7_x86_64_latest
The download URL is: https://linux-update.oracle.com/XMLRPC/GET-REQ/ol7_x86_64_latest
Trying proxy http://proxy.doe.gov:3130
12:26:21 ERROR: failure: repodata/repomd.xml from ol7_x86_64_latest: [Errno 256] No more mirrors to try.
https://linux-update.oracle.com/XMLRPC/GET-REQ/ol7_x86_64_latest/repodata/repomd.xml: [Errno 14] curl#5 - "Could not resolve proxy: http; Name or service not known"
12:26:21 Sync of channel completed in 0:00:00.
12:26:21 Total time: 0:00:00

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms