Yum Error Operation too slow

When i did yum update on a CloudLinux server, i get following error

error was [Errno 12] Timeout on https://cl-mirror.dewabiz.com/XMLRPC/GET-REQ/cloudlinux-x86_64-server-7/repodata/filelists.xml.gz: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 120 seconds')

This is because server is unable to connect to one of the yum mirrors.

To fix this, we need to disable the mirror that cause this timeout.

Edit file

vi /etc/yum/pluginconf.d/fastestmirror.conf

Find

enabled=0

Replace with

enabled=1

Find

exclude=

Add below

exclude=cl-mirror.dewabiz.com

run

yum clean all
yum makecache

Now yum will work.

See yum

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *