In certain authenticated proxy environments, http works but ftp doesn’t.
When yum’s fastestpath is ON, the nearest repository uses ftp connection, so it takes time after getting an error to find another repository that can connect via http.
Since yum’s official repository can connect via http, I changed the configuration to connect to the official repository by default.
You can change the configuration as follows:
# vi /etc/yum/pluginconf.d/fastestmirror.conf
■ Contents of fastestmirror.conf
[main]
enabled=1
verbose=0
socket_timeout=3
hostfilepath=/var/cache/yum/timedhosts.txt
maxhostfileage=10
maxthreads=15
#exclude=.gov, facebook
Change enabled=1 to enabled=0.
That’s all from the Gemba.