yum が "Received HTTP code 403 from proxy after CONNECT" エラーで失敗する
Issue
-
プロキシーサーバーを使用して cdn.redhat.com からリポジトリーを取得している際に、
yum update
がReceived HTTP code 403 from proxy after CONNECT
というエラーで失敗します。# yum update
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'rhel-8-for-x86_64-baseos-rpms':
- Curl error (56): Failure when receiving data from the peer for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml [Received HTTP code 403 from proxy after CONNECT]
Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Environment
- Red Hat Enterprise Linux
- Red Hat Subscription Manager (RHSM)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.