Skip to content

Instantly share code, notes, and snippets.

@marcdavi-es
Created May 30, 2018 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcdavi-es/1e3d183333423c85aa4baf086f27e26f to your computer and use it in GitHub Desktop.
Save marcdavi-es/1e3d183333423c85aa4baf086f27e26f to your computer and use it in GitHub Desktop.
curl response
* Trying 151.101.132.162...
* TCP_NODELAY set
* Connected to registry.npmjs.org (151.101.132.162) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: businessCategory=Private Organization; serialNumber=C2102352; 1.3.6.1.4.1.311.60.2.1.3=US; 1.3.6.1.4.1.311.60.2.1.2=California; C=US; ST=California; L=Oakland; street=1999 Harrison St Ste 1150; O=Npm, Inc.; CN=npmjs.org
* start date: Mar 15 13:39:52 2018 GMT
* expire date: Jun 13 19:06:17 2020 GMT
* subjectAltName: host "registry.npmjs.org" matched cert's "registry.npmjs.org"
* issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Extended Validation CA - SHA256 - G3
* 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 0x7fcb3b808400)
> GET / HTTP/2
> Host: registry.npmjs.org
> User-Agent: curl/7.54.0
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 500
< server: Varnish
< retry-after: 0
< content-type: text/html
< accept-ranges: bytes
< date: Wed, 30 May 2018 09:07:40 GMT
< via: 1.1 varnish
< x-served-by: cache-mad9431-MAD
< x-cache: MISS
< x-cache-hits: 0
< x-timer: S1527671260.054170,VS0,VE0
< content-length: 177
<
<html>
<head>
<title>Fastly error: unknown domain</title>
</head>
<body>
Fastly error: unknown domain. Please check that this domain has been added to a service.
</body>
* Connection #0 to host registry.npmjs.org left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment