-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Too slow downloads from cache #8502
Comments
This problem happens also from this IP, city at ~50km: 188.77.24.141 |
I now tried ~8 attempts total from ~4 URLs above from CZ and I'm getting ~8 MB/s, but I must admit the university connection is very good, IMHO. |
There is only one URL. In the "normal" cases we get 7MB/s, but we fall for most attempts into some network trap. I just tested the same URL, a single attempt.... ~20KB/s. |
For what is worth, @edolstra already noted it, but we have this problem also downloading anyting else from CloudFront, like debian images. It seems related to our world region. |
@rbvermaa now that we're a proper foundation ;) did you find the time to poke amazon about this? I'm hitting this continually |
At one site, we are using now 80.58.61.250 and 80.58.61.254 from Telefonica, our ISP. @cpages had problems at home too, so he can later answer about his DNS. |
Mine is 87.216.1.65, from jazztel. |
I have tried a new DNS of a close infrastructure (CESCA), 84.88.0.3, and I get a similar outcome. I have checked "netstat -tnp | grep 443" to see what IPs have slow https, and what have a fast one, and it seems unrelated to the IP. I had connections to 54.230.60.122:443 at 7MB/s and some at the same IP at 15KB/s. |
I'm trying the partial solution of getting our local DNS to return always the same cloudfront IP: 54.230.219.42. This one is not very fast (~1MB/s), but seems reliable. It does not get stuck like most returned by the DNS. |
Our office and @cpages home have a similar set of IPs returned by the DNS, for cache.nixos.org. My home, where all is not that fast but more stable, has a different set. The annoying set that most of the time gets stuck, but sometimes works at 7MB/s are:
The set that work at ~1MB/s but reliable are:
|
Similar issue on AWS forum https://forums.aws.amazon.com/thread.jspa?threadID=111346 |
Report based on http://s3.amazonaws.com/aws-cloudfront-testing/CustomerTesting.html :
|
Here is a full slow download:
|
@viric I just noticed that what you pasted as the 'fast case' connects to 54.230.63.229, which belongs to the pool of 'sometimes gets stuck' in your previous comment. I just found out when trying this workaround at home, and indeed it gets stuck ;) |
Amazon requested some more recent info:
|
|
Dr Pepper said on irc that Amazon claims the issue to be fixed (problems in Madrid). I confirm that all works more normal now. |
Amazon has fixed the issue, which turned out to be related to the edge location in Madrid. @viric confirmed that his downloads are fast again. |
I also have surpisingly low download speed from |
I'm in Prague, Czech Republic, running the NixOS installer, and I can't confirm that the issue has been resolved :( I keep restarting |
@dlukes: I just tried from 195.113.19.46 (haf.ms.mff.cuni.cz), |
Hmm, perhaps it was some transient problem, as now I'm getting ~16 MB/s on haf. |
@vcunat yes, the speed's also got better here in the last 30 minutes, and especially more consistent, though less impressive :) I guess it was only a transient issue, sorry for making a fuss. |
I'm from China. The download sometimes just drops to 0kb/s. I'm new to NixOS. There might be some possible mirroring mechanism no? |
vpn? |
I'm routinely getting downloads at 160kb/s even though I have a 150mbit connection. |
50 KByte = 0.4 Mbit on a 50 Mbit downlink. vpn via madrid, spain. normally much faster
edit: download finished fast. just the start was slow |
@milahu: please don't extend this thread. Nowadays it's even a different CDN... |
Quite often the downloads from cache.nixos.org do not go beyond 20KB/s. Restarting the https download sometimes improves it, sometimes not. It seems that there is some chance of getting a normal download (>2MB/s) or a stalled one (<20KB/s).
This makes it very annoying to run almost any nix-env operation. A simple installation of a program that requires, let's say, 20 downloads, may require 5 or 6 Ctrl-C and restart of the nix-env operation.
Here is the log of several attempts in a row to download a very specific file. I tried to stop the download after ~30s, when it was running at stalled speed. Never a "stalled connection" recovers to normal speed, neither a normal connection becomes "stalled". The character of the connection seems determined since its start, and never changes:
Our big set of NixOS computers are behind this IP address: 84.89.61.89. There we experience this problem since more than one month ago.
I cannot reproduce the behaviour from some other IPs of the same city, like: 47.61.242.149.
The text was updated successfully, but these errors were encountered: