Unable to Sync Channels/Repos on the Spacewalk Server - ERROR: Timeout Exception

(Doc ID 2400970.1)

Last updated on MAY 28, 2018

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86
Linux x86-64

Symptoms

Unable to sync channels/repos on Spacewalk server from Oracle ULN or Public yum with the following error message.

Example:

# spacewalk-repo-sync -c ol7.4update
14:14:36 ======================================
14:14:36 | Channel: ol7.4update
14:14:36 ======================================
14:14:36 Sync of channel started.
14:14:36 Repo URL: uln:///ol7_x86_64_u4_patch
The download URL is: https://linux-update.oracle.com/XMLRPC/GET-REQ/ol7_x86_64_u4_patch
Trying proxy 127.0.0.1:3128
14:14:42 ERROR: Timeout Exception
14:14:42 Sync of channel completed in 0:00:05.
14:14:42 Total time: 0:00:05

Also "HTTP error 502: Bad Gateway" error message shown when wget is tried on the http://linux-update.oracle.com.

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