Hi Everyone,
I am working on an application created on Arcgis Api for javascript 3.39. I have published some geoprocessing services from ArcGIS Server 10.8.1.
I want to execute the geoprocessing services.While running the execute function for geoprocessing services from application, it shows pending in Google Chrome Development Network tools. And fails as soon as it reaches 1min, and returns Cancelled. However, if I rerun it using "Replay XHR" in Google Chrome Developer tools Network option, it executes for more than 1 min and brings result in response body and can be checked in Devtools.
Once I checked, in ArcGIS Server Manager and updated the client timing to 10 minutes. but again it is giving the same error.
Can anybody bring some light on this to how to handle.
Solved! Go to Solution.
Have you tried increasing the value of esriConfig.defaults.io.timeout? The default value is 60 seconds, so I think if you increased it, that would handle this issue.
https://developers.arcgis.com/javascript/3/jshelp/inside_defaults.html
https://developers.arcgis.com/javascript/3/jsapi/esri.config-amd.html#defaults
Have you tried increasing the value of esriConfig.defaults.io.timeout? The default value is 60 seconds, so I think if you increased it, that would handle this issue.
https://developers.arcgis.com/javascript/3/jshelp/inside_defaults.html
https://developers.arcgis.com/javascript/3/jsapi/esri.config-amd.html#defaults
Thank You Noah-Sager it really helped me.