lix failing to fetch nar.xz files on build despite working internet connection #720

Open
opened 2025-03-10 11:55:15 +00:00 by ember-ruby · 6 comments

Describe the bug

lix is failing to fetch nar.xz files on build despite working internet connection

Steps To Reproduce

  1. run `sudo nixos-rebuild switch --upgrade``
  2. watch as it fails to download nar.xz files, and exits with an error if --keep-going is not specified

nix --version output

nix (Lix, like Nix) 2.92.0
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/ember/.config/nix/nix.conf:/nix/store/1v4hhafnbnb9mzl4k9nxy7mw08pl44rk-plasma-workspace-6.3.2/etc/xdg/nix/nix.conf:/nix/store/p7d5xqaxcyzfp7kfj02zh0jg1xff26qk-kglobalacceld-6.3.2/etc/xdg/nix/nix.conf:/nix/store/ngwfqia32h85kc9a2dn9g5qnqycd1j37-baloo-6.11.0/etc/xdg/nix/nix.conf:/home/ember/.config/kdedefaults/nix/nix.conf:/nix/store/1v4hhafnbnb9mzl4k9nxy7mw08pl44rk-plasma-workspace-6.3.2/etc/xdg/nix/nix.conf:/nix/store/p7d5xqaxcyzfp7kfj02zh0jg1xff26qk-kglobalacceld-6.3.2/etc/xdg/nix/nix.conf:/nix/store/ngwfqia32h85kc9a2dn9g5qnqycd1j37-baloo-6.11.0/etc/xdg/nix/nix.conf:/nix/store/1v4hhafnbnb9mzl4k9nxy7mw08pl44rk-plasma-workspace-6.3.2/etc/xdg/nix/nix.conf:/nix/store/p7d5xqaxcyzfp7kfj02zh0jg1xff26qk-kglobalacceld-6.3.2/etc/xdg/nix/nix.conf:/nix/store/ngwfqia32h85kc9a2dn9g5qnqycd1j37-baloo-6.11.0/etc/xdg/nix/nix.conf:/home/ember/.config/kdedefaults/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/ember/.local/share/flatpak/exports/etc/xdg/nix/nix.conf:/var/lib/flatpak/exports/etc/xdg/nix/nix.conf:/home/ember/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/ember/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/ember/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/v6rpybz1pwr46kff20q7ddm28kkqcqqf-lix-2.92.0/share

Additional context

Screenshot_10_224226.png

## Describe the bug lix is failing to fetch nar.xz files on build despite working internet connection ## Steps To Reproduce 1. run `sudo nixos-rebuild switch --upgrade`` 2. watch as it fails to download nar.xz files, and exits with an error if `--keep-going` is not specified ## `nix --version` output ```nix nix (Lix, like Nix) 2.92.0 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/ember/.config/nix/nix.conf:/nix/store/1v4hhafnbnb9mzl4k9nxy7mw08pl44rk-plasma-workspace-6.3.2/etc/xdg/nix/nix.conf:/nix/store/p7d5xqaxcyzfp7kfj02zh0jg1xff26qk-kglobalacceld-6.3.2/etc/xdg/nix/nix.conf:/nix/store/ngwfqia32h85kc9a2dn9g5qnqycd1j37-baloo-6.11.0/etc/xdg/nix/nix.conf:/home/ember/.config/kdedefaults/nix/nix.conf:/nix/store/1v4hhafnbnb9mzl4k9nxy7mw08pl44rk-plasma-workspace-6.3.2/etc/xdg/nix/nix.conf:/nix/store/p7d5xqaxcyzfp7kfj02zh0jg1xff26qk-kglobalacceld-6.3.2/etc/xdg/nix/nix.conf:/nix/store/ngwfqia32h85kc9a2dn9g5qnqycd1j37-baloo-6.11.0/etc/xdg/nix/nix.conf:/nix/store/1v4hhafnbnb9mzl4k9nxy7mw08pl44rk-plasma-workspace-6.3.2/etc/xdg/nix/nix.conf:/nix/store/p7d5xqaxcyzfp7kfj02zh0jg1xff26qk-kglobalacceld-6.3.2/etc/xdg/nix/nix.conf:/nix/store/ngwfqia32h85kc9a2dn9g5qnqycd1j37-baloo-6.11.0/etc/xdg/nix/nix.conf:/home/ember/.config/kdedefaults/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/ember/.local/share/flatpak/exports/etc/xdg/nix/nix.conf:/var/lib/flatpak/exports/etc/xdg/nix/nix.conf:/home/ember/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/ember/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/ember/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/v6rpybz1pwr46kff20q7ddm28kkqcqqf-lix-2.92.0/share ``` ## Additional context ![Screenshot_10_224226.png](/attachments/f0a8b366-cec8-484d-9213-80e3da93f057)
Owner

Hi there, what is the occurrence of this bug for you? As there's no reproducer, it's quite hard for us to determine the root cause.

Hi there, what is the occurrence of this bug for you? As there's no reproducer, it's quite hard for us to determine the root cause.
Author

it doesn't happen every rebuild or update, and i think has only started recently-ish

is there anything i can do to enable extra logging or something?

it doesn't happen every rebuild or update, and i think has only started recently-ish is there anything i can do to enable extra logging or something?
Author

i do find that retrying a few times with --keep-going gets the build to succeed eventually

i do find that retrying a few times with `--keep-going` gets the build to succeed eventually
Owner

You can do -vvvvv on your Nix builds and we may have more information. You say this started recently, but you are using a Lix 2.92.0 version that was not altered AFAIK.

There's a risk that this came off from another Nixpkgs component or there might be a problem with your system environment? (a network change or something?)

You can do `-vvvvv` on your Nix builds and we may have more information. You say this started recently, but you are using a Lix 2.92.0 version that was not altered AFAIK. There's a risk that this came off from another Nixpkgs component or there might be a problem with your system environment? (a network change or something?)
Author

not altered, just installed via the documented way to install without flakes

it very well may be my environment/fault, unlikely a network change as the computer that was run on is connected via ethernet

not altered, just installed via the documented way to install without flakes it very well may be my environment/fault, unlikely a network change as the computer that was run on is connected via ethernet

Are you continuing to encounter this issue, otherwise would close due to inability to reproduce and missing information

Are you continuing to encounter this issue, otherwise would close due to inability to reproduce and missing information
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#720
No description provided.