Skip to content
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

Infinite download loop when cache.nixos.org is unreachable #29390

Closed
YorikSar opened this issue Sep 14, 2017 · 2 comments
Closed

Infinite download loop when cache.nixos.org is unreachable #29390

YorikSar opened this issue Sep 14, 2017 · 2 comments

Comments

@YorikSar
Copy link
Contributor

YorikSar commented Sep 14, 2017

When cache.nixos.org is unreachange (described in #29389), when I run nixos-rebuild, I get infinite loop of

download-from-binary-cache.pl: could not download ‘https://cache.nixos.org/8bbja62mzarn9rlz674phw4l5jxfyfcq.narinfo’ (Curl error 22)

It seems this should stop after several tries, but it doesn't.

@edolstra
Copy link
Member

The upcoming Nix 1.12 retries a finite number of times (5 IIRC).

@YorikSar
Copy link
Contributor Author

Great, thanks. Will it be a part of 17.09 release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants