[gdal-dev] Fwd: Post for gdal-dev

Scott Arko saarko at alaska.edu
Mon Sep 24 15:49:02 PDT 2018


Hello GDAL Devs,

We are trying to use /vsicurl to allow users to access data in our
datapool.  However, we are having a problem that I'm hoping one of you may
know the answer to.  Below is a summary from a developer on the team.


Is there a way to make vsicurl persist cookies across redirects?

I'm trying to use vsicurl to interact with a URL behind OAuth
authentication.  The OAuth behavior involves redirects, cookies, and .netrc
credentials.  This curl command will successfully download the file
(assumes credentials are in a .netrc file):

curl --remote-name --location --netrc --cookie-jar ""
https://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip


But an equivalent vsicurl command fails:

gdalinfo --config CPL_CURL_VERBOSE YES --config CPL_VSIL_CURL_USE_HEAD NO
"/vsizip/vsicurl/
https://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip
"


I'm effectively missing the --cookie-jar behavior.  In the attached output,
curl receives a session cookie on line 167, and forwards it with the
subsequent redirect on line 182 as desired.  vsicurl receives the same
cookie on line 96, but does not forward it with the subsequent redirect on
line 106.  This leads to an infinite redirect loop, and vsicurl eventually
fails with a "Maximum (10) redirects followed" error.


-- 
Scott Arko
Alaska Satellite Facility Deputy Director
University of Alaska Fairbanks

903 Koyukuk Drive
Fairbanks, AK 99775
Phone: (907) 474 - 5570
email:  saarko at alaska.edu
http://www.asf.alaska.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180924/f4e658da/attachment-0001.html>
-------------- next part --------------
$ curl --verbose --remote-name --location --netrc --cookie-jar "" https://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip
* Couldn't find host grfn.asf.alaska.edu in the .netrc file; using defaults
  % 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 35.169.212.126...
