'yum makecache' times out for clients registered via RHN Proxy

Solution Verified - Updated -


  • Red Hat Satellite Proxy (RHN Proxy) 5.6 and 5.7


  • Requests from yum to get metadata files time out on a slow network because the files are large, a RHN Proxy 5 server needs to get them before it can send them to the Client, and sometimes the Satellite 5 server needs to generate them before it can send them to the Proxy.


  • Set timeout = <seconds> (default is 120) option in /usr/share/rhn/config-defaults/rhn_proxy.conf on a RHN Proxy server.
  • Add proxy.timeout = <seconds> to /etc/rhn/rhn.conf on a RHN Proxy server to override that default in rhn_proxy.conf.

After a timeout was changed it's necessary to restart httpd on RHN Proxy server.

Root Cause

Repodata generation and/or sending for Satellite takes more time then RHN Proxy timeout for waiting.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.