CentOS 6.6 Repo Access Issue.

Home » CentOS » CentOS 6.6 Repo Access Issue.
CentOS 2 Comments

Hi Guys,

My apologies for earlier mail without subject line. kindly ignore.

i’ve CentOS 6.6 (Final) 64 bit version installed and I can not access the online repositories to install/update (pls see eror below the error), I
tried to google this error I get a lot of links but nothing I could really solving this issue. I’ve already disabled ipv6 and also defined proxy in
/etc/yum.conf.

[root@myhost ~]# yum update Loaded plugins: fastestmirror, security Setting up Update Process Determining fastest mirrors
* c6-media:
http://mirror.CentOS.org/CentOS/6/os/x86_64/repodata/repomd.xml: [Errno 12]
Timeout on http://mirror.CentOS.org/CentOS/6/os/x86_64/repodata/repomd.xml:
(28, ‘connect() timed out!’)
Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository:
base. Please verify its path and try again

If I try to use ‘wget’ to get ‘repomd.xml’ then it works fine.

[root@myhost ~]# wget http://mirror.CentOS.org/CentOS/6/os/x86_64/repodata/repomd.xml
–2015-03-09 20:05:03–
http://mirror.CentOS.org/CentOS/6/os/x86_64/repodata/repomd.xml Connecting to xx.xx.xx.xx:80… connected. Proxy request sent, awaiting response… 200 OK
Length: 3751 (3.7K) [text/xml]
Saving to: “repomd.xml”

100%[===============================================================================================================================================>]
3,751 –.-K/s in 0s

2015-03-09 20:05:03 (14.6 MB/s) – “repomd.xml” saved [3751/3751]

Has anybody experienced this kind of beahviour and got it working ?

Thank you in advance for pointers.

Regards Ravi.

2 thoughts on - CentOS 6.6 Repo Access Issue.

  • This is stating the obvious but it looks like your proxy definition in yum.conf does not work. I assume you have something like:
    proxy=http://: with a possible proxy_username=whoever and proxy_password=whatever if required in yum.conf Check these again, I find I often read what I thought I typed, not what I actually did.

    If this is correct tcpdump may give you some useful information on what is actually happening.

    Regards