Problem with status update of asyncronous geoprocessing task at 3.1

750
3
09-13-2012 03:10 AM
StephenThornton
New Contributor
Hi All,

I'm having a problem updating from 2.8 API to 3.1.

I have a geoprocessing task working great at 2.8 and I can see the status of the task while it is running.

However when I use the 3.1 API the callbacks to check the status fail after the first status callback.

The error I see in Firebug is 'Job abc123 is does not exist or is inaccessible' (See attached for screenshot). However the job does exist and actually runs
to completion as my expected output file is generated correctly.

Has anybody else come across this issue? Any workarounds?

Any help would be greatly appreciated.

Thanks,

Steve
0 Kudos
3 Replies
StephenThornton
New Contributor
Ok, so both the website and the GP Task are hosted on the same machine.

I access the website and GP task using the same domain i.e.

Website
http://mydomain/mysite/index.html

GP Task
http://mydomain/ArcGIS/rest/services/ExportPDF/GPServer/ExportToPDF

This setup worked fine at 2.8 and below. To make it work a 3.x I accessed the GP Task using the machine name i.e:

http://servername/ArcGIS/rest/services/ExportPDF/GPServer/ExportToPDF

This fixed the issue however I'm not sure why. Something must have changed in API 3.x. Can anybody shed some light on this?

Thanks,

Steve
0 Kudos
LauraWilson
New Contributor
We are experiencing the same issue.  We are using the public facing IP, but then it doesn't work for those inside the firewall.  Did you get any feedback from ESRI?
0 Kudos
JohnGravois
Frequent Contributor
see my notes in this thread for more info.
0 Kudos