SAM clients are encountering 'The requested URL returned error: 502 Bad Gateway 502 bad gateway' when running yum commands
Issue
- facing the following issue running yum commands on clients connected to my Subscription Asset Manager (SAM) server:
# yum repolist
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
https://sam.example.com:8088/content/dist/rhel/server/6/6Server/x86_64/cf-tools/1/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 502 Bad Gateway"
Trying other mirror.
repo id repo name status
rhel-6-server-cf-tools-1-rpms Red Hat CloudForms Tools for RHEL 6 (RPMs) 0
rhel-6-server-rhev-agent-rpms Red Hat Enterprise Virtualization Agents for RHEL 6 Server (RPMs) 0
rhel-6-server-rpms Red Hat Enterprise Linux 6 Server (RPMs) 0
repolist: 0
# yum list
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
https://sam.example.com:8088/content/dist/rhel/server/6/6Server/x86_64/cf-tools/1/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 502 Bad Gateway"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6-server-cf-tools-1-rpms. Please verify its path and try again is the "client" server) :
Environment
- Subscription Asset Manager (SAM) 1.3, 1.4
- Red Hat Enterprise Linux 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.