| Bug ID Number |
BUG-000125565 |
| Submitted | September 26, 2019 |
| Last Modified | June 5, 2024 |
| Applies to | ArcGIS GIS Server |
| Version found | 10.6.1 |
| Operating System | Windows OS |
| Operating System Version | 10.0 64 Bit |
| Status | Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
|
Additional Information
Please add
esriConfig.defaults.io.corsEnabledServers.push({
host: "serverUrl",
withCredentials: true
});
to the application. This should get past the CORS errors. As for why it happens on only circle/ellipse and not the other geometry types, it could be with how the request is being processed. If the request exceeds 2000 characters, it automatically POSTS it. Adding this bit should get around that issue.
Workaround
This issue does not happen with ArcGIS API for JavaScript 4.x or with the following ArcGIS Enterprise 10.71 setups:
- Deploy the sample app on the same server where the GIS service is published. This is an IWA enabled standalone server.
- Deploy the sample app on the same server where Portal for ArcGIS or GIS server are installed. This is an IWA enabled Portal for ArcGIS environment.
- Deploy the sample app on the different server where Portal for ArcGIS or GIS server are installed. This is an IWA enabled Portal for ArcGIS environment.
- IWA disabled.
Steps to Reproduce