* TCP_NODELAY set
* Connected to grfn.asf.alaska.edu (35.169.212.126) 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/pki/tls/certs/ca-bundle.crt
  CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [98 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [5720 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 change cipher, Client hello (1):
{ [1 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: C=US; postalCode=99775; ST=AK; L=Fairbanks; street=910 Yukon Drive; O=University of Alaska System; OU=Alaska Satellite Facility; CN=*.asf.alaska.edu
*  start date: Apr 25 00:00:00 2018 GMT
*  expire date: Apr 25 23:59:59 2019 GMT
*  subjectAltName: host "grfn.asf.alaska.edu" matched cert's "*.asf.alaska.edu"
*  issuer: C=US; ST=MI; L=Ann Arbor; O=Internet2; OU=InCommon; CN=InCommon RSA Server CA
*  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 0x178de60)
} [5 bytes data]
> GET /door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip HTTP/2
> Host: grfn.asf.alaska.edu
> User-Agent: curl/7.55.1
> Accept: */*
>
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
} [5 bytes data]
< HTTP/2 302
< date: Mon, 24 Sep 2018 22:13:31 GMT
< content-type: text/html; charset=iso-8859-1
< content-length: 551
< location: https://urs.earthdata.nasa.gov/oauth/authorize?app_type=401&client_id=iwntGSgHy9yoog7Mjag0dQ&response_type=code&redirect_uri=https%3A%2F%2Fgrfn.asf.alaska.edu%2Fdoor%2Foauth&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA
< server: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12
<
* Ignoring the response-body
{ [551 bytes data]
100   551  100   551    0     0    551      0  0:00:01 --:--:--  0:00:01  3826
* Connection #0 to host grfn.asf.alaska.edu left intact
* Issue another request to this URL: 'https://urs.earthdata.nasa.gov/oauth/authorize?app_type=401&client_id=iwntGSgHy9yoog7Mjag0dQ&response_type=code&redirect_uri=https%3A%2F%2Fgrfn.asf.alaska.edu%2Fdoor%2Foauth&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA'
*   Trying 198.118.243.33...
* TCP_NODELAY set
* Connected to urs.earthdata.nasa.gov (198.118.243.33) port 443 (#1)
* 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/pki/tls/certs/ca-bundle.crt
  CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [87 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4621 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 change cipher, Client hello (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=Maryland; L=Greenbelt; jurisdictionC=US; O=NASA (National Aeronautics and Space Administration); businessCategory=Government Entity; serialNumber=1958-07-29; CN=urs.earthdata.nasa.gov
*  start date: Sep 12 12:29:03 2017 GMT
*  expire date: Sep 12 12:59:01 2019 GMT
*  subjectAltName: host "urs.earthdata.nasa.gov" matched cert's "urs.earthdata.nasa.gov"
*  issuer: C=US; O=Entrust, Inc.; OU=See www.entrust.net/legal-terms; OU=(c) 2014 Entrust, Inc. - for authorized use only; CN=Entrust Certification Authority - L1M
*  SSL certificate verify ok.
* Server auth using Basic with user 'asjohnston'
} [5 bytes data]
> GET /oauth/authorize?app_type=401&client_id=iwntGSgHy9yoog7Mjag0dQ&response_type=code&redirect_uri=https%3A%2F%2Fgrfn.asf.alaska.edu%2Fdoor%2Foauth&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA HTTP/1.1
> Host: urs.earthdata.nasa.gov
> Authorization: Basic ********************************************
> User-Agent: curl/7.55.1
> Accept: */*
>
{ [5 bytes data]
< HTTP/1.1 302 Found
< Server: nginx/1.10.2
< Date: Mon, 24 Sep 2018 22:13:32 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Access-Control-Allow-Origin: null
< Access-Control-Allow-Credentials: true
< Access-Control-Allow-Methods: GET, POST
< Access-Control-Expose-Headers: true
< Location: https://grfn.asf.alaska.edu/door/oauth?code=01d3cdf63e1d50b3ed30d1537455ad28c53e5c69dfbfd5734758328e5dcdd2e3&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA
< Cache-Control: no-cache
* Added cookie urs_user_already_logged="yes" for domain earthdata.nasa.gov, path /, expire 1537913612
< Set-Cookie: urs_user_already_logged=yes; domain=earthdata.nasa.gov; path=/; expires=Tue, 25 Sep 2018 22:13:32 GMT
* Added cookie _urs-gui_session="djEyNzFRVW9ha0VqVUhCV1hkakJUUlB0L2hDUXhaTHUzdmRlUU5KSGh1YklXMWkvMFNQNENySXorOWV1aU5Bak4vanZFN3lFb3dneDlJZkxrWGRRZk5BUUdxYUIyZkxudUpRcXR5WkIxTlFtUnpUVzRSZWN5MDJsWXlmNlBPU3F3cjhFRTJjTW5MSlRzaVZXWk9kMWVXd0hMK0lEcllPM1ZNWVR0VjZzQkQwPS0tNW1IaFFKM2hwTlJJcGxMRCtoQ20rUT09--1bb5fd391448b23ce39d72f23e9b3bc43b8777b0" for domain urs.earthdata.nasa.gov, path /, expire 1537913612
< Set-Cookie: _urs-gui_session=djEyNzFRVW9ha0VqVUhCV1hkakJUUlB0L2hDUXhaTHUzdmRlUU5KSGh1YklXMWkvMFNQNENySXorOWV1aU5Bak4vanZFN3lFb3dneDlJZkxrWGRRZk5BUUdxYUIyZkxudUpRcXR5WkIxTlFtUnpUVzRSZWN5MDJsWXlmNlBPU3F3cjhFRTJjTW5MSlRzaVZXWk9kMWVXd0hMK0lEcllPM1ZNWVR0VjZzQkQwPS0tNW1IaFFKM2hwTlJJcGxMRCtoQ20rUT09--1bb5fd391448b23ce39d72f23e9b3bc43b8777b0; path=/; expires=Tue, 25 Sep 2018 22:13:32 GMT; HttpOnly
< X-Request-Id: c37a5726-95a6-4ca4-9a68-a7bf76fcae51
< X-Runtime: 0.140991
< Strict-Transport-Security: max-age=31536000
<
* Ignoring the response-body
{ [363 bytes data]
100   356    0   356    0     0    356      0 --:--:-- --:--:-- --:--:--     0
* Connection #1 to host urs.earthdata.nasa.gov left intact
* Issue another request to this URL: 'https://grfn.asf.alaska.edu/door/oauth?code=01d3cdf63e1d50b3ed30d1537455ad28c53e5c69dfbfd5734758328e5dcdd2e3&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA'
* Couldn't find host grfn.asf.alaska.edu in the .netrc file; using defaults
* Found bundle for host grfn.asf.alaska.edu: 0x1772e30 [can multiplex]
* Re-using existing connection! (#0) with host grfn.asf.alaska.edu
* Connected to grfn.asf.alaska.edu (35.169.212.126) port 443 (#0)
* Using Stream ID: 3 (easy handle 0x178de60)
} [5 bytes data]
> GET /door/oauth?code=01d3cdf63e1d50b3ed30d1537455ad28c53e5c69dfbfd5734758328e5dcdd2e3&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA HTTP/2
> Host: grfn.asf.alaska.edu
> User-Agent: curl/7.55.1
> Accept: */*
>
{ [5 bytes data]
< HTTP/2 302
< date: Mon, 24 Sep 2018 22:13:32 GMT
< content-type: text/html; charset=iso-8859-1
< content-length: 312
< location: http://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip
< server: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12
* Added cookie GRFNDoor="ba169b82-2872-4199-8249-8fd529335b82" for domain grfn.asf.alaska.edu, path /, expire 0
< set-cookie: GRFNDoor=ba169b82-2872-4199-8249-8fd529335b82; Path=/
<
* Ignoring the response-body
{ [312 bytes data]
100   312  100   312    0     0    312      0  0:00:01 --:--:--  0:00:01   312
* Connection #0 to host grfn.asf.alaska.edu left intact
* Issue another request to this URL: 'http://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip'
* Couldn't find host grfn.asf.alaska.edu in the .netrc file; using defaults
*   Trying 34.203.94.240...
* TCP_NODELAY set
* Connected to grfn.asf.alaska.edu (34.203.94.240) port 80 (#2)
> GET /door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip HTTP/1.1
> Host: grfn.asf.alaska.edu
> User-Agent: curl/7.55.1
> Accept: */*
> Cookie: GRFNDoor=ba169b82-2872-4199-8249-8fd529335b82
>
< HTTP/1.1 301 Moved Permanently
< Date: Mon, 24 Sep 2018 22:13:32 GMT
< Content-Type: text/html; charset=iso-8859-1
< Content-Length: 337
< Connection: keep-alive
< Server: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12
< Location: https://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip
<
* Ignoring the response-body
{ [337 bytes data]
100   337  100   337    0     0    337      0  0:00:01  0:00:01 --:--:--   337
* Connection #2 to host grfn.asf.alaska.edu left intact
* Issue another request to this URL: 'https://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip'
* Couldn't find host grfn.asf.alaska.edu in the .netrc file; using defaults
* Found bundle for host grfn.asf.alaska.edu: 0x1772e30 [can multiplex]
* Re-using existing connection! (#0) with host grfn.asf.alaska.edu
* Connected to grfn.asf.alaska.edu (35.169.212.126) port 443 (#0)
* Using Stream ID: 5 (easy handle 0x178de60)
} [5 bytes data]
> GET /door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip HTTP/2
> Host: grfn.asf.alaska.edu
> User-Agent: curl/7.55.1
> Accept: */*
> Cookie: GRFNDoor=ba169b82-2872-4199-8249-8fd529335b82
>
{ [5 bytes data]
< HTTP/2 302
< date: Mon, 24 Sep 2018 22:13:33 GMT
< content-type: text/html; charset=utf-8
< content-length: 2435
< location: https://gsfc-ngap-asf-grfn-private-prod.s3.amazonaws.com/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip?AWSAccessKeyId=ASIAV5PGEDVWQYUGWJGS&Expires=1537827228&x-amz-security-token=FQoGZXIvYXdzEDMaDLnS7iHpMhor1S3LyyKiBKU9f%2FdBchtWDUq0YzLxE3V6lQpcNNYvlI0dQXJiDD485Cf1ogF0hwinItfOb%2BxarLu7KHn0a%2BYgRLwKqIw%2Fx4iT6hiW10FmIPSar7QUTEQyOHGq9DJr%2BDWUzYwLoRFae8ojwr141oGF5kQhmGejoeGlATT4aC6KI6VdH7b%2FL34Z0vFxGLtFyeZeH8IhU36jGmi8Ef8XpPQNp3Im4nvq8Np7J8BVVwnpUceVdHOytrPrsNhCEWdnAhwooPyMGTKt2bSERQRhAiMslWQqV6cUgTfeZIH61odOBzdz6rhdKHZOgiDqSHkptScu5fO1XvVno3rqY0WjQvL4vTtDtFjGhPCtCkfgodfDuMdFITCa2UpinUVh6LFdv1F%2BUx64UELal4w%2Fe17uNRbOQ65WeSQIUaXKh7%2F50PEKrLJfpPOzUtDIa%2BcYdmLOzvdBbFUjsPjFB2YKrHJ5kh0P%2FxWCJNd9bSdHdpu7uNitgv8nKk%2B9AAUMTy5PdL5RWuxapVPhv58QDRZHUAMu10DbP7ucJrRaNbD5%2BTN%2Bd5elMuL3SZewcQYx97rWXgY9mX8lqpJoANzxCmYuL67545SLpmNPw5kfDTXUMHYKL3XIHm6HYECKZ5o7Zk5r5RDzv0NOpugl8Fk9fsYTA%2B7e9bicLub3Wu4S%2FRxV7aRc85C6fdaJiSKOLtlnIHZdYrcJcK5CDLF%2Bt9nnXxWBWzRo%2Bk3KYBQ0XmADBUBjgyifs6TdBQ%3D%3D&Signature=M43caFk%2Fp381Wkfevkee0bgGRVU%3D&userid=asjohnston
< server: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12
<
* Ignoring the response-body
{ [2435 bytes data]
100  2435  100  2435    0     0   2435      0  0:00:01  0:00:01 --:--:--     0
* Connection #0 to host grfn.asf.alaska.edu left intact
* Issue another request to this URL: 'https://gsfc-ngap-asf-grfn-private-prod.s3.amazonaws.com/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip?AWSAccessKeyId=ASIAV5PGEDVWQYUGWJGS&Expires=1537827228&x-amz-security-token=FQoGZXIvYXdzEDMaDLnS7iHpMhor1S3LyyKiBKU9f%2FdBchtWDUq0YzLxE3V6lQpcNNYvlI0dQXJiDD485Cf1ogF0hwinItfOb%2BxarLu7KHn0a%2BYgRLwKqIw%2Fx4iT6hiW10FmIPSar7QUTEQyOHGq9DJr%2BDWUzYwLoRFae8ojwr141oGF5kQhmGejoeGlATT4aC6KI6VdH7b%2FL34Z0vFxGLtFyeZeH8IhU36jGmi8Ef8XpPQNp3Im4nvq8Np7J8BVVwnpUceVdHOytrPrsNhCEWdnAhwooPyMGTKt2bSERQRhAiMslWQqV6cUgTfeZIH61odOBzdz6rhdKHZOgiDqSHkptScu5fO1XvVno3rqY0WjQvL4vTtDtFjGhPCtCkfgodfDuMdFITCa2UpinUVh6LFdv1F%2BUx64UELal4w%2Fe17uNRbOQ65WeSQIUaXKh7%2F50PEKrLJfpPOzUtDIa%2BcYdmLOzvdBbFUjsPjFB2YKrHJ5kh0P%2FxWCJNd9bSdHdpu7uNitgv8nKk%2B9AAUMTy5PdL5RWuxapVPhv58QDRZHUAMu10DbP7ucJrRaNbD5%2BTN%2Bd5elMuL3SZewcQYx97rWXgY9mX8lqpJoANzxCmYuL67545SLpmNPw5kfDTXUMHYKL3XIHm6HYECKZ5o7Zk5r5RDzv0NOpugl8Fk9fsYTA%2B7e9bicLub3Wu4S%2FRxV7aRc85C6fdaJiSKOLtlnIHZdYrcJcK5CDLF%2Bt9nnXxWBWzRo%2Bk3KYBQ0XmADBUBjgyifs6TdBQ%3D%3D&Signature=M43caFk%2Fp381Wkfevkee0bgGRVU%3D&userid=asjohnston'
* Couldn't find host gsfc-ngap-asf-grfn-private-prod.s3.amazonaws.com in the .netrc file; using defaults
*   Trying 52.216.86.83...
* TCP_NODELAY set
* Connected to gsfc-ngap-asf-grfn-private-prod.s3.amazonaws.com (52.216.86.83) port 443 (#3)
* 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/pki/tls/certs/ca-bundle.crt
  CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [87 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2514 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 change cipher, Client hello (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=Washington; L=Seattle; O=Amazon.com Inc.; CN=*.s3.amazonaws.com
*  start date: Sep 22 00:00:00 2017 GMT
*  expire date: Jan  3 12:00:00 2019 GMT
*  subjectAltName: host "gsfc-ngap-asf-grfn-private-prod.s3.amazonaws.com" matched cert's "*.s3.amazonaws.com"
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert Baltimore CA-2 G2
*  SSL certificate verify ok.
} [5 bytes data]
> GET /S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip?AWSAccessKeyId=ASIAV5PGEDVWQYUGWJGS&Expires=1537827228&x-amz-security-token=FQoGZXIvYXdzEDMaDLnS7iHpMhor1S3LyyKiBKU9f%2FdBchtWDUq0YzLxE3V6lQpcNNYvlI0dQXJiDD485Cf1ogF0hwinItfOb%2BxarLu7KHn0a%2BYgRLwKqIw%2Fx4iT6hiW10FmIPSar7QUTEQyOHGq9DJr%2BDWUzYwLoRFae8ojwr141oGF5kQhmGejoeGlATT4aC6KI6VdH7b%2FL34Z0vFxGLtFyeZeH8IhU36jGmi8Ef8XpPQNp3Im4nvq8Np7J8BVVwnpUceVdHOytrPrsNhCEWdnAhwooPyMGTKt2bSERQRhAiMslWQqV6cUgTfeZIH61odOBzdz6rhdKHZOgiDqSHkptScu5fO1XvVno3rqY0WjQvL4vTtDtFjGhPCtCkfgodfDuMdFITCa2UpinUVh6LFdv1F%2BUx64UELal4w%2Fe17uNRbOQ65WeSQIUaXKh7%2F50PEKrLJfpPOzUtDIa%2BcYdmLOzvdBbFUjsPjFB2YKrHJ5kh0P%2FxWCJNd9bSdHdpu7uNitgv8nKk%2B9AAUMTy5PdL5RWuxapVPhv58QDRZHUAMu10DbP7ucJrRaNbD5%2BTN%2Bd5elMuL3SZewcQYx97rWXgY9mX8lqpJoANzxCmYuL67545SLpmNPw5kfDTXUMHYKL3XIHm6HYECKZ5o7Zk5r5RDzv0NOpugl8Fk9fsYTA%2B7e9bicLub3Wu4S%2FRxV7aRc85C6fdaJiSKOLtlnIHZdYrcJcK5CDLF%2Bt9nnXxWBWzRo%2Bk3KYBQ0XmADBUBjgyifs6TdBQ%3D%3D&Signature=M43caFk%2Fp381Wkfevkee0bgGRVU%3D&userid=asjohnston HTTP/1.1
> Host: gsfc-ngap-asf-grfn-private-prod.s3.amazonaws.com
> User-Agent: curl/7.55.1
> Accept: */*
>
{ [5 bytes data]
< HTTP/1.1 200 OK
< x-amz-id-2: ubW6hUXtkY8A1+abtzglWomJHZ+oGx50gs9TqcfUO4ZrxjBtJ87p09Sq5IhHCIPB0xesy4VTwCw=
< x-amz-request-id: 436A4AC682C1E286
< Date: Mon, 24 Sep 2018 22:13:34 GMT
< Last-Modified: Mon, 24 Sep 2018 18:29:39 GMT
< ETag: "190bf52e5c82147e454335b326d4f1f4-7"
< Accept-Ranges: bytes
< Content-Type: application/zip
< Content-Length: 431359485
< Server: AmazonS3
<
{ [5 bytes data]
100  411M  100  411M    0     0  68.5M      0  0:00:06  0:00:06 --:--:-- 87.7M
* Connection #3 to host gsfc-ngap-asf-grfn-private-prod.s3.amazonaws.com left intact
* WARNING: failed to save cookies in
-------------- next part --------------
$ gdalinfo --config CPL_CURL_VERBOSE YES --config CPL_VSIL_CURL_USE_HEAD NO "/vsizip/vsicurl/https://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip"
* Couldn't find host grfn.asf.alaska.edu in the .netrc file; using defaults
*   Trying 34.203.94.240...
* TCP_NODELAY set
* Connected to grfn.asf.alaska.edu (34.203.94.240) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: C=US; postalCode=99775; ST=AK; L=Fairbanks; street=910 Yukon Drive; O=University of Alaska System; OU=Alaska Satellite Facility; CN=*.asf.alaska.edu
*  start date: Apr 25 00:00:00 2018 GMT
*  expire date: Apr 25 23:59:59 2019 GMT
*  subjectAltName: host "grfn.asf.alaska.edu" matched cert's "*.asf.alaska.edu"
*  issuer: C=US; ST=MI; L=Ann Arbor; O=Internet2; OU=InCommon; CN=InCommon RSA Server CA
*  SSL certificate verify ok.
> GET /door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip HTTP/1.1
Host: grfn.asf.alaska.edu
Accept: */*

< HTTP/1.1 302 Found
< Date: Mon, 24 Sep 2018 22:14:48 GMT
< Content-Type: text/html; charset=iso-8859-1
< Content-Length: 551
< Connection: keep-alive
< Server: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12
< Location: https://urs.earthdata.nasa.gov/oauth/authorize?app_type=401&client_id=iwntGSgHy9yoog7Mjag0dQ&response_type=code&redirect_uri=https%3A%2F%2Fgrfn.asf.alaska.edu%2Fdoor%2Foauth&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA
<
* Ignoring the response-body
* Connection #0 to host grfn.asf.alaska.edu left intact
* Issue another request to this URL: 'https://urs.earthdata.nasa.gov/oauth/authorize?app_type=401&client_id=iwntGSgHy9yoog7Mjag0dQ&response_type=code&redirect_uri=https%3A%2F%2Fgrfn.asf.alaska.edu%2Fdoor%2Foauth&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA'
*   Trying 198.118.243.33...
* TCP_NODELAY set
* Connected to urs.earthdata.nasa.gov (198.118.243.33) port 443 (#1)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=Maryland; L=Greenbelt; jurisdictionC=US; O=NASA (National Aeronautics and Space Administration); businessCategory=Government Entity; serialNumber=1958-07-29; CN=urs.earthdata.nasa.gov
*  start date: Sep 12 12:29:03 2017 GMT
*  expire date: Sep 12 12:59:01 2019 GMT
*  subjectAltName: host "urs.earthdata.nasa.gov" matched cert's "urs.earthdata.nasa.gov"
*  issuer: C=US; O=Entrust, Inc.; OU=See www.entrust.net/legal-terms; OU=(c) 2014 Entrust, Inc. - for authorized use only; CN=Entrust Certification Authority - L1M
*  SSL certificate verify ok.
* Server auth using Basic with user 'asjohnston'
> GET /oauth/authorize?app_type=401&client_id=iwntGSgHy9yoog7Mjag0dQ&response_type=code&redirect_uri=https%3A%2F%2Fgrfn.asf.alaska.edu%2Fdoor%2Foauth&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA HTTP/1.1
Host: urs.earthdata.nasa.gov
Authorization: Basic ********************************************
Accept: */*

< HTTP/1.1 302 Found
< Server: nginx/1.10.2
< Date: Mon, 24 Sep 2018 22:14:48 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Access-Control-Allow-Origin: null
< Access-Control-Allow-Credentials: true
< Access-Control-Allow-Methods: GET, POST
< Access-Control-Expose-Headers: true
< Location: https://grfn.asf.alaska.edu/door/oauth?code=ed859c566e4a840188f0d0e0d5c56e8d393518afb5afc80054a5058bdeede42f&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA
< Cache-Control: no-cache
< Set-Cookie: urs_user_already_logged=yes; domain=earthdata.nasa.gov; path=/; expires=Tue, 25 Sep 2018 22:14:48 GMT
< Set-Cookie: _urs-gui_session=U2hoWnJhRitIMXhnSEk5MXZqSFVhUHJCaGJLWGN5dk9INlhSZkkrTllKRHFBOHVTbU1mbUxuTUZMU2JTc1N6R0JJTHZ0ek5lK3NXVEZyVVZFcXZzNzl2dEJaZTVZZlMvMlRVMzhLQVNZMkdRQThlZmNHVkdPbmtOMW5Bb3JsdmkvdEpFeXpCRktHbXlIZHUwMW5XOVhUOHQzb3dhNUJjYXB6eWFLUW1KTm5ZPS0tVlV0dmhwSzJHQXZnSUd0WUI5NE5NZz09--26ad2d27d0299a00c73817b1694348f29d511600; path=/; expires=Tue, 25 Sep 2018 22:14:48 GMT; HttpOnly
< X-Request-Id: 80c96dd7-1757-4b9e-a065-97828e9f9ad5
< X-Runtime: 0.179878
< Strict-Transport-Security: max-age=31536000
<
* Ignoring the response-body
* Connection #1 to host urs.earthdata.nasa.gov left intact
* Issue another request to this URL: 'https://grfn.asf.alaska.edu/door/oauth?code=ed859c566e4a840188f0d0e0d5c56e8d393518afb5afc80054a5058bdeede42f&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA'
* Couldn't find host grfn.asf.alaska.edu in the .netrc file; using defaults
* Found bundle for host grfn.asf.alaska.edu: 0x22b6bd0 [can pipeline]
* Re-using existing connection! (#0) with host grfn.asf.alaska.edu
* Connected to grfn.asf.alaska.edu (34.203.94.240) port 443 (#0)
> GET /door/oauth?code=ed859c566e4a840188f0d0e0d5c56e8d393518afb5afc80054a5058bdeede42f&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA HTTP/1.1
Host: grfn.asf.alaska.edu
Accept: */*

< HTTP/1.1 302 Found
< Date: Mon, 24 Sep 2018 22:14:49 GMT
< Content-Type: text/html; charset=iso-8859-1
< Content-Length: 312
< Connection: keep-alive
< Server: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12
< Set-Cookie: GRFNDoor=6db6a08e-facd-4b62-a556-4354b670e81b; Path=/
< Location: http://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip
<
* Ignoring the response-body
* Connection #0 to host grfn.asf.alaska.edu left intact
* Issue another request to this URL: 'http://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip'
* Couldn't find host grfn.asf.alaska.edu in the .netrc file; using defaults
*   Trying 35.169.212.126...
* TCP_NODELAY set
* Connected to grfn.asf.alaska.edu (35.169.212.126) port 80 (#2)
> GET /door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip HTTP/1.1
Host: grfn.asf.alaska.edu
Accept: */*

< HTTP/1.1 301 Moved Permanently
< Date: Mon, 24 Sep 2018 22:14:49 GMT
< Content-Type: text/html; charset=iso-8859-1
< Content-Length: 337
< Connection: keep-alive
< Server: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12
< Location: https://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip
<
* Ignoring the response-body
* Connection #2 to host grfn.asf.alaska.edu left intact
* Issue another request to this URL: 'https://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip'
* Couldn't find host grfn.asf.alaska.edu in the .netrc file; using defaults
* Found bundle for host grfn.asf.alaska.edu: 0x22b6bd0 [can pipeline]
* Re-using existing connection! (#0) with host grfn.asf.alaska.edu
* Connected to grfn.asf.alaska.edu (34.203.94.240) port 443 (#0)
> GET /door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip HTTP/1.1
Host: grfn.asf.alaska.edu
Accept: */*

< HTTP/1.1 302 Found
< Date: Mon, 24 Sep 2018 22:14:49 GMT
< Content-Type: text/html; charset=iso-8859-1
< Content-Length: 551
< Connection: keep-alive
< Server: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12
< Location: https://urs.earthdata.nasa.gov/oauth/authorize?app_type=401&client_id=iwntGSgHy9yoog7Mjag0dQ&response_type=code&redirect_uri=https%3A%2F%2Fgrfn.asf.alaska.edu%2Fdoor%2Foauth&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA
<
* Ignoring the response-body
* Connection #0 to host grfn.asf.alaska.edu left intact
* Issue another request to this URL: 'https://urs.earthdata.nasa.gov/oauth/authorize?app_type=401&client_id=iwntGSgHy9yoog7Mjag0dQ&response_type=code&redirect_uri=https%3A%2F%2Fgrfn.asf.alaska.edu%2Fdoor%2Foauth&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA'
* Found bundle for host urs.earthdata.nasa.gov: 0x23f3110 [can pipeline]
* Re-using existing connection! (#1) with host urs.earthdata.nasa.gov
* Connected to urs.earthdata.nasa.gov (198.118.243.33) port 443 (#1)
* Server auth using Basic with user 'asjohnston'
> GET /oauth/authorize?app_type=401&client_id=iwntGSgHy9yoog7Mjag0dQ&response_type=code&redirect_uri=https%3A%2F%2Fgrfn.asf.alaska.edu%2Fdoor%2Foauth&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA HTTP/1.1
Host: urs.earthdata.nasa.gov
Authorization: Basic ********************************************
Accept: */*

< HTTP/1.1 302 Found
< Server: nginx/1.10.2
< Date: Mon, 24 Sep 2018 22:14:49 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Access-Control-Allow-Origin: null
< Access-Control-Allow-Credentials: true
< Access-Control-Allow-Methods: GET, POST
< Access-Control-Expose-Headers: true
< Location: https://grfn.asf.alaska.edu/door/oauth?code=7afe6ad7bacd07f41b88846c7da343f0bc2ae4fc6919798e64d8432f9fdb74f9&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA
< Cache-Control: no-cache
< Set-Cookie: urs_user_already_logged=yes; domain=earthdata.nasa.gov; path=/; expires=Tue, 25 Sep 2018 22:14:49 GMT
< Set-Cookie: _urs-gui_session=VVhoYlZHODVsVUZtbllCKzA0RFpyYjQweExRaU5va0ZGbHBhRTNpajhqWVV2UEhBOGxmWC8zTDBVaHhWUmlnSkd0T2cxNll4RXNpekxKSzBrYyszYmNpVU43dDBDcG5VbysvU3RBMmlEdWIrOWhzQmNnOXpacmFTaHVHZUlJc0pMcWdtRDhNRlBneHdXTjFJby95ZzlYdnZmdURJbG93MDJHM1EwL3UyNkFjPS0tU1VraEpoazkwQWdGSXVYbHh3d1EvQT09--6278ff15b1ea23a876b1eeff4404329b381aef22; path=/; expires=Tue, 25 Sep 2018 22:14:49 GMT; HttpOnly
< X-Request-Id: 8b35f84f-dc8e-458e-b1b1-059b25fc6783
< X-Runtime: 0.254830
< Strict-Transport-Security: max-age=31536000
<
* Ignoring the response-body
* Connection #1 to host urs.earthdata.nasa.gov left intact
* Issue another request to this URL: 'https://grfn.asf.alaska.edu/door/oauth?code=7afe6ad7bacd07f41b88846c7da343f0bc2ae4fc6919798e64d8432f9fdb74f9&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA'
* Couldn't find host grfn.asf.alaska.edu in the .netrc file; using defaults
* Found bundle for host grfn.asf.alaska.edu: 0x22b6bd0 [can pipeline]
* Re-using existing connection! (#0) with host grfn.asf.alaska.edu
* Connected to grfn.asf.alaska.edu (34.203.94.240) port 443 (#0)
> GET /door/oauth?code=7afe6ad7bacd07f41b88846c7da343f0bc2ae4fc6919798e64d8432f9fdb74f9&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA HTTP/1.1
Host: grfn.asf.alaska.edu
Accept: */*

< HTTP/1.1 302 Found
< Date: Mon, 24 Sep 2018 22:14:49 GMT
< Content-Type: text/html; charset=iso-8859-1
< Content-Length: 312
< Connection: keep-alive
< Server: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12
< Set-Cookie: GRFNDoor=1c8cb502-de20-48fb-99ec-dac6647235a9; Path=/
< Location: http://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip
<
* Ignoring the response-body
* Connection #0 to host grfn.asf.alaska.edu left intact
* Issue another request to this URL: 'http://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip'
* Couldn't find host grfn.asf.alaska.edu in the .netrc file; using defaults
* Found bundle for host grfn.asf.alaska.edu: 0x24f37b0 [can pipeline]
* Re-using existing connection! (#2) with host grfn.asf.alaska.edu
* Connected to grfn.asf.alaska.edu (35.169.212.126) port 80 (#2)
> GET /door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip HTTP/1.1
Host: grfn.asf.alaska.edu
Accept: */*

< HTTP/1.1 301 Moved Permanently
< Date: Mon, 24 Sep 2018 22:14:49 GMT
< Content-Type: text/html; charset=iso-8859-1
< Content-Length: 337
< Connection: keep-alive
< Server: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12
< Location: https://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip
<
* Ignoring the response-body
* Connection #2 to host grfn.asf.alaska.edu left intact
* Issue another request to this URL: 'https://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip'
* Couldn't find host grfn.asf.alaska.edu in the .netrc file; using defaults
* Found bundle for host grfn.asf.alaska.edu: 0x22b6bd0 [can pipeline]
* Re-using existing connection! (#0) with host grfn.asf.alaska.edu
* Connected to grfn.asf.alaska.edu (34.203.94.240) port 443 (#0)
> GET /door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip HTTP/1.1
Host: grfn.asf.alaska.edu
Accept: */*

< HTTP/1.1 302 Found
< Date: Mon, 24 Sep 2018 22:14:49 GMT
< Content-Type: text/html; charset=iso-8859-1
< Content-Length: 551
< Connection: keep-alive
< Server: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12
< Location: https://urs.earthdata.nasa.gov/oauth/authorize?app_type=401&client_id=iwntGSgHy9yoog7Mjag0dQ&response_type=code&redirect_uri=https%3A%2F%2Fgrfn.asf.alaska.edu%2Fdoor%2Foauth&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA
<
* Ignoring the response-body
* Connection #0 to host grfn.asf.alaska.edu left intact
* Issue another request to this URL: 'https://urs.earthdata.nasa.gov/oauth/authorize?app_type=401&client_id=iwntGSgHy9yoog7Mjag0dQ&response_type=code&redirect_uri=https%3A%2F%2Fgrfn.asf.alaska.edu%2Fdoor%2Foauth&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA'
* Found bundle for host urs.earthdata.nasa.gov: 0x23f3110 [can pipeline]
* Re-using existing connection! (#1) with host urs.earthdata.nasa.gov
* Connected to urs.earthdata.nasa.gov (198.118.243.33) port 443 (#1)
* Server auth using Basic with user 'asjohnston'
> GET /oauth/authorize?app_type=401&client_id=iwntGSgHy9yoog7Mjag0dQ&response_type=code&redirect_uri=https%3A%2F%2Fgrfn.asf.alaska.edu%2Fdoor%2Foauth&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA HTTP/1.1
Host: urs.earthdata.nasa.gov
Authorization: Basic ********************************************
Accept: */*

< HTTP/1.1 302 Found
< Server: nginx/1.10.2
< Date: Mon, 24 Sep 2018 22:14:50 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Access-Control-Allow-Origin: null
< Access-Control-Allow-Credentials: true
< Access-Control-Allow-Methods: GET, POST
< Access-Control-Expose-Headers: true
< Location: https://grfn.asf.alaska.edu/door/oauth?code=4a6fcae8bfa8a2f82c3650964d368c009880cec58a5825bff5325e26b8489d13&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA
< Cache-Control: no-cache
< Set-Cookie: urs_user_already_logged=yes; domain=earthdata.nasa.gov; path=/; expires=Tue, 25 Sep 2018 22:14:50 GMT
< Set-Cookie: _urs-gui_session=cStzSHM5QmpvLzg2RS8rSnM4ZkpaMmVQdVY2NjQzV1VnU1o4djNIczNTQWVhS3ZiRks2K1F6ZytYaG43a1RMcHMzVEFaQjN1TE5iRXA1dGFLeDNhWC82ZUM1TnNNNXpWNVl3dWdjTUQ3b3VtSmlIZE5LTWhXMTJuWVBDaXFNT005MWtFVzQxR3U4M0VJWGNEeWFyTk5pbVZ5YllpQlVDNFNuTFI5YVRrajBZPS0tY1BuRU9SNllZN2E0TUV4SXlROTlOUT09--f440650bd6885b12ebce5ffee4b60b5b1003e307; path=/; expires=Tue, 25 Sep 2018 22:14:50 GMT; HttpOnly
< X-Request-Id: f5be8a9f-9863-48e4-8ff2-974c62997b1e
< X-Runtime: 0.167661
< Strict-Transport-Security: max-age=31536000
<
* Ignoring the response-body
* Connection #1 to host urs.earthdata.nasa.gov left intact
* Issue another request to this URL: 'https://grfn.asf.alaska.edu/door/oauth?code=4a6fcae8bfa8a2f82c3650964d368c009880cec58a5825bff5325e26b8489d13&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA'
* Couldn't find host grfn.asf.alaska.edu in the .netrc file; using defaults
* Found bundle for host grfn.asf.alaska.edu: 0x22b6bd0 [can pipeline]
* Re-using existing connection! (#0) with host grfn.asf.alaska.edu
* Connected to grfn.asf.alaska.edu (34.203.94.240) port 443 (#0)
> GET /door/oauth?code=4a6fcae8bfa8a2f82c3650964d368c009880cec58a5825bff5325e26b8489d13&state=aHR0cDovL2dyZm4uYXNmLmFsYXNrYS5lZHUvZG9vci9kb3dubG9hZC9TMS1JRkdfUk1fTTFTMl9UTjE0M18yMDE4MDkyNFQxMjI3MDEtMjAxODA5MThUMTIyNTQxX3MxLXJlc29yYi02ODZmLXYxLjIuMS1zdGFuZGFyZC56aXA HTTP/1.1
Host: grfn.asf.alaska.edu
Accept: */*

< HTTP/1.1 302 Found
< Date: Mon, 24 Sep 2018 22:14:50 GMT
< Content-Type: text/html; charset=iso-8859-1
< Content-Length: 312
< Connection: keep-alive
< Server: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12
< Set-Cookie: GRFNDoor=1807636b-3f69-4333-a108-ae4e76da1f2a; Path=/
< Location: http://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip
<
* Ignoring the response-body
* Connection #0 to host grfn.asf.alaska.edu left intact
* Maximum (10) redirects followed
ERROR 4: `/vsizip/vsicurl/https://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip' does not exist in the file system,
and is not recognised as a supported dataset name.

gdalinfo failed - unable to open '/vsizip/vsicurl/https://grfn.asf.alaska.edu/door/download/S1-IFG_RM_M1S2_TN143_20180924T122701-20180918T122541_s1-resorb-686f-v1.2.1-standard.zip'.


More information about the gdal-dev mailing list