[gdal-dev] Retry and delay when downloading WMS
Rahkonen Jukka
jukka.rahkonen at maanmittauslaitos.fi
Thu Mar 2 06:12:13 PST 2023
Hi,
Run your command with " --config CPL_CURL_VERBOSE YES" and you should see all the http messages and what the server answers.
-Jukka Rahkonen-
Lähettäjä: gdal-dev <gdal-dev-bounces at lists.osgeo.org> Puolesta Elena Ruiz
Lähetetty: torstai 2. maaliskuuta 2023 14.38
Vastaanottaja: gdal-dev at lists.osgeo.org
Aihe: [gdal-dev] Retry and delay when downloading WMS
Hello, I am using gdal_translate to download images from web services, and for the times that the server returns 504 or 502 errors, which are because the server is not available at that moment or because several requests have been made to it, I am trying to force the server to download the image using the variables GDAL_HTTP_MAX_RETRY and GDAL_HTTP_RETRY_DELAY, to increase the number of retries and wait time between calls to the server, but still there are times when it gives an error (502 or 504) and does not download the image. Am I using these variables correctly, or is there another way to do it? Thank you and regards
________________________________
[https://www.aplitop.com/descargas/firma1.jpg]
Elena Ruiz
Sofware Development & Technical Support
Tel. +34 952 43 97 71
eruiz at aplitop.com<mailto:eruiz at aplitop.com>
Sumatra, 9 - 29190 Málaga (Spain)
www.aplitop.com<http://www.aplitop.com>
[cid:image001.png at 01D94D21.BE5F0CA0]<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2FAplitopSL%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C780cd8ca2c9e4829b0eb08db1b1b026f%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C638133575064918939%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=IwOIohXvIbpNrLP6Zu3wwmMZ%2Fkc4VJhVHnrKMfUjEpM%3D&reserved=0> [cid:image002.png at 01D94D21.BE5F0CA0] <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Faplitop&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C780cd8ca2c9e4829b0eb08db1b1b026f%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C638133575064918939%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=xwaGq4PnAzAaXXmZRfkhlb5FIfErwTj9iR61gV7T%2Fhg%3D&reserved=0> [cid:image003.png at 01D94D21.BE5F0CA0] <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Faplitop&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C780cd8ca2c9e4829b0eb08db1b1b026f%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C638133575065075162%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=cBI7Tw1VfDxkgscc1AAri7w92Tut%2BEJob79R41qod3o%3D&reserved=0> [cid:image004.png at 01D94D21.BE5F0CA0] <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fuser%2Faplitop&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C780cd8ca2c9e4829b0eb08db1b1b026f%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C638133575065075162%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=uqugsm1%2BscYY2plKHNDlsp0Kz%2Fn6YTPJkHMxsCj7qXM%3D&reserved=0>
In accordance with the provisions of the European Regulation of Data Protection 2016/679 (Reglamento Europeo de Protección de Datos 2016/679), we inform you that the data and the information you provide us through this medium will be used by APLITOP, S.L., with C.I.F. B-92543396 and with address at C / Sumatra, 9, Malaga, 29190, in order to answer your questions and inform you about our products. The data provided will be kept as long as it does not request its cessation and will not be transferred to third parties except in cases where there is a legal obligation. You have the right to access your personal data, correct inaccurate data or request its deletion when the data is no longer necessary for the purposes that were collected, as well as any rights recognized in the RGPD 2016/679
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230302/78a3086a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 365 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230302/78a3086a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 619 bytes
Desc: image002.png
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230302/78a3086a/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 468 bytes
Desc: image003.png
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230302/78a3086a/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 817 bytes
Desc: image004.png
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230302/78a3086a/attachment-0007.png>
More information about the gdal-dev
mailing list