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

download errors/issues #86

Open
stereomato opened this issue Nov 30, 2024 · 11 comments
Open

download errors/issues #86

stereomato opened this issue Nov 30, 2024 · 11 comments

Comments

@stereomato
Copy link

Essentially every time I update and there's a lot of things to download, I get errors like this:

error: builder for '/nix/store/jvhbff669x4l96446cvvgjmg54zk40df-dart-code-3.101.20241127.zip.drv' failed with exit code 1;
       last 7 log lines:
       >
       > trying https://Dart-Code.gallery.vsassets.io/_apis/public/gallery/publisher/Dart-Code/extension/dart-code/3.101.20241127/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage?
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >  14 15.8M   14 2328k    0     0  46096      0  0:06:00  0:00:51  0:05:09 47862
       > curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
       > error: cannot download dart-code-3.101.20241127.zip from any mirror
       For full logs, run 'nix log /nix/store/jvhbff669x4l96446cvvgjmg54zk40df-dart-code-3.101.20241127.zip.drv'.
error: 1 dependencies of derivation '/nix/store/8biqglbih3bnckqjy0hpks9qz2prbp6q-vscode-extension-dart-code-dart-code-3.101.20241127.drv' failed to build
error: 1 dependencies of derivation '/nix/store/x62nj8n8r34yjadslq9431qn37jq33p8-hm_.vscodeextensions.extensionsimmutable.json.drv' failed to build
error: 1 dependencies of derivation '/nix/store/cjn2r0jcx8i59xwdbh3jpnhpk61zm1ip-home-manager-files.drv' failed to build

Is there a way to fix or workaround this?

@deemp
Copy link
Collaborator

deemp commented Dec 9, 2024

@stereomato, which platform do you use?

nix repl
nix-repl> builtins.currentSystem

@stereomato
Copy link
Author

"x86_64-linux"

I've switched from using home-manager as a module to it being standalone and coincidentally this seems to be fixed. I'm confused honestly

@stereomato
Copy link
Author

I was mistaken! And no, #87 does nothing. This issue seems to be triggered if a beeg download is also happening alongside the extension downloading. Like, I just reinstalled NixOS, and when installing my home-manager profile, I had constant vscode extension download issues, so I disabled that and, and saw that davinci resolve was being downloaded. Once h-m finished installing, I reenabled vscode + extensions and voila, the next generation went smoothly.

@deemp
Copy link
Collaborator

deemp commented Feb 11, 2025

@stereomato, please close this issue if it's is resolved.

@stereomato
Copy link
Author

It comes and goes, as I said, if something heavy is also being downloaded thru nix. So it can be worked around, not truly fixed :/

@stereomato
Copy link
Author

error: builder for '/nix/store/mm2kd785scy6aqkqbi06gnjf6kvja7km-python-2025.1.2025021001.zip.drv' failed with exit code 1;
       last 7 log lines:
       >
       > trying https://ms-python.gallery.vsassets.io/_apis/public/gallery/publisher/ms-python/extension/python/2025.1.2025021001/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage?targetPlatform=linux-x64
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >  24 10.2M   24 2552k    0     0  70098      0  0:02:33  0:00:37  0:01:56 44043
       > curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
       > error: cannot download python-2025.1.2025021001.zip from any mirror
       For full logs, run 'nix log /nix/store/mm2kd785scy6aqkqbi06gnjf6kvja7km-python-2025.1.2025021001.zip.drv'.

Just got it right now, lol

@stereomato
Copy link
Author

error: builder for '/nix/store/qmx771mq04x4j9xz8vc7f2zg87y413xb-java-1.41.2025030508.zip.drv' failed with exit code 1;
       last 19 log lines:
       >
       > trying https://redhat.gallery.vsassets.io/_apis/public/gallery/publisher/redhat/extension/java/1.41.2025030508/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage?targetPlatform=linux-x64
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >  16  123M   16 20.6M    0     0  98565      0  0:21:53  0:03:39  0:18:14  100k
       > curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
       > Warning: Problem (retrying all errors). Will retry in 1 seconds. 3 retries
       > Warning: left.
       >   3  123M    3 3920k    0     0  75507      0  0:28:34  0:00:53  0:27:41 94788
       > curl: (92) HTTP/2 stream 3 was not closed cleanly: PROTOCOL_ERROR (err 1)
       > Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries
       > Warning: left.
       >   6  123M    6 7892k    0     0  77611      0  0:27:47  0:01:44  0:26:03 60385
       > curl: (92) HTTP/2 stream 5 was not closed cleanly: PROTOCOL_ERROR (err 1)
       > Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retries
       > Warning: left.
       >   3  123M    3 3924k    0     0  73117      0  0:29:30  0:00:54  0:28:36 66108
       > curl: (92) HTTP/2 stream 7 was not closed cleanly: PROTOCOL_ERROR (err 1)
       > error: cannot download java-1.41.2025030508.zip from any mirror
       For full logs, run 'nix log /nix/store/qmx771mq04x4j9xz8vc7f2zg87y413xb-java-1.41.2025030508.zip.drv'.

@deemp
Copy link
Collaborator

deemp commented Mar 7, 2025

@stereomato Which nix version do you use?

@stereomato
Copy link
Author

nix (Nix) 2.24.12

nixpkgs/nixos unstable

@deemp
Copy link
Collaborator

deemp commented Mar 8, 2025

@stereomato I don't have this problem with nix 2.26.1 and single-user installation.

I believe nix-vscode-extensions is not the root cause of your problem since I haven't seen regular complaints about this problem from users of nix-vscode-extensions. Additionally, I can't reproduce it.

NixOS/nix#1362 may be relevant (see NixOS/nix#1362 (comment)).

@stereomato
Copy link
Author

Hm, alright thanks. It's a bit annoying though, it's easy to "deal" with this by just running the rebuild command again, but it doesn't feel proper.

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