[gdal-dev] HTTP response code: 303 from lpdaac.earthdata.nasa.gov

Joaquim Manuel Freire Luís jluis at ualg.pt
Tue Oct 12 11:58:20 PDT 2021


Rebuilt GDAL and now works again (but not the 3.0.4 version in the University Campus).

Probably a system reboot would have been much simpler. 😊

Joaquim

From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> On Behalf Of Joaquim Manuel Freire Luís
Sent: Tuesday, October 12, 2021 11:31 AM
To: Even Rouault <even.rouault at spatialys.com>; gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] HTTP response code: 303 from lpdaac.earthdata.nasa.gov

Hmm, that was in linux with a “GDAL 3.0.4, released 2020/01/28” but I get the same error on Windows with my build (< one month) of master.
The strange thing is that I was working in a script that downloads many of those files and between two iterations of bug fixes I started receiving that error.

From: Even Rouault <even.rouault at spatialys.com<mailto:even.rouault at spatialys.com>>
Sent: Tuesday, October 12, 2021 11:05 AM
To: Joaquim Manuel Freire Luís <jluis at ualg.pt<mailto:jluis at ualg.pt>>; gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
Subject: Re: [gdal-dev] HTTP response code: 303 from lpdaac.earthdata.nasa.gov


Joaquim,

FWIW, works for me with HEAD of master or 3.3 branch.

Even
Le 12/10/2021 à 12:00, Joaquim Manuel Freire Luís a écrit :
Hi,

This seems to be related to some service change as it was working till yesterday and then started giving a 303 error.
Note that downloading the file with a browse, works.

gdalinfo /vsicurl/https://lpdaac.earthdata.nasa.gov/lp-prod-protected/HLSS30.015/HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif --config GDAL_DISABLE_READDIR_ON_OPEN EMPTY_DIR --config CPL_VSIL_CURL_USE_HEAD FALSE --config GDAL_HTTP_COOKIEFILE c:/TEMP/cookies.txt --config GDAL_HTTP_COOKIEJAR c:/TEMP/cookies.txt
ERROR 11: HTTP response code: 303
gdalinfo failed - unable to open '/vsicurl/https://lpdaac.earthdata.nasa.gov/lp-prod-protected/HLSS30.015/HLS.S30.T10TEK.2020273T190109.v1.5.B8A.tif'.

Joaquim


_______________________________________________

gdal-dev mailing list

gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>

https://lists.osgeo.org/mailman/listinfo/gdal-dev

--

http://www.spatialys.com

My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211012/aeac5e63/attachment-0001.html>


More information about the gdal-dev mailing list