Skip to content

Instantly share code, notes, and snippets.

@jameshfisher
Created October 13, 2021 08:33
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 jameshfisher/776a945c219ed168bb2291735db0ef3e to your computer and use it in GitHub Desktop.
Save jameshfisher/776a945c219ed168bb2291735db0ef3e to your computer and use it in GitHub Desktop.
unpkg 520 response
$ curl -v https://unpkg.com/slate-react@0.66.7/dist/slate-react.js
* Trying 2606:4700::6810:7eaf...
* TCP_NODELAY set
* Connected to unpkg.com (2606:4700::6810:7eaf) 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):
* 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, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com
* start date: Jul 2 00:00:00 2021 GMT
* expire date: Jul 1 23:59:59 2022 GMT
* subjectAltName: host "unpkg.com" matched cert's "unpkg.com"
* issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
* 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 0x7fa31e808200)
> GET /slate-react@0.66.7/dist/slate-react.js HTTP/2
> Host: unpkg.com
> User-Agent: curl/7.64.1
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
< HTTP/2 520
< date: Wed, 13 Oct 2021 08:29:31 GMT
< content-type: text/html
< content-length: 179
< cache-control: no-store, no-cache
< 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=31536000; includeSubDomains; preload
< x-content-type-options: nosniff
< server: cloudflare
< cf-ray: 69d731bc6e16656a-LHR
<
<html>
<head><title>520 Origin Error</title></head>
<body bgcolor="white">
<center><h1>520 Origin Error</h1></center>
<hr><center>cloudflare-nginx</center>
</body>
</html>
* Connection #0 to host unpkg.com left intact
* Closing connection 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment