Closed Biboba closed 1 year ago
Hi @Biboba,
This is interesting, I have not come across this issue in any upgrade testing with v4.1.0. Does the VM meet the minimum hardware requirements of ArcGIS Enterprise 11.1, and/or does it have adequate resources when the request is being made?
The Data Store configure POST request at worst should only take a couple of seconds so it is odd that its taking up to 31 seconds.
Thanks, Cameron K.
Hi @cameronkroeker,
Thanks for your reply. It does meet the requirements but it's true that I did not face it with all my deployments so might be an issue on my side. I am going to close the issue. At least if anybody face this error, they might know where it comes from.
Thanks.
Community Note
Module Version
Affected Resource(s)
Configuration Files
Expected Behavior
The Datastore Upgrade should work.
Actual Behavior
It fails with the following error:
And the log:
Steps to Reproduce
Reproductible when POSTING configuration to
https://localhost:2443/arcgis/datastoreadmin/configure
takes longer than 30 sec. On my side I tried already 2 upgrades, on different VM of relatively small ArcGIS Enterprise deployment (datastores not that big (few Go)), and this issue occurs systematically. I have been using ArcGIS Powershell DSC for a while now for upgrades and I never faced this issue. I don't know whether it's related to ArcGIS Enterprise 11.1 (I am upgrading from 11.0) or disk performance on my infrastructure. The funny thing is that it takes systematically 31 sec...Important Factoids
In the meantime, as a workaround I edited: https://github.com/Esri/arcgis-powershell-dsc/blob/8621f7a7256d6f8b9431caf4674e01c8d3bce249/Modules/ArcGIS/DSCResources/ArcGIS_DataStoreUpgrade/ArcGIS_DataStoreUpgrade.psm1#L277 to add the
TimeoutSec
parameter to 60 and it fixed the issue:Invoke-ArcGISWebRequest -Url $DataStoreConfigureUrl -HttpFormParameters $WebParams -Referer $Referer -HttpMethod 'POST' -TimeoutSec 60 -Verbose
Thought it would be interesting to open an issue if others faced the same issue. Maybe it could be slightly increase at the next released ?
References
Thanks for listening and for releasing 4.1.0 only few days after ArcGIS Enterprise 11.1 release !