SUCCESS
Code:
curl -Lv --compressed --output 2124.ts **External links are only visible to Support Staff**
% 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 13.249.87.47...
* TCP_NODELAY set
* Connected to vod-secure.twitch.tv (13.249.87.47) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [218 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [70 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4818 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=*.twitch.tv
* start date: Feb 8 00:00:00 2019 GMT
* expire date: Mar 8 12:00:00 2020 GMT
* subjectAltName: host "vod-secure.twitch.tv" matched cert's "*.twitch.tv"
* issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon
* 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
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x7fffc491ab70)
} [5 bytes data]
> GET /e1d16b09f72b8b913cdf_sips__35846269392_1309074795/chunked/6.ts HTTP/2
> Host: vod-secure.twitch.tv
> User-Agent: curl/7.58.0
> Accept: */*
> Accept-Encoding: deflate, gzip
>
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
} [5 bytes data]
< HTTP/2 200
< content-type: video/MP2T
< content-length: 8018200
< date: Wed, 02 Oct 2019 17:19:17 GMT
< last-modified: Wed, 02 Oct 2019 10:00:59 GMT
< etag: "fd1c476b2f1bbc9f97cac3e6ed906ab7"
< server: AmazonS3
< x-cache: Hit from cloudfront
< via: 1.1 3b3cb210495e4d1678591271d0921206.cloudfront.net (CloudFront)
< x-amz-cf-pop: ORD52-C1
< x-amz-cf-id: aP4tah1qzGZWMwt_neup55dRXFZICTgnoGMUJkxMt-u88UJxQgOtCQ==
< age: 6040
<
{ [16071 bytes data]
100 7830k 100 7830k 0 0 25.7M 0 --:--:-- --:--:-- --:--:-- 25.7M
* Connection #0 to host vod-secure.twitch.tv left intact
FAILURE
Code:
curl -Lv --output 2124.ts **External links are only visible to Support Staff**
% 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 13.249.87.47...
* TCP_NODELAY set
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to vod-secure.twitch.tv (13.249.87.47) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [218 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [70 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4818 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=*.twitch.tv
* start date: Feb 8 00:00:00 2019 GMT
* expire date: Mar 8 12:00:00 2020 GMT
* subjectAltName: host "vod-secure.twitch.tv" matched cert's "*.twitch.tv"
* issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon
* 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
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x7ffff76efb70)
} [5 bytes data]
> GET /e1d16b09f72b8b913cdf_sips__35846269392_1309074795/chunked/6.ts HTTP/2
> Host: vod-secure.twitch.tv
> User-Agent: curl/7.58.0
> Accept: */*
>
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
} [5 bytes data]
< HTTP/2 403
< content-type: text/html
< content-length: 17
< last-modified: Mon, 28 Mar 2016 20:26:38 GMT
< etag: "f2ba37ab539401d32d53e77d7527788e"
< x-amz-error-code: AccessDenied
< x-amz-error-message: Access Denied
< date: Wed, 02 Oct 2019 18:59:48 GMT
< server: AmazonS3
< x-cache: Error from cloudfront
< via: 1.1 b5d0d50a85cb855c8d83851f71d078e3.cloudfront.net (CloudFront)
< x-amz-cf-pop: ORD52-C1
< x-amz-cf-id: a2gytfnFDFw2YlBlqNNBqKtLz6wvT-Q6C2V75kvh3RFGCsAVZzRXnQ==
<
{ [17 bytes data]
100 17 100 17 0 0 40 0 --:--:-- --:--:-- --:--:-- 39
* Connection #0 to host vod-secure.twitch.tv left intact