Ninlives / minecraft.nix

Command line Minecraft launcher managed by nix
42 stars 8 forks source link

Error running client example #26

Closed ChocolateLoverRaj closed 2 months ago

ChocolateLoverRaj commented 3 months ago

I tried running nix run github:Ninlives/minecraft.nix#v1_18_1.vanilla.client and I get this error:

error: builder for '/nix/store/zv0iahyhidlg4c8qcyhrcv7680b4pliy-8f02296baf6e500731ba79c87a39ce1188bd3c93.drv' failed with exit code 1;
       last 7 log lines:
       >
       > trying https://resources.download.minecraft.net/8f/8f02296baf6e500731ba79c87a39ce1188bd3c93
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (7) Failed to connect to resources.download.minecraft.net port 443 after 29 ms: Couldn't connect to server
       > error: cannot download 8f02296baf6e500731ba79c87a39ce1188bd3c93 from any mirror
       For full logs, run 'nix log /nix/store/zv0iahyhidlg4c8qcyhrcv7680b4pliy-8f02296baf6e500731ba79c87a39ce1188bd3c93.drv'.
error: 1 dependencies of derivation '/nix/store/5m8lly3sav37w829vi7dzjar31y3zz4c-assets.drv' failed to build
error: 1 dependencies of derivation '/nix/store/p97k0bzd3lnqwj2v0al504h920c2gr67-minecraft.drv' failed to build

Opening https://resources.download.minecraft.net/8f/8f02296baf6e500731ba79c87a39ce1188bd3c93 in Firefox does result in a audio file.

Ninlives commented 2 months ago

This is a network issue, do you have any proxy settings for your firefox that is different from your terminal applications?

ChocolateLoverRaj commented 2 months ago

I'm not sure why I was getting a network error before. I didn't change any proxy settings in firefox. I tried it again today and the command worked.