azure-hands-on-labs
azure-hands-on-labs copied to clipboard
"aka.ms/cs-extensions" doesn't retrieve the indicated content
I was following exercise 2, Implement an Azure Function, where at one point to download a C# project file using cURL, via https://aka.ms/cs-extensions:
curl -o extensions.csproj -L https://aka.ms/cs-extensions
Unfortunately, https://aka.ms/cs-extensions gives an empty extensions.csproj
file.
Here's the verbose output from the cURL session:
* TCP_NODELAY set
* Connected to aka.ms (23.203.68.14) port 443 (#0)
* schannel: SSL/TLS connection with aka.ms port 443 (step 1/3)
* schannel: checking server certificate revocation
* schannel: sending initial handshake data: sending 177 bytes...
* schannel: sent initial handshake data: sent 177 bytes
* schannel: SSL/TLS connection with aka.ms port 443 (step 2/3)
* schannel: failed to receive handshake, need more data
* schannel: SSL/TLS connection with aka.ms port 443 (step 2/3)
* schannel: encrypted data got 4096
* schannel: encrypted data buffer: offset 4096 length 4096
* schannel: encrypted data length: 147
* schannel: encrypted data buffer: offset 147 length 4096
* schannel: received incomplete message, need more data
* schannel: SSL/TLS connection with aka.ms port 443 (step 2/3)
* schannel: encrypted data got 1460
* schannel: encrypted data buffer: offset 1607 length 4096
* schannel: received incomplete message, need more data
* schannel: SSL/TLS connection with aka.ms port 443 (step 2/3)
* schannel: encrypted data got 550
* schannel: encrypted data buffer: offset 2157 length 4096
* schannel: sending next handshake data: sending 126 bytes...
* schannel: SSL/TLS connection with aka.ms port 443 (step 2/3)
* schannel: encrypted data got 242
* schannel: encrypted data buffer: offset 242 length 4096
* schannel: SSL/TLS handshake complete
* schannel: SSL/TLS connection with aka.ms port 443 (step 3/3)
* schannel: stored credential handle in session cache
> GET /cs-extensions HTTP/1.1
> Host: aka.ms
> User-Agent: curl/7.55.1
> Accept: */*
>
* schannel: client wants to read 102400 bytes
* schannel: encdata_buffer resized 103424
* schannel: encrypted data buffer: offset 0 length 103424
* schannel: encrypted data got 534
* schannel: encrypted data buffer: offset 534 length 103424
* schannel: decrypted data length: 505
* schannel: decrypted data added: 505
* schannel: decrypted data cached: offset 505 length 102400
* schannel: encrypted data buffer: offset 0 length 103424
* schannel: decrypted data buffer: offset 505 length 102400
* schannel: schannel_recv cleanup
* schannel: decrypted data returned 505
* schannel: decrypted data buffer: offset 0 length 102400
< HTTP/1.1 302 Moved Temporarily
< Location: https://www.microsoft.com?ref=aka
< Server: Kestrel
< Request-Context: appId=cid-v1:b47e5e27-bf85-45ba-a97c-0377ce0e5779
< X-Response-Cache-Status: True
< X-Powered-By: ASP.NET
< Content-Length: 0
< X-Akamai-Path-Stats: [1:13768:24232]
< Expires: Wed, 14 Oct 2020 14:25:56 GMT
< Cache-Control: max-age=0, no-cache, no-store
< Pragma: no-cache
< Date: Wed, 14 Oct 2020 14:25:56 GMT
< Connection: keep-alive
< Strict-Transport-Security: max-age=31536000 ; includeSubDomains
<
* Connection #0 to host aka.ms left intact
* Issue another request to this URL: 'https://www.microsoft.com?ref=aka'
* Rebuilt URL to: https://www.microsoft.com/?ref=aka
* Trying 2001:918:ffcb:181::356e...
* TCP_NODELAY set
* Connected to www.microsoft.com (2001:918:ffcb:181::356e) port 443 (#1)
* schannel: SSL/TLS connection with www.microsoft.com port 443 (step 1/3)
* schannel: checking server certificate revocation
* schannel: sending initial handshake data: sending 188 bytes...
* schannel: sent initial handshake data: sent 188 bytes
* schannel: SSL/TLS connection with www.microsoft.com port 443 (step 2/3)
* schannel: failed to receive handshake, need more data
* schannel: SSL/TLS connection with www.microsoft.com port 443 (step 2/3)
* schannel: encrypted data got 4096
* schannel: encrypted data buffer: offset 4096 length 4096
* schannel: encrypted data length: 457
* schannel: encrypted data buffer: offset 457 length 4096
* schannel: received incomplete message, need more data
* schannel: SSL/TLS connection with www.microsoft.com port 443 (step 2/3)
* schannel: encrypted data got 1412
* schannel: encrypted data buffer: offset 1869 length 4096
* schannel: encrypted data length: 110
* schannel: encrypted data buffer: offset 110 length 4096
* schannel: received incomplete message, need more data
* schannel: SSL/TLS connection with www.microsoft.com port 443 (step 2/3)
* schannel: encrypted data got 237
* schannel: encrypted data buffer: offset 347 length 4096
* schannel: sending next handshake data: sending 126 bytes...
* schannel: SSL/TLS connection with www.microsoft.com port 443 (step 2/3)
* schannel: encrypted data got 258
* schannel: encrypted data buffer: offset 258 length 4096
* schannel: SSL/TLS handshake complete
* schannel: SSL/TLS connection with www.microsoft.com port 443 (step 3/3)
* schannel: stored credential handle in session cache
> GET /?ref=aka HTTP/1.1
> Host: www.microsoft.com
> User-Agent: curl/7.55.1
> Accept: */*
>
* schannel: client wants to read 102400 bytes
* schannel: encdata_buffer resized 103424
* schannel: encrypted data buffer: offset 0 length 103424
* schannel: encrypted data got 208
* schannel: encrypted data buffer: offset 208 length 103424
* schannel: decrypted data length: 179
* schannel: decrypted data added: 179
* schannel: decrypted data cached: offset 179 length 102400
* schannel: encrypted data buffer: offset 0 length 103424
* schannel: decrypted data buffer: offset 179 length 102400
* schannel: schannel_recv cleanup
* schannel: decrypted data returned 179
* schannel: decrypted data buffer: offset 0 length 102400
< HTTP/1.1 200 OK
< Server: AkamaiGHost
< Mime-Version: 1.0
< Content-Length: 0
< Expires: Wed, 14 Oct 2020 14:25:56 GMT
< Date: Wed, 14 Oct 2020 14:25:56 GMT
< Connection: keep-alive
<
* Connection #1 to host www.microsoft.com left intact