In our plugin we have encountered a situation where when we have a large configuration of our objects it takes a long time to process resulting in hitting a time out situation. I couldn't find anything in the forum that addresses this (although the search tools are rather poor and it seems they can only be searched for a word that occurs in the subject of the forum entries).
In the virgo log file I see:
The data service execution timed out java.util.concurrent.TimeoutException: Tasks didn't complete within the allotted timeout: 120000 MILLISECONDS. The tasks that timed out are:
Further down in the virgo log I also see this related exception/error:
com.vmware.vise.data.query.DataServiceException: The data service timed out because a back-end task took more than 120 seconds. See the vsphere-client-virgo.log for more details.
In the case were we encounter this situation, we are determining the related information between datastores and our objects.
We are doing a $.getJSON() call in our client side javascript to get the data with a URL parameter along the lines of + +"/vsphere-client/vcenterWebClient-ui/rest/data/properties/urn:vmomi:Datastore:datastore-14:bcfd5614-c4f9-4e5c-9d15-ac754e33c2f8?properties=System.fullInfo"
What can I do about this situation where we have to do a lot of processing/data gathering that exceeds this 120ms timeout?
Clik here to view.
