I got this error using different download tools (wget, curl, Firefox "Download" feature, and Firefox "DownThemAll" plugin).
That is happening for different files (.zip, .tar.gz, .tar.bz2, etc) from repositories above.
$ curl -O http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
99 15.8M 99 15.7M 0 0 330k 0 0:00:49 0:00:48 0:00:01 0
curl: (56) Failure when receiving data from the peer
$ wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.zip
--2014-02-24 17:13:34-- http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.zip
Resolvendo cache.ruby-lang.org... 199.27.72.184, 199.27.76.184
Conectando-se a cache.ruby-lang.org|199.27.72.184|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 16618363 (16M) [application/zip]
Salvando em: "ruby-2.1.1.zip.1"
99% [================================================> ] 16.487.269 --.-K/s em 46s
O cabeçalho Last-modified é inválido -- horário ignorado.
2014-02-24 17:14:22 (350 KB/s) - Erro de leitura no byte 16487269/16618363 (Conexão fechada pela outra ponta).
Time and timezone of failed requests along with the requesting IP,
geographic location, user-agent would all be helpful for the CDN
provider to diagnose the problem.
I've tried again from home, and I was able to download successfully the file "ruby-2.1.1.zip" from both http://ftp.ruby-lang.org/pub/ruby/2.1/ and http://cache.ruby-lang.org/pub/ruby/2.1/
I also dowloaded ruby-2.0 without any problems, and all source files downloaded compiled ok here.
Please, feel free to set this issue as invalid.
Hiroshi, Eric, thanks a lot for checking this issue.