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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content