laptop and a wrench

Bug

When a ArcGIS Server service secured via web-tier authentication is added to a web map widget in a Portal for ArcGIS dashboard, a console error stating "Access to XMLHttpRequest at 'https://server.domain.com/webadaptor/rest/info?f=json' from origin 'https://server.domain.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource." is returned.

Zuletzt veröffentlicht: September 22, 2021 ArcGIS Dashboards
Bug-ID-Nummer BUG-000142620
EingereichtSeptember 1, 2021
Zuletzt geändertOctober 3, 2024
Gilt fürArcGIS Dashboards
Gefunden in Version10.9
BetriebssystemWindows OS
Betriebssystemversion10.0
StatusNon-Reproducible

Zusätzliche Informationen

Requests sent through a web server, reverse proxy, or load balancer that does not have any restriction of hosts allowed to make CORS requests appear to be allowed from hosts denied by the AllowedOrigins property. Configure the web server, reverse proxy, or load balancer to follow the same restrictions as the ArcGIS Server site: https://enterprise.arcgis.com/en/server/latest/administer/windows/restricting-cross-domain-requests-to-arcgis-server.htm After installing the CORS modules for IIS 10 and configuring the system.webServer, the CORS header error is no longer reproduced: https://docs.microsoft.com/en-us/iis/extensions/cors-module/cors-module-configuration-reference#cors-configuration https://www.iis.net/downloads/microsoft/iis-cors-module

Schritte zur Reproduzierung

Bug-ID: BUG-000142620

Software:

  • ArcGIS Dashboards

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln