Why http proxy being ignored by yum for Red Hat Satellite 5?

Solution Verified - Updated -

Issue

  • Why http proxy being ignored by yum for Red Hat Satellite 5?
  • Using yum and yum-rhn-plugin, timeouts doing updates or getting repository lists from Red Hat Satellite.
    yum strace shows connect() call trying to connect directly to Red Hat Satellite server, which is only allowed to be accessed through a proxy.

    # yum update
    [...]
    failed to retrieve repodata/repomd.xml from rhel-x86_64-server-7  error was [Errno 14] curl#7 - "Failed connect to ((satellite)):443; No route to host"
    

Environment

  • Red Hat Enterprise Linux 7.0
  • Red Hat Satellite 5.x
  • yum-rhn-plugin-2.0.1-4.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.