QueryTask times out
Hi,
I'm having a strange problem where a query task times out, even though ArcGIS Server responds quickly. I get a message in the viewer saying (roughly translated) "Workflow error: Error executing this activity: Timeout exceeded"
The last line in the system logfile is:
<Event Timestamp="2016-07-27T10:21:14.8690662+02:00" Level="DEBUG"><Message>ActivityStateRecord { InstanceId = be378286-c28e-43a3-9a11-a780eea90f76, RecordNumber = 573, EventTime = 27-7-2016 08:21:14, Activity { Name=QueryTask Percelen, ActivityId = 1.370, ActivityInstanceId = 172, TypeName=Geocortex.Workflow.Activities.QueryTask }, State = Executing }</Message></Event>
Whereas this would normally be followed by another entry having State = Closed.I used Fiddler to capture the traffic on the server, and there I can see that the actual request to ArcGIS Server takes less than a second, and returns the expected results.
Any ideas?
0
-
Are you getting that error on multiple query task activities, or is it only happening with a single map service? 0 -
One specific query task. I already changed all possible properties (where clause, out fields, return geometry or not, ...) all to no avail. Also, when I replaced it with a Web Request activity, that activity timed out in the same way as the query task, i.e. 'Executing' in the log, but not 'Closed'.
Another strange thing is that the next time I run the same workflow, the same query runs without a hitch. So maybe it's a memory thing? I'd expect something in the log though.
Anyway, I now have the impression that it is just this instance of gcx. A newer version on the same machine seems to be working fine, and so does the same version on a different machine.0
Please sign in to leave a comment.
Comments
2 comments