Skip to content

Instantly share code, notes, and snippets.

@jakubgs
Created January 30, 2020 09:52
Show Gist options
  • Select an option

  • Save jakubgs/0c3007ac39e53218cc518e45967f4c85 to your computer and use it in GitHub Desktop.

Select an option

Save jakubgs/0c3007ac39e53218cc518e45967f4c85 to your computer and use it in GitHub Desktop.
$ curl -v https://nix-cache.status.im/nar/ffsg6wfnyh96grhlv9c6d6ll4pj9y979.nar -o android-sdk.nar
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 104.20.73.101...
* TCP_NODELAY set
* Connected to nix-cache.status.im (104.20.73.101) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [233 bytes data]
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [100 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2216 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [116 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=CA; L=San Francisco; O=CloudFlare, Inc.; CN=status.im
* start date: Jul 2 00:00:00 2019 GMT
* expire date: Jul 1 12:00:00 2020 GMT
* subjectAltName: host "nix-cache.status.im" matched cert's "*.status.im"
* issuer: C=US; ST=CA; L=San Francisco; O=CloudFlare, Inc.; CN=CloudFlare Inc ECC CA-2
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fe49c807400)
> GET /nar/ffsg6wfnyh96grhlv9c6d6ll4pj9y979.nar HTTP/2
> Host: nix-cache.status.im
> User-Agent: curl/7.64.1
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
< HTTP/2 200
< date: Thu, 30 Jan 2020 09:44:32 GMT
< content-type: text/plain
< set-cookie: __cfduid=d179b9fcb44f853ac6d5849b4f9ecbffe1580377472; expires=Sat, 29-Feb-20 09:44:32 GMT; path=/; domain=.status.im; HttpOnly; SameSite=Lax
< cache-control: public, max-age=31536000
< cf-cache-status: MISS
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< strict-transport-security: max-age=2592000; preload
< x-content-type-options: nosniff
< server: cloudflare
< cf-ray: 55d2820048717cc4-MUC
<
{ [1027 bytes data]
100 513M 0 513M 0 0 2837k 0 --:--:-- 0:03:05 --:--:-- 2806k* HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
* stopped the pause stream!
100 514M 0 514M 0 0 2839k 0 --:--:-- 0:03:05 --:--:-- 2869k
* Connection #0 to host nix-cache.status.im left intact
curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
* Closing connection 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment