Accessing secure ArcGIS services (token-based) REALLY slow
I am using Geocortex Essentials 3.14.0 and the HTML5 Viewer 1.3
I have created a simple site with a single tiled map service, using ESRI ArcGIS Server 10.2
When I leave the map service as open to the public (no security enabled) the viewer loads in about 6 seconds, consistently, when launched from the Geocortex manager.
However, when I enable token based security on the service, and configure the site to use it (enter username and password), the viewer takes about 45 seconds to load, consistently, when launched from the Geocortex manager.
Same servers, same service, etc... The only difference is the security. 45 seconds is not acceptable.
I can not find anything in the documentation or support center that refers to this. Any help is greatly appreciated.
-
Hi John,
I don't see any reason that would cause such a drastic delay. Could we get a Fiddler trace of this?
Thanks!
--Jason
0 -
Hi John,
A 45 second delay sounds like a timeout.
When you configure Essentials to connect to a token-secured service, it will first try to connect to https://SERVERURL/arcgis/tokens to obtain a token. Note the https - if your server doesn't respond to HTTPS (SSL) requests, then we'll wait 45 seconds for the token request to timeout. After that we'll retry on http://SERVERURL/arcgis/tokens.
To avoid this behavior you must set the tokenUrl in your connection properties. If your map's REST endpoint is http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/TaxParcel/AssessorsBasemap/MapServer, then the token URL would be http://sampleserver1.arcgisonline.com/ArcGIS/tokens/getToken.
Regards,
-Malcolm
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare