Centos 6.4 yum proxy timeout error

Page content

yum

Today I was in the mood to do yum update on my test CentOS box. Everything started pretty normal, amount of data to download and so on. Later on data was downloading when on one package with following error:

Package name [Errno 12] Timeout on Package name:(28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
 Trying other mirror.

My CentOS connects to network where Internet downloads are scanned using Anti-Virus gateway. Package which I was downloading was bigger than usual (about 120MB).

Solution to timeouts during package download is simply to add to /etc/yum.conf following line:

timeout=200