There is a CORS error in the console in Chrome and Edge (included below)
In IE 11 there is no CORS error, but the job-fail event is not fired, nor is the job-status event ever fired.
Is there a way to capture and handle this failure condition?
CORS Error in Chrome and Edge:
Failed to load https://analysis3.arcgis.com/arcgis/rest/services/tasks/GPServer/exts/Estimate/FindExistingLocations:
Redirect from 'https://analysis3.arcgis.com/arcgis/rest/services/tasks/GPServer/exts/Estimate/FindExistingLocations'
has been blocked by CORS policy:
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost' is therefore not allowed access.