Skip to content

cache.nixos.org HTTP 416 #1106

Description

@roberth

Affected service

cache.nixos.org

Describe the issue

The NixOS cache will occasionally report HTTP error 416.

error: unable to download 'https://cache.nixos.org/nar/0kalbqziv0aprssxy5zcv7zcxzwpj62dlyys0lkgr1s81687q9al.nar.xz': HTTP error 416

Possible causes I can think of:

  • Range requests are unsupported (and not used most of the time)
  • Out of date narinfo has longer length (build impurity, reupload)
  • Bugs in fastly/s3

System information

Just encountered this instance from GHA.
(Nix 2.34.7, but this could happen with any client/library that supports download resumption)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions