Error during "Install Holochain Tools" step: gzip: stdin: invalid compressed data--crc error

Following the steps to install Holochain environment on Windows under Vagrant as described in https://developer.holochain.org/docs/install/. I’ve got to the point where I am ssh’ed into the box. When I run

nix-shell https://holochain.love

I get the following error/output (this is with --show-trace):

unpacking 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz'...    
tar: Skipping to next header

gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error is not recoverable: exiting now
error: while evaluating the file '/nix/store/w347s2kvhyhvrgxcm0swrj2wrcdn1dib-holochain.love/nixpkgs/default.nix':
program 'tar' failed with exit code 2

The only deviations from the specified instructions are that I am using the latest VirtualBox and Vagrant installs, not the older versions linked in the instructions as those were already installed.

Thoughts?

Matthew

CCing you two at Arthur’s request: @artbrock @philipbeadle

1 Like

@MatthewNichols try again? looks like a random failure, like the tarball didn’t download properly or something?

Thanks. Sadly I get the same result. I am happy to run any debugging you suggest; my knowledge of Nix is pretty close to zero :slight_smile:

it just worked for me on a nixos machine

[thedavidmeister@nixos:~/holochain-2020]$ nix-shell https://holochain.love

[nix-shell:~/holochain-2020]$

that’s not vagrant though, i just smoke tested it on the normal shell

cc: @mmahut @BrightOne

@MatthewNichols can you please try to run the following and uploading the output somewhere?

nix-shell -vvvvv  https://holochain.love

Having the same issue with the newest versions of VirtualBox and Vagrant, as well as with the ones linked by the instructions.

This is an issue in Nix, which was fixed in Nix 2.3. The provided NixOS Vagrant image (18.03) uses Nix 2.0 (just verified it).

NixOS in Vagrant:

[vagrant@nixbox:~]$ nix --version
nix (Nix) 2.0

And sadly, there is no easy way to get a newer Nix/NixOS version in Vagrant as of now (see this GitHub issue).

I am now trying to get the newest Nix to run on the older NixOS.

Not sure if still useful since @BrightOne was able to repro but here it is.

Thanks,
Matthew

evaluating file '/nix/store/6hay8s4vy8s28p7ihm84vpgl17ha8ncv-nix-2.0/share/nix/corepkgs/derivation.nix'
locking path '/home/vagrant/.cache/nix/tarballs/1kwb1fm2sdssmxj0lhwhq5fzlq0j4mfg8m5fsjm8w4945ccv294c-file'
lock acquired on '/home/vagrant/.cache/nix/tarballs/1kwb1fm2sdssmxj0lhwhq5fzlq0j4mfg8m5fsjm8w4945ccv294c-file.lock'
download thread waiting for 10000 ms
locking this thread to CPU 0
acquiring global GC lock '/nix/var/nix/gc.lock'
acquiring read lock on '/nix/var/nix/temproots/3023'
acquiring write lock on '/nix/var/nix/temproots/3023'
downgrading to read lock on '/nix/var/nix/temproots/3023'
verifying previous ETag 'W/"c275e0b68d5bb060abe1c028b7a310dc5c539c12b5c5c0e37d900d1e3edd1a76"'
downloading 'https://holochain.love'...
starting download of https://holochain.love
curl: Rebuilt URL to: https://holochain.love/
curl: Couldn't find host holochain.love in the .netrc file; using defaults
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
curl:   Trying 104.27.174.14...
curl: TCP_NODELAY set
download thread waiting for 10000 ms
curl: Connected to holochain.love (104.27.174.14) port 443 (#0)
curl: ALPN, offering h2
curl: ALPN, offering http/1.1
curl: Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
curl: successfully set certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
curl: TLSv1.2 (OUT), TLS header, Certificate Status (22):
curl: TLSv1.2 (OUT), TLS handshake, Client hello (1):
download thread waiting for 10000 ms
curl: TLSv1.2 (IN), TLS handshake, Server hello (2):
curl: TLSv1.2 (IN), TLS handshake, Certificate (11):
curl: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
curl: TLSv1.2 (IN), TLS handshake, Server finished (14):
curl: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
curl: TLSv1.2 (OUT), TLS change cipher, Client hello (1):
curl: TLSv1.2 (OUT), TLS handshake, Finished (20):
download thread waiting for 10000 ms
curl: TLSv1.2 (IN), TLS change cipher, Client hello (1):
curl: TLSv1.2 (IN), TLS handshake, Finished (20):
curl: SSL connection using TLSv1.2 / ECDHE-ECDSA-AES128-GCM-SHA256
curl: ALPN, server accepted to use h2
curl: Server certificate:
curl:  subject: C=US; ST=CA; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com
curl:  start date: Apr  1 00:00:00 2020 GMT
curl:  expire date: Oct  9 12:00:00 2020 GMT
curl:  subjectAltName: host "holochain.love" matched cert's "holochain.love"
curl:  issuer: C=US; ST=CA; L=San Francisco; O=CloudFlare, Inc.; CN=CloudFlare Inc ECC CA-2
curl:  SSL certificate verify ok.
curl: Using HTTP2, server supports multi-use
curl: Connection state changed (HTTP/2 confirmed)
curl: Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
curl: Using Stream ID: 1 (easy handle 0x7fb3f8001110)
curl: Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
download thread waiting for 10000 ms
download thread waiting for 10000 ms
got header for 'https://holochain.love': HTTP/2 302
got header for 'https://holochain.love': date: Mon, 06 Apr 2020 15:44:43 GMT
got header for 'https://holochain.love': cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-c
heck=0, pre-check=0
got header for 'https://holochain.love': expires: Thu, 01 Jan 1970 00:00:01 GMT
got header for 'https://holochain.love': location: https://github.com/holochain/holonix/tarball/love
got header for 'https://holochain.love': expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-c
gi/beacon/expect-ct"
got header for 'https://holochain.love': server: cloudflare
got header for 'https://holochain.love': cf-ray: 57fca1bfd943ff04-MAD
got header for 'https://holochain.love':
curl: Connection #0 to host holochain.love left intact
curl: Issue another request to this URL: 'https://github.com/holochain/holonix/tarball/love'
curl: Couldn't find host github.com in the .netrc file; using defaults
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
curl:   Trying 140.82.118.3...
curl: TCP_NODELAY set
download thread waiting for 10000 ms
curl: Connected to github.com (140.82.118.3) port 443 (#1)
curl: ALPN, offering h2
curl: ALPN, offering http/1.1
curl: Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
curl: successfully set certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
curl: TLSv1.2 (OUT), TLS header, Certificate Status (22):
curl: TLSv1.2 (OUT), TLS handshake, Client hello (1):
download thread waiting for 10000 ms
curl: TLSv1.2 (IN), TLS handshake, Server hello (2):
curl: TLSv1.2 (IN), TLS handshake, Certificate (11):
curl: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
curl: TLSv1.2 (IN), TLS handshake, Server finished (14):
curl: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
curl: TLSv1.2 (OUT), TLS change cipher, Client hello (1):
curl: TLSv1.2 (OUT), TLS handshake, Finished (20):
download thread waiting for 10000 ms
curl: TLSv1.2 (IN), TLS change cipher, Client hello (1):
curl: TLSv1.2 (IN), TLS handshake, Finished (20):
curl: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
curl: ALPN, server accepted to use http/1.1
curl: Server certificate:
curl:  subject: businessCategory=Private Organization; jurisdictionC=US; jurisdictionST=Delaware; serialNumber=5157550;
 C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=github.com
curl:  start date: May  8 00:00:00 2018 GMT
curl:  expire date: Jun  3 12:00:00 2020 GMT
curl:  subjectAltName: host "github.com" matched cert's "github.com"
curl:  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 Extended Validation Server CA
curl:  SSL certificate verify ok.
download thread waiting for 10000 ms
download thread waiting for 10000 ms
got header for 'https://holochain.love': HTTP/1.1 302 Found
got header for 'https://holochain.love': date: Mon, 06 Apr 2020 15:44:43 GMT
got header for 'https://holochain.love': content-type: text/html; charset=utf-8
got header for 'https://holochain.love': server: GitHub.com
got header for 'https://holochain.love': status: 302 Found
got header for 'https://holochain.love': vary: X-PJAX, Accept-Encoding, Accept, X-Requested-With
got header for 'https://holochain.love': location: https://codeload.github.com/holochain/holonix/legacy.tar.gz/love
got header for 'https://holochain.love': cache-control: max-age=0, private
got header for 'https://holochain.love': strict-transport-security: max-age=31536000; includeSubdomains; preload
got header for 'https://holochain.love': x-frame-options: deny
got header for 'https://holochain.love': x-content-type-options: nosniff
got header for 'https://holochain.love': x-xss-protection: 1; mode=block
got header for 'https://holochain.love': expect-ct: max-age=2592000, report-uri="https://api.github.com/_private/browse
r/errors"
download thread waiting for 10000 ms
got header for 'https://holochain.love': content-security-policy: default-src 'none'; base-uri 'self'; block-all-mixed-
content; connect-src 'self' uploads.github.com www.githubstatus.com collector.githubapp.com api.github.com www.google-a
nalytics.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-
upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com wss://live.github.com
; font-src github.githubassets.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; frame-src re
nder.githubusercontent.com; img-src 'self' data: github.githubassets.com identicons.github.com collector.githubapp.com
github-cloud.s3.amazonaws.com *.githubusercontent.com; manifest-src 'self'; media-src 'none'; script-src github.githuba
ssets.com; style-src 'unsafe-inline' github.githubassets.com
got header for 'https://holochain.love': Content-Length: 130
got header for 'https://holochain.love': X-GitHub-Request-Id: D4FC:215EF:1C2141:273A02:5E8B4E6B
got header for 'https://holochain.love':
curl: Ignoring the response-body
curl: Connection #1 to host github.com left intact
curl: Issue another request to this URL: 'https://codeload.github.com/holochain/holonix/legacy.tar.gz/love'
curl: Couldn't find host codeload.github.com in the .netrc file; using defaults
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
download thread waiting for 10000 ms
curl:   Trying 140.82.113.10...
curl: TCP_NODELAY set
download thread waiting for 10000 ms
curl: Connected to codeload.github.com (140.82.113.10) port 443 (#2)
curl: ALPN, offering h2
curl: ALPN, offering http/1.1
curl: Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
curl: successfully set certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
curl: TLSv1.2 (OUT), TLS header, Certificate Status (22):
curl: TLSv1.2 (OUT), TLS handshake, Client hello (1):
download thread waiting for 10000 ms
download thread waiting for 10000 ms
curl: TLSv1.2 (IN), TLS handshake, Server hello (2):
curl: TLSv1.2 (IN), TLS handshake, Certificate (11):
curl: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
curl: TLSv1.2 (IN), TLS handshake, Server finished (14):
curl: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
curl: TLSv1.2 (OUT), TLS change cipher, Client hello (1):
curl: TLSv1.2 (OUT), TLS handshake, Finished (20):
download thread waiting for 10000 ms
curl: TLSv1.2 (IN), TLS change cipher, Client hello (1):
curl: TLSv1.2 (IN), TLS handshake, Finished (20):
curl: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
curl: ALPN, server accepted to use http/1.1
curl: Server certificate:
curl:  subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=*.github.com
curl:  start date: Jul  8 00:00:00 2019 GMT
curl:  expire date: Jul 16 12:00:00 2020 GMT
curl:  subjectAltName: host "codeload.github.com" matched cert's "*.github.com"
curl:  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
curl:  SSL certificate verify ok.
download thread waiting for 10000 ms
got header for 'https://holochain.love': HTTP/1.1 304 Not Modified
got header for 'https://holochain.love': Access-Control-Allow-Origin: https://render.githubusercontent.com
got header for 'https://holochain.love': Content-Disposition: attachment; filename=holochain-holonix-v0.0.72-5-g868d9c5
.tar.gz
got header for 'https://holochain.love': Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbo
x
got header for 'https://holochain.love': Content-Type: application/x-gzip
got header for 'https://holochain.love': ETag: W/"c275e0b68d5bb060abe1c028b7a310dc5c539c12b5c5c0e37d900d1e3edd1a76"
got header for 'https://holochain.love': Strict-Transport-Security: max-age=31536000
got header for 'https://holochain.love': Vary: Authorization,Accept-Encoding
got header for 'https://holochain.love': X-Content-Type-Options: nosniff
got header for 'https://holochain.love': X-Frame-Options: deny
got header for 'https://holochain.love': X-XSS-Protection: 1; mode=block
got header for 'https://holochain.love': Date: Mon, 06 Apr 2020 15:44:44 GMT
got header for 'https://holochain.love': X-Varnish: 977607061
got header for 'https://holochain.love': Age: 0
got header for 'https://holochain.love': Via: 1.1 varnish (Varnish/6.0)
got header for 'https://holochain.love': X-Cache: MISS
got header for 'https://holochain.love': X-Cache-Hits: 0
got header for 'https://holochain.love': X-GitHub-Request-Id: D4FD:2BC5:977A:103D8:5E8B4E6C
got header for 'https://holochain.love':
curl: Connection #2 to host codeload.github.com left intact
finished download of 'https://holochain.love'; curl status = 0, HTTP status = 304, body = 0 bytes
download thread waiting for 10000 ms
locking path '/home/vagrant/.cache/nix/tarballs/rbri8l9mda03p40dydcbspvik9jsn3dh-holochain.love-unpacked'
lock acquired on '/home/vagrant/.cache/nix/tarballs/rbri8l9mda03p40dydcbspvik9jsn3dh-holochain.love-unpacked.lock'
acquiring write lock on '/nix/var/nix/temproots/3023'
downgrading to read lock on '/nix/var/nix/temproots/3023'
lock released on '/home/vagrant/.cache/nix/tarballs/rbri8l9mda03p40dydcbspvik9jsn3dh-holochain.love-unpacked.lock'
lock released on '/home/vagrant/.cache/nix/tarballs/1kwb1fm2sdssmxj0lhwhq5fzlq0j4mfg8m5fsjm8w4945ccv294c-file.lock'
evaluating attribute 'darwin'
evaluating file '/nix/store/224wfm7gnlm6kyr4g7h6phrxpgxxfj4y-holochain.love/nixpkgs/default.nix'
locking path '/home/vagrant/.cache/nix/tarballs/15b4z4m79kjpf3dvva3lzwf5hl098vb73jjn2gdid64zl8w9rn4n-file'
lock acquired on '/home/vagrant/.cache/nix/tarballs/15b4z4m79kjpf3dvva3lzwf5hl098vb73jjn2gdid64zl8w9rn4n-file.lock'
acquiring write lock on '/nix/var/nix/temproots/3023'
downgrading to read lock on '/nix/var/nix/temproots/3023'
verifying previous ETag 'W/"4f16a6f1037a43aec6881142cdee84fb65f9d44b9b2e3316f4f314d06d73b4a8"'
downloading 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz'...
starting download of https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz
curl: Couldn't find host github.com in the .netrc file; using defaults
curl: Found bundle for host github.com: 0x7fb3f80f49b0 [can pipeline]
curl: Could pipeline, but not asked to!
curl: Re-using existing connection! (#1) with host github.com
curl: Connected to github.com (140.82.118.3) port 443 (#1)
download thread waiting for 10000 ms
download thread waiting for 10000 ms
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': HTTP/1.1 302
 Found
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': date: Mon, 0
6 Apr 2020 15:44:45 GMT
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': content-type
: text/html; charset=utf-8
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': server: GitH
ub.com
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': status: 302
Found
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': vary: X-PJAX
, Accept-Encoding, Accept, X-Requested-With
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': location: ht
tps://codeload.github.com/NixOS/nixpkgs/tar.gz/821c7ed030bca86c8217e6d20df1f01c6474adf4
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': cache-contro
l: max-age=0, private
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': strict-trans
port-security: max-age=31536000; includeSubdomains; preload
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': x-frame-opti
ons: deny
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': x-content-ty
pe-options: nosniff
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': x-xss-protec
tion: 1; mode=block
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': expect-ct: m
ax-age=2592000, report-uri="https://api.github.com/_private/browser/errors"
download thread waiting for 10000 ms
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': content-secu
rity-policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; connect-src 'self' uploads.github.com www.gi
thubstatus.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com github-pro
duction-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-p
roduction-user-asset-6210df.s3.amazonaws.com wss://live.github.com; font-src github.githubassets.com; form-action 'self
' github.com gist.github.com; frame-ancestors 'none'; frame-src render.githubusercontent.com; img-src 'self' data: gith
ub.githubassets.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com
; manifest-src 'self'; media-src 'none'; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubass
ets.com
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': Content-Leng
th: 155
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': X-GitHub-Req
uest-Id: D4FC:215EF:1C2272:273A55:5E8B4E6B
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz':
curl: Ignoring the response-body
curl: Connection #1 to host github.com left intact
curl: Issue another request to this URL: 'https://codeload.github.com/NixOS/nixpkgs/tar.gz/821c7ed030bca86c8217e6d20df1
f01c6474adf4'
curl: Couldn't find host codeload.github.com in the .netrc file; using defaults
curl: Found bundle for host codeload.github.com: 0x7fb3f80f6fe0 [can pipeline]
curl: Could pipeline, but not asked to!
curl: Re-using existing connection! (#2) with host codeload.github.com
curl: Connected to codeload.github.com (140.82.113.10) port 443 (#2)
download thread waiting for 10000 ms
download thread waiting for 10000 ms
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': HTTP/1.1 304
 Not Modified
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': Access-Contr
ol-Allow-Origin: https://render.githubusercontent.com
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': Content-Disp
osition: attachment; filename=nixpkgs-821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': Content-Secu
rity-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': Content-Type
: application/x-gzip
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': ETag: W/"4f1
6a6f1037a43aec6881142cdee84fb65f9d44b9b2e3316f4f314d06d73b4a8"
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': Strict-Trans
port-Security: max-age=31536000
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': Vary: Author
ization,Accept-Encoding
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': X-Content-Ty
pe-Options: nosniff
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': X-Frame-Opti
ons: deny
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': X-XSS-Protec
tion: 1; mode=block
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': Date: Mon, 0
6 Apr 2020 15:44:45 GMT
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': X-Varnish: 9
03081385
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': Age: 0
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': Via: 1.1 var
nish (Varnish/6.0)
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': X-Cache: MIS
S
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': X-Cache-Hits
: 0
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz': X-GitHub-Req
uest-Id: D4FD:2BC5:9782:103D9:5E8B4E6C
got header for 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz':
curl: Connection #2 to host codeload.github.com left intact
finished download of 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz'; curl s
tatus = 0, HTTP status = 304, body = 0 bytes
download thread waiting for 10000 ms
locking path '/home/vagrant/.cache/nix/tarballs/81c5lgfyjh9xl4a6m8d0x6bxyhdm4hbg-source-unpacked'
lock acquired on '/home/vagrant/.cache/nix/tarballs/81c5lgfyjh9xl4a6m8d0x6bxyhdm4hbg-source-unpacked.lock'
unpacking 'https://github.com/NixOS/nixpkgs/archive/821c7ed030bca86c8217e6d20df1f01c6474adf4.tar.gz'...
tar: Skipping to next header

gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error is not recoverable: exiting now
lock released on '/home/vagrant/.cache/nix/tarballs/81c5lgfyjh9xl4a6m8d0x6bxyhdm4hbg-source-unpacked.lock'
lock released on '/home/vagrant/.cache/nix/tarballs/15b4z4m79kjpf3dvva3lzwf5hl098vb73jjn2gdid64zl8w9rn4n-file.lock'
error: program 'tar' failed with exit code 2
(use '--show-trace' to show detailed location information)
download thread shutting down

@MatthewNichols @BrightOne can we try this? https://app.vagrantup.com/nixos/boxes/nixos-20.03-test the linked thread is asking for feedback on the latest test box

I tried changing to this box with the existing Vagrantfile, and here’s what I got:

"vagrant up" output
> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'nixos/nixos-20.03-test'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'nixos/nixos-20.03-test' version '0.0.1' is up to date...
==> default: Setting the name of the VM: holochain-vagrant_default_1586268793281_37112
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 6.0.14
    default: VirtualBox Version: 6.1
==> default: Mounting shared folders...
    default: /vagrant => C:/Users/brightone/holochain-vagrant
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mkdir -p /vagrant

Stdout from the command:



Stderr from the command:


Not sure on how to proceed.

@BrightOne send error reports and feedback to the github thread nixbox 18.09 not on Vagrant Cloud · Issue #38 · nix-community/nixbox · GitHub until it works :slight_smile:

I was able to vagrant up the test you linked to. When I ssh’d into it and ran

nix-shell https://holochain.love

I got the same tar error that I originally reported.

Matthew