Skip to content

On GEODES, eodag return a "410 Client Error" when product is stored on Tiers3 #1776

@koleckt

Description

@koleckt

Describe the bug
When eodag is trying to download a Sentinel-1 GRD product stored on Tier3, eodag is returning an error "410 Client Error".
Tier3 status of products seems not well managed by eodag.

Output

S1A_IW_GRDH_1SDV_20210510T110530_20210510T110555_037825_0476E8_0331: 0.00B [00:00, ?B/s]^[[A/work/SCO/TropiSCO/conda/envs/tropisco-s1tiling/lib/python3.12/site-packages/urllib3/connectionpool.py:1097: InsecureRequestWarning: Unverified HTTPS request is being made to host 'geodes-portal.cnes.fr'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
/work/SCO/TropiSCO/conda/envs/tropisco-s1tiling/lib/python3.12/site-packages/urllib3/connectionpool.py:1097: InsecureRequestWarning: Unverified HTTPS request is being made to host 'geodes-portal.cnes.fr'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
ERROR - Error while getting resource :
Traceback (most recent call last):
  File "/work/SCO/TropiSCO/conda/envs/tropisco-s1tiling/lib/python3.12/site-packages/eodag/plugins/download/http.py", line 1005, in _stream_download
    self.stream.raise_for_status()
  File "/work/SCO/TropiSCO/conda/envs/tropisco-s1tiling/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 410 Client Error: Gone for url: https://geodes-portal.cnes.fr/api/download/URN:FEATURE:DATA:gdh:2399a9ba-918d-3593-9927-03505b2011de:V1/files/f5a4b82007b9e4b098590380c7a7fec5

Environment:

  • Python version: 3.12
  • EODAG version: 3.6

Additional context
EODAG calling by API from S1Tiling software

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions