[Nix-dev] Accessing cache.nixos.org

Eelco Dolstra eelco.dolstra at logicblox.com
Thu Mar 2 20:21:22 CET 2017


Hi,

On 03/02/2017 04:53 PM, Mark Gardner wrote:

> I have been having a lot of failures installing and rebuilding lately. The usual
> symptom is "", often 6 ("could not resolve host").
> 
> For example here are some of the errors I am seeing as I attempt an installation
> (over and over again):
> - download-from-binary-cache.pl <http://download-from-binary-cache.pl>: could
> not download from 'http://cache.nixos.org/nix-cache-info' (Curl error 6)
> - curl: (6) Couldn't resolve host "cache.nixos.org <http://cache.nixos.org>'

This suggests a DNS issue. Cloudfront has a TTL of only 60 seconds, so if there
is any flakiness in DNS lookups, it's likely to show up.

FWIW, Nix 1.12 retries failing DNS lookups, so this should become less of an
issue in the future.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list