We use the ArcGIS Online print service, which is available at the following URL: https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%...
Unfortunately, the Esri print service in the afternoon (CET) has very poor performance and is prone to errors.
In particular, these errors occur in the evening between 4:00 p.m. and 6:00 p.m. (CET) and Esri does not return an image. (see charts below)
We have built in a retry mechanism that tries up to 3 times to load the image. Sometimes the image service returns an image on the 1th, the 2nd or 3rd attempt with the identical query.
This retry mechanism is not optimal because the requests for our customers take a long time and we unnecessarily load ArcGIS Online.
Are you aware of this issue? Do you know what is causing this? Does Esri have a recommendation on how to work around such errors?
I do have the troubles - did you find a solution?
To solve the issue with the errors we use Polly (https://www.pluralsight.com/blog/software-development/intro-to-polly) as a retry framework.
Duration of requests could not be solved until now. Unfortunately, there was no willingness from esri to investigate the problem.
The duration of request can be improved by using Export Map instead of the PrintTools API (https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export)
=>https://developers.arcgis.com/rest/services-reference/enterprise/export-map.htm
Then you can load a base map and a layer map image and put them together.
.net API with c#: