Skip to content

Instantly share code, notes, and snippets.

@Chili-Man
Created April 28, 2014 21:17
Show Gist options
  • Save Chili-Man/11384319 to your computer and use it in GitHub Desktop.
Save Chili-Man/11384319 to your computer and use it in GitHub Desktop.
RVM install from chef-rvm cookbook, non-hanging
$ curl -v --fail --location --max-redirs 10 --connect-timeout 30 --retry-delay 2 --retry 3 -sS https://github.com/wayneeseguin/rvm/archive/1.25.24.tar.gz -o rvm-1.25.24.tgz
* Adding handle: conn: 0xf40b40
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0xf40b40) send_pipe: 1, recv_pipe: 0
* About to connect() to github.com port 443 (#0)
* Trying 192.30.252.129...
* Connected to github.com (192.30.252.129) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server key exchange (12):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using ECDHE-RSA-AES128-SHA
* Server certificate:
* subject: businessCategory=Private Organization; 1.3.6.1.4.1.311.60.2.1.3=US; 1.3.6.1.4.1.311.60.2.1.2=Delaware; serialNumber=5157550; street=548 4th Street; postalCode=94107; C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=github.com
* start date: 2014-04-08 00:00:00 GMT
* expire date: 2016-04-12 12:00:00 GMT
* subjectAltName: github.com matched
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 Extended Validation Server CA
* SSL certificate verify ok.
> GET /wayneeseguin/rvm/archive/1.25.24.tar.gz HTTP/1.1
> User-Agent: curl/7.32.0
> Host: github.com
> Accept: */*
>
< HTTP/1.1 302 Found
* Server GitHub.com is not blacklisted
< Server: GitHub.com
< Date: Mon, 28 Apr 2014 20:22:28 GMT
< Content-Type: text/html; charset=utf-8
< Status: 302 Found
< Cache-Control: max-age=0, private
< X-XSS-Protection: 1; mode=block
< X-Frame-Options: deny
< Content-Security-Policy: default-src *; script-src https://github.global.ssl.fastly.net https://ssl.google-analytics.com https://collector-cdn.github.com; style-src 'self' 'unsafe-inline' 'unsafe-eval' https://github.global.ssl.fastly.net; object-src https://github.global.ssl.fastly.net
< Location: https://codeload.github.com/wayneeseguin/rvm/tar.gz/1.25.24
< Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Fri, 28-Apr-2034 20:22:28 GMT; secure; HttpOnly
< Set-Cookie: _gh_sess=BAh7CDoPc2Vzc2lvbl9pZEkiJTU4Y2FkMjBmYzA4ZDQwNjYwZmU4NDQ5MTYzZTRlYThkBjoGRUY6DXNweV9yZXBvSSIVd2F5bmVlc2VndWluL3J2bQY7BlQ6EHNweV9yZXBvX2F0SXU6CVRpbWUNlI8cgJtUxFkKOg1uYW5vX251bWkCQQE6DW5hbm9fZGVuaQY6DXN1Ym1pY3JvIgcyEDoLb2Zmc2V0af6QnToJem9uZUkiCFBEVAY7BlQ%3D--b7fd8b57b5a83edff679dbf27fe1ee20a1c938f7; path=/; secure; HttpOnly
< Content-Length: 125
< X-GitHub-Request-Id: 9D161C23:12BB:364DC4:535EB884
< Strict-Transport-Security: max-age=31536000
< X-Content-Type-Options: nosniff
< Vary: Accept-Encoding
< X-Served-By: 53e13e5d66f560f3e2b04e74a099de0d
<
* Ignoring the response-body
{ [data not shown]
* Connection #0 to host github.com left intact
* Issue another request to this URL: 'https://codeload.github.com/wayneeseguin/rvm/tar.gz/1.25.24'
* Adding handle: conn: 0xf55120
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 1 (0xf55120) send_pipe: 1, recv_pipe: 0
* About to connect() to codeload.github.com port 443 (#1)
* Trying 192.30.252.146...
* Connected to codeload.github.com (192.30.252.146) port 443 (#1)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server key exchange (12):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using ECDHE-RSA-AES128-SHA
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=*.github.com
* start date: 2014-04-08 00:00:00 GMT
* expire date: 2017-04-12 12:00:00 GMT
* subjectAltName: codeload.github.com matched
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
* SSL certificate verify ok.
> GET /wayneeseguin/rvm/tar.gz/1.25.24 HTTP/1.1
> User-Agent: curl/7.32.0
> Host: codeload.github.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Length: 1186679
< Content-Security-Policy: default-src 'none'
< Access-Control-Allow-Origin: https://render.githubusercontent.com
< X-XSS-Protection: 1; mode=block
< X-Frame-Options: deny
< X-Content-Type-Options: nosniff
< Strict-Transport-Security: max-age=31536000
< ETag: "e6c29e2e53fbbe6fa09bd31a426d2d97bade019e"
< Content-Type: application/x-gzip
< Content-Disposition: attachment; filename=rvm-1.25.24.tar.gz
< Date: Mon, 28 Apr 2014 20:22:28 GMT
<
{ [data not shown]
* Connection #1 to host codeload.github.com left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment