Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howto:how_to_fix_yum_basic_auth_behind_a_proxy [2015/03/24 21:27] smarkhowto:how_to_fix_yum_basic_auth_behind_a_proxy [2015/03/24 21:28] smark
Line 1: Line 1:
 ====== How To Fix Yum Basic HTTP Authentication Behind a Proxy ====== ====== How To Fix Yum Basic HTTP Authentication Behind a Proxy ======
  
-====== Problem ======+===== Problem =====
 When configuring a yum proxy via /etc/yum.conf a "yum check-update" fails on the rhel6-some-repo-x.y repository with: When configuring a yum proxy via /etc/yum.conf a "yum check-update" fails on the rhel6-some-repo-x.y repository with:
  [root@myhost yum.repos.d]# yum check-update  [root@myhost yum.repos.d]# yum check-update
Line 10: Line 10:
  Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel6-some-repo-x.y. Please verify its path and try again  Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel6-some-repo-x.y. Please verify its path and try again
  
-====== Additional Information ======+===== Additional Information =====
 The customer used a cloud-based proxy service (ZScaler) but has NOT implemented proxy authentication. The proxy is configured correctly in /etc/yum.conf The customer used a cloud-based proxy service (ZScaler) but has NOT implemented proxy authentication. The proxy is configured correctly in /etc/yum.conf
  
-====== Troubleshooting ======+===== Troubleshooting =====
 A packet capture indicated the following HTTP header when requesting the repository information: A packet capture indicated the following HTTP header when requesting the repository information:
  GET http://REDACTED:REDACTED@yum.whatever.com/yum/base/repodata/repomd.xml HTTP/1.1  GET http://REDACTED:REDACTED@yum.whatever.com/yum/base/repodata/repomd.xml HTTP/1.1
Line 59: Line 59:
 This problem currently exists in RHEL 6.6 but may be resolved in a future version. It likely exists on any system with the python-urlgrabber-3.9.1-9 package. This problem currently exists in RHEL 6.6 but may be resolved in a future version. It likely exists on any system with the python-urlgrabber-3.9.1-9 package.
  
-====== Resolution ======+===== Resolution =====
 Modify /etc/yum.repos.d/rhel6-some-repo-x.y.repo to conform to yum's recommended standard of baseurl/username/password for both contained repositories. Modify /etc/yum.repos.d/rhel6-some-repo-x.y.repo to conform to yum's recommended standard of baseurl/username/password for both contained repositories.
 Apply the patch as documented in the NEXUS URL. Apply the patch as documented in the NEXUS URL.
howto/how_to_fix_yum_basic_auth_behind_a_proxy.txt · Last modified: 2015/03/24 21:33 by smark
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0