[gdal-dev] Retry and delay when downloading WMS
Rahkonen Jukka
jukka.rahkonen at maanmittauslaitos.fi
Fri Mar 3 00:16:42 PST 2023
Hi,
For a controlled test you should have a way to make the server side to fail when you want so. I am not sure if simply unplugging you network connector would make GDAL to repeat the requests. Installing your local WMS server and stopping it while GDAL is working could be another possibility. Developers probably have better hints for testing.
-Jukka Rahkonen-
Lähettäjä: Elena Ruiz <eruiz at aplitop.com>
Lähetetty: perjantai 3. maaliskuuta 2023 10.07
Vastaanottaja: Rahkonen Jukka <jukka.rahkonen at maanmittauslaitos.fi>
Aihe: RE: Retry and delay when downloading WMS
Hello, thanks for your answer, I have tried the command and it shows me the traffic with the server but it does not show the number of retries (it always shows 2 retries), that is, if I increase the variable GDAL_HTTP_MAX_RETRY it is not reflected in the traffic, is there any way to confirm which variables are being used GDAL_HTTP_MAX_RETRY and GDAL_HTTP_RETRY_DELAY? Thanks an regards
________________________________
Elena Ruiz
[Lähettäjä poisti kuvan.]
Sofware Development & Technical Support
Tel.: +34 952 43 97 71
eruiz at aplitop.com
www.aplitop.com
De: Rahkonen Jukka <jukka.rahkonen at maanmittauslaitos.fi>
Enviado el: jueves, 2 de marzo de 2023 15:12
Para: Elena Ruiz <eruiz at aplitop.com>; gdal-dev at lists.osgeo.org
Asunto: Re: Retry and delay when downloading WMS
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<mailto: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<mailto: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
________________________________
[Lähettäjä poisti kuvan.]
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<https://eur06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.aplitop.com%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C18ff1755a52e489e18b008db1bbe3bfd%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638134276105159626%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kmUbQWN9rOv6wrd8yD%2BUJ0cBoDw4bdQYDSt0chdxD2M%3D&reserved=0>
[cid:image001.png at 01D94DB9.3EC9A070]<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2FAplitopSL%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C18ff1755a52e489e18b008db1bbe3bfd%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638134276105159626%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Sal2vvas2N%2BCiHlaCfRbUCzKxEjRBenWiLGZVcDUFmY%3D&reserved=0> [cid:image002.png at 01D94DB9.3EC9A070] <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Faplitop&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C18ff1755a52e489e18b008db1bbe3bfd%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638134276105159626%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2C%2BYoPbnMS6P8lcnAUkp09y6revsTbEf2q8doALL0c0%3D&reserved=0> [cid:image003.png at 01D94DB9.3EC9A070] <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Faplitop&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C18ff1755a52e489e18b008db1bbe3bfd%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638134276105159626%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=RwqG3Aix%2BvFlcFFzf36DT200bAJ3fJQQzisBWZ21E1o%3D&reserved=0> [cid:image004.png at 01D94DB9.3EC9A070] <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fuser%2Faplitop&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C18ff1755a52e489e18b008db1bbe3bfd%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638134276105159626%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UocVK3S47a1ra41xny2ciCuE2vmCSFR7hjezdn7pNA4%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/20230303/d2fd5e38/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD0000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD0000.jpg
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230303/d2fd5e38/attachment-0001.jpg>
-------------- 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/20230303/d2fd5e38/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/20230303/d2fd5e38/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/20230303/d2fd5e38/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/20230303/d2fd5e38/attachment-0007.png>
More information about the gdal-dev
mailing